Difference between revisions of "Delimiter"
Jump to navigation
Jump to search
m (add testpage, from layout, and cleanup out) |
|||
Line 1: | Line 1: | ||
− | + | =Line delimiters= | |
*Forced linebreak (in flowtext broken line is NOT jusify-aligned): \crlf | *Forced linebreak (in flowtext broken line is NOT jusify-aligned): \crlf | ||
Line 9: | Line 9: | ||
*Default behavior for | |: {{cmd|setuphyphenmark}} | *Default behavior for | |: {{cmd|setuphyphenmark}} | ||
− | + | =Page delimiters= | |
− | + | {{cmd|page}} | |
+ | |||
+ | =Check for available space on the page= | ||
+ | |||
+ | If you have a certain run of text that you want to keep together, you can test for the number of lines available on the current page with {{cmd|testpage|[''n'']}}, where ''n'' is the number of lines required. If there are not ''n'' lines available, a page break will be inserted at the location of the {{cmd|testpage}} command. |
Revision as of 17:03, 7 June 2020
Line delimiters
- Forced linebreak (in flowtext broken line is NOT jusify-aligned): \crlf
- Forced linebreak (but disapears in the ToC, in flowtext justify-alignment also in the broken line): \\
- Possible linebreak for words (with -): \- or |-|
- Possible linebreak for words (without a sign): | |
- Possible linebreaks for words (with - -- --- ) ( = / ): | |
- Default behavior for | |: \setuphyphenmark
Page delimiters
Check for available space on the page
If you have a certain run of text that you want to keep together, you can test for the number of lines available on the current page with \testpage[n], where n is the number of lines required. If there are not n lines available, a page break will be inserted at the location of the \testpage command.