Différences
Ci-dessous, les différences entre deux révisions de la page.
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:entetes:raccourcir_les_rappels_de_titres_en_haut_de_page2 [2018/05/22 13:42] joseph.wright |
3_composition:texte:pages:entetes:raccourcir_les_rappels_de_titres_en_haut_de_page2 [2018/06/03 16:24] joseph.wright |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | # My section title is too wide for the page header | + | --- |
+ | title: My section title is too wide for the page header | ||
+ | category: formatting | ||
+ | tags: structure | ||
+ | permalink: /FAQ-runheadtoobig | ||
+ | --- | ||
By default, LaTeX sectioning commands make the chapter or section | By default, LaTeX sectioning commands make the chapter or section | ||
Ligne 22: | Ligne 27: | ||
One of the problems is the tendency of page headings to be set in | One of the problems is the tendency of page headings to be set in | ||
capitals (which take up more space); so why not set headings as written | capitals (which take up more space); so why not set headings as written | ||
- | for ''ordinary'' reading? It's not possible to do so with unmodified | + | for "ordinary" reading? It's not possible to do so with unmodified |
- | LaTeX, but the [`fancyhdr`](http://ctan.org/pkg/fancyhdr) package provides a command | + | LaTeX, but the [`fancyhdr`](https://ctan.org/pkg/fancyhdr) package provides a command |
`\nouppercase` for use in its header (and footer) lines to suppress | `\nouppercase` for use in its header (and footer) lines to suppress | ||
- | LaTeX's uppercasing tendencies. Classes in the [`KOMA-script`](http://ctan.org/pkg/KOMA-script) | + | LaTeX's uppercasing tendencies. Classes in the [`KOMA-script`](https://ctan.org/pkg/KOMA-script) |
bundle don't uppercase in the first place. | bundle don't uppercase in the first place. | ||
- | In fact, the sectioning commands use 'mark' commands to pass | + | In fact, the sectioning commands use "mark" commands to pass |
information to the page headers. For example, `\chapter` uses | information to the page headers. For example, `\chapter` uses | ||
`\chaptermark`, `\section` uses `\sectionmark`, and so on. With | `\chaptermark`, `\section` uses `\sectionmark`, and so on. With | ||
Ligne 54: | Ligne 59: | ||
`\section` command falls on, and the second deal with subsequent | `\section` command falls on, and the second deal with subsequent | ||
pages; note that here, you need the optional argument to `\section`, | pages; note that here, you need the optional argument to `\section`, | ||
- | even if ''_middling version_'' is in fact the same text as | + | even if "_middling version_" is in fact the same text as |
- | ''_long version''_.) | + | "_long version"_.) |
A similar arrangement is necessary even for chapters if the class | A similar arrangement is necessary even for chapters if the class | ||
Ligne 61: | Ligne 66: | ||
opening page. | opening page. | ||
- | Note that the [`titlesec`](http://ctan.org/pkg/titlesec) package manages the running heads in | + | Note that the [`titlesec`](https://ctan.org/pkg/titlesec) package manages the running heads in |
a completely different fashion; for example, you can use the optional | a completely different fashion; for example, you can use the optional | ||
argument of sectioning commands for page headers, only, by loading the | argument of sectioning commands for page headers, only, by loading the | ||
Ligne 70: | Ligne 75: | ||
The package documentation offers other useful techniques in this area. | The package documentation offers other useful techniques in this area. | ||
- | The [`memoir`](http://ctan.org/pkg/memoir) class avoids all the silliness by providing an | + | The [`memoir`](https://ctan.org/pkg/memoir) class avoids all the silliness by providing an |
extra optional argument for chapter and sectioning commands, for | extra optional argument for chapter and sectioning commands, for | ||
example: | example: | ||
Ligne 76: | Ligne 81: | ||
\section[middling version][terse version]{verbose version} | \section[middling version][terse version]{verbose version} | ||
``` | ``` | ||
- | As a result, it is always possible for users of [`memoir`](http://ctan.org/pkg/memoir) to | + | As a result, it is always possible for users of [`memoir`](https://ctan.org/pkg/memoir) to |
tailor the header text to fit, with very little trouble. | tailor the header text to fit, with very little trouble. | ||