Difference between revisions of "Delimiter"
Jump to navigation
Jump to search
m (add testpage, from layout, and cleanup out) |
m |
||
Line 16: | Line 16: | ||
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. | 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. | ||
+ | |||
+ | [[Category:Basics]] |
Revision as of 14:10, 8 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.