Difference between revisions of "Delimiter"

From Wiki
Jump to navigation Jump to search
m (add testpage, from layout, and cleanup out)
Line 1: Line 1:
==Line delimiters==
+
=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==
+
=Page delimiters=
  
* \page[..]
+
{{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 - -- --- ) ( = / ): | |

Page delimiters

\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 \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.