Skip to content

Commit

Permalink
Merge cefb17a into 84771ae
Browse files Browse the repository at this point in the history
  • Loading branch information
jodros committed Dec 29, 2023
2 parents 84771ae + cefb17a commit b927fcb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/frametricks/init.lua
Expand Up @@ -42,6 +42,7 @@ end
local makecolumns = function (options)
local cFrame = SILE.typesetter.frame
local cols = options.columns
local balanced = SU.boolean(options.balanced, true)
local gutterWidth = options.gutter or "3%pw"
local right = cFrame:right()
local origId = cFrame.id
Expand All @@ -58,8 +59,8 @@ local makecolumns = function (options)
bottom = cFrame:bottom(),
id = origId .. "_col"..i
})
newFrame.balanced = true
cFrame.balanced = true
newFrame.balanced = balanced
cFrame.balanced = balanced
gutter:constrain("right", "left("..newFrame.id..")")
newFrame:constrain("left", "right("..gutter.id..")")
-- In the future we may way to allow for unequal columns
Expand Down

0 comments on commit b927fcb

Please sign in to comment.