Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| composition:texte:paragraphes:pourquoi_linespread_ne_fonctionne_pas [2018/06/02 14:44] – d.p.carlisle | 3_composition:texte:paragraphes:pourquoi_linespread_ne_fonctionne_pas [2022/11/29 16:04] (Version actuelle) – Usage de ⟨...⟩ dbitouze | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | --- | + | ====== Pourquoi la commande |
| - | title: Why doesn' | + | |
| - | category: usage | + | |
| - | permalink: / | + | |
| - | date: 2014-06-10 | + | |
| - | --- | + | |
| - | # Why doesn't `\linespread` work? | + | La commande '' |
| - | The command `\linespread{factor}` is supposed to multiply | + | En fait, la commande équivaut à '' |
| - | the current `\baselineskip` by & | + | |
| - | appearances, | + | |
| - | In fact, the command is equivalent to | + | < |
| - | `\renewcommand{`\baselinestretch`}{factor}`: | + | |
| - | way, it somehow feels less surprising that the effect isn't immediate. | + | |
| - | The `\baselinestretch` factor is only used when a font is selected; | + | |
| - | a mere change of `\baselinestretch` doesn' | + | |
| - | more than does the command | + | |
| - | `\fontsize{size}{baselineskip}`& | + | |
| - | either command with `\selectfont`. | + | |
| - | ```latex | + | |
| \fontsize{10}{12}% | \fontsize{10}{12}% | ||
| \selectfont | \selectfont | ||
| - | ``` | + | </ |
| - | or: | + | |
| - | ```latex | + | < |
| \linespread{1.2}% | \linespread{1.2}% | ||
| \selectfont | \selectfont | ||
| - | ``` | + | </ |
| - | Of course, a package such as [`setspace`](https:// | + | |
| - | manage the baseline, will deal with all this stuff& | + | Bien sûr, une extension telle que [[ctanpkg> |
| - | ''[managing double-spaced documents](FAQ-linespace)'' | + | |
| - | you want to avoid [`setspace`](https://ctan.org/pkg/setspace), beware the behaviour of | + | ----- |
| - | linespread | + | //Source:// [[faquk> |
| - | ''[`\baselineskip` is a paragraph parameter](FAQ-baselinepar)'' | + | |
| + | {{htmlmetatags> | ||
| + | metatag-og: | ||
| + | metatag-og: | ||
| + | }} | ||

