Module:Q-odd-limit intervals: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 227: Line 227:
local out_str
local out_str
if header ~= "none" then
if header ~= "none" then
out_str = "The following "
out_str = "The following table show"
if constcy >= limit then
if constcy >= limit then
apx = "val"
apx = "val"
end
end
out_str = out_str:gsub("()", {[((apx == "direct" or apx == "val") and 11 or 6)] ="e"})
out_str = out_str:gsub("()", {[((apx == "direct" or apx == "val") and {25} or {20})[1]] ="e"})
out_str = out_str .. " how [[" .. limit .. "-odd-limit]] intervals are represented in " .. steps .. "edo. Prime harmonics are in '''bold'''"
out_str = out_str .. " how [[" .. limit .. "-odd-limit]] intervals are represented in " .. steps .. "edo. Prime harmonics are in '''bold'''"
if constcy >= limit then
if constcy >= limit then