Re: [NTG-context] First line of larger font paragraph on grid

2021-06-28 Thread denis.maier
onntag, 27. Juni 2021 16:57 > An: ntg-context@ntg.nl > Betreff: Re: [NTG-context] First line of larger font paragraph on grid > > Thanks, Garulfo. I don't use \definedfont in my real document so I should be > able to port it to my use case. And now I've learned about foregroundstyle

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-27 Thread denis.maier
the underlying issue? Denis > -Urspr√ľngliche Nachricht- > Von: ntg-context Im Auftrag von Garulfo > Gesendet: Samstag, 26. Juni 2021 12:37 > An: ntg-context@ntg.nl > Betreff: Re: [NTG-context] First line of larger font paragraph on grid > > To have

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
To have the two pages similar There is something linked with the use of \definefont. Don't know if it properly impacts the interlinespace for example. %-- \setuplayout[grid=yes] \showgrid \definefont [BigFont] [Bold at 20pt] [28pt]

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
A proposal === \setuplayout[grid=yes] \showgrid \definefont [BigFont] [Bold at 20pt] [28pt] \unprotect \unexpanded\def\section_command#1#2{% \framed [ width=\textwidth, frame=off, rulethickness=0pt,

[NTG-context] First line of larger font paragraph on grid

2021-06-25 Thread denis.maier
Hi, I have some text in a larger font where the first line should be on the grid. Therefore, I've tried to adapt the solution from the wiki: https://wiki.contextgarden.net/Grid_typesetting#Placing_titles_on_the_grid The interesting thing is that the section command indeed places the first line