Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Prochaine révision Les deux révisions suivantes
3_composition:texte:pages:empecher_un_saut_de_page_entre_deux_lignes [2018/05/24 17:11]
joseph.wright
3_composition:texte:pages:empecher_un_saut_de_page_entre_deux_lignes [2018/06/03 14:26]
joseph.wright
Ligne 1: Ligne 1:
 --- ---
-sectionAdjusting the typesetting +titlePreventing page breaks between lines 
-subsectionPage layout +category: formatting 
-permalink: /FAQ-nopagebrk.html +tags: layout 
-date: 2014-06-10+permalink: /FAQ-nopagebrk
 --- ---
- 
-# Preventing page breaks between lines 
  
 One commonly requires that a block of typeset material be kept on the One commonly requires that a block of typeset material be kept on the
Ligne 17: Ligne 15:
 `samepage` doesn't help.  If you're trying to keep running `samepage` doesn't help.  If you're trying to keep running
 text together, you need to end the paragraph inside the environment text together, you need to end the paragraph inside the environment
-(see [preserving paragraph parameters](FAQ-paraparam.md)).+(see [preserving paragraph parameters](FAQ-paraparam)).
 Also, if the things you are trying to keep together insert their own Also, if the things you are trying to keep together insert their own
 pagebreak hints, `samepage` has no power over them (though pagebreak hints, `samepage` has no power over them (though
Ligne 34: Ligne 32:
 Why do neither of these obvious things work? — Because TeX can't Why do neither of these obvious things work? — Because TeX can't
 really distinguish between infinitely awful things. really distinguish between infinitely awful things.
-`Samepage` will make any possible break point ''infinitely +`Samepage` will make any possible break point 
-bad'' and boxes don't even offer the option of breaks, but if the+"infinitely badand boxes don't even offer the option of breaks, but if the
 alternative is the leave an infinitely bad few centimetres of blank alternative is the leave an infinitely bad few centimetres of blank
 paper at the bottom of the page, TeX will take the line of least paper at the bottom of the page, TeX will take the line of least
Ligne 79: Ligne 77:
 sequences of LaTeX-style sections, by incorporating `\filbreak` sequences of LaTeX-style sections, by incorporating `\filbreak`
 into the definition of a command (as in  into the definition of a command (as in 
-[patching commands](FAQ-patch.md)).  A simple and effective+[patching commands](FAQ-patch)).  A simple and effective
 patch would be: patch would be:
 <!-- {% raw %} --> <!-- {% raw %} -->
Ligne 115: Ligne 113:
 Note that both `\pagebreak` and `\nopagebreak` take an optional Note that both `\pagebreak` and `\nopagebreak` take an optional
 number argument to adjust how the command is to be interpreted.  Thus number argument to adjust how the command is to be interpreted.  Thus
-`\pagebreak[0]`, the command ''suggests'' that a page break +`\pagebreak[0]`, the command "suggeststhat a page break 
-might be worth doing, whereas `\pagebreak[4]` ''demands'' a+might be worth doing, whereas `\pagebreak[4]` "demandsa
 page break.  Similarly `\nopagebreak[0]` makes a suggestion, page break.  Similarly `\nopagebreak[0]` makes a suggestion,
 while `\nopagebreak[4]` is a demand.  In both commands, the while `\nopagebreak[4]` is a demand.  In both commands, the
3_composition/texte/pages/empecher_un_saut_de_page_entre_deux_lignes.txt · Dernière modification: 2021/02/13 18:23 de yannick.tanguy
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0