#cover page having border

19 messages · Page 1 of 1 (latest)

blissful sand
#

how can i create cover page having border like that. Help me! Thank you.

midnight geyser
#

using rect perhaps

undone ermine
#

try this:

#

?render pagesize=default theme=light

#place(top+left, rect(width: 100%, height: 100%))

#lorem(200)
undone ermine
#

well

#

that looks bad

#

better option:

#

?render pagesize=default theme=light

#show: block.with(stroke: 0.5pt, width: 100%, height: 100%, inset: 10pt)

#lorem(200)
undone ermine
#

that might be more desirable

#

you can also change the stroke there to change the line width

blissful sand
#

so nice. thank you very much all

stone lake
#

Adding the outset on the rect makes it good thanks to @undone ermine
?render pagesize=default theme=light

#place(top+left, rect(width: 100%, height: 100%,outset:1cm))

#lorem(200)
nimble canyon
#

?render pagesize=default theme=light

#place(top+left, rect(width: 100%, height: 100%,outset:1cm))

#lorem(200)
vale sentinel
#

perhaps is there a way to get double stroke as border?

I dont want a fancy border, just as sides look, inner one thick and outer to be thin.

Can you please let me know if there a way. Also for all pages, we can use page background (referred from Gh discussions)

#

?render pagesize=default theme=light

#set page(
    paper: "us-letter",
    margin: 1in,
     background: rect(
         width: 100% - 1in,
         height: 100% - 1in,
         stroke: 2pt + orange,
     ),
)
#lorem(200)