Skip to content

Commit

Permalink
fix(layouts): Fixup halfletter frameset in new class design
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Aug 31, 2024
1 parent f994002 commit a6ac22d
Showing 1 changed file with 19 additions and 25 deletions.
44 changes: 19 additions & 25 deletions layouts/halfletter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,25 @@ return function (class)
class.options.papersize = "halfletter"

if class._name == "cabook" then
class:loadPackage("masters", {
{
id = "right",
firstContentFrame = "content",
frames = {
content = {
left = "left(page) + 22.5mm",
right = "right(page) - 15mm",
top = "top(page) + 20mm",
bottom = "top(footnotes)",
},
runningHead = {
left = "left(content)",
right = "right(content)",
top = "top(content) - 8mm",
bottom = "top(content)",
},
footnotes = {
left = "left(content)",
right = "right(content)",
height = "0",
bottom = "bottom(page) - 15mm",
},
},
class.defaultFrameset = {
content = {
left = "left(page) + 22.5mm",
right = "right(page) - 15mm",
top = "top(page) + 20mm",
bottom = "top(footnotes)",
},
})
runningHead = {
left = "left(content)",
right = "right(content)",
top = "top(content) - 8mm",
bottom = "top(content)",
},
footnotes = {
left = "left(content)",
right = "right(content)",
height = "0",
bottom = "bottom(page) - 15mm",
},
}
end
end

0 comments on commit a6ac22d

Please sign in to comment.