issue217:latex
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 | ||
issue217:latex [2025/06/01 16:00] – d52fr | issue217:latex [2025/06/03 14:06] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | Welcome to another in this series of explorations of the Tex / Latex packages | + | **Welcome to another in this series of explorations of the Tex / Latex s available at CTAN.ORG. There are eight topics in the H section, two are languages, Hungarian and Hebrew. The others are headings, humanities, hyper, and three are about hyphenation. |
Normally headings are predefined by the document class being used. Often the default heading | Normally headings are predefined by the document class being used. Often the default heading | ||
- | I tested many of the heading packages available at CTAN.. The following worked well in my TexLive 2024 installation and look like fun to work with. | + | I tested many of the heading packages available at CTAN.. The following worked well in my TexLive 2024 installation and look like fun to work with.** |
- | The quotchap package (code shown right) redefines the chapter and chapter* commands to produce fancy chapter headings (see image). It also allows for adding quotations at the beginning of each chapter if desired. The documentation is quite short, only six pages, most of which describes the coding of the package. There is one example of implementation at the user level which is easy to follow. There is also a sample four-page document available in the package on ctan.org. This package was last updated in 2020. (shown right) | + | Bienvenue dans cette nouvelle série d' |
+ | |||
+ | Normalement, | ||
+ | |||
+ | J'ai testé de nombreux paquets de titres disponibles sur CTAN. Les paquets suivants ont bien fonctionné dans mon installation TexLive 2024 et semblent agréables à utiliser. | ||
+ | |||
+ | |||
+ | **The quotchap package (code shown right) redefines the chapter and chapter* commands to produce fancy chapter headings (see image). It also allows for adding quotations at the beginning of each chapter if desired. The documentation is quite short, only six pages, most of which describes the coding of the package. There is one example of implementation at the user level which is easy to follow. There is also a sample four-page document available in the package on ctan.org. This package was last updated in 2020. (shown right) | ||
The fncychap package has eight built-in (and named) chapter heading styles. One command in the preamble is all that is required to use any of these eight styles. Since these are chapter headings, the book document class needs to be used. Other document classes do not have chapter headings. Using the book document class automatically means double-sided printed and each chapter will start on a right-hand page. The eleven page documentation includes examples of seven of the built-in styles. There are also some instructions about how to modify the macro if you desire. | The fncychap package has eight built-in (and named) chapter heading styles. One command in the preamble is all that is required to use any of these eight styles. Since these are chapter headings, the book document class needs to be used. Other document classes do not have chapter headings. Using the book document class automatically means double-sided printed and each chapter will start on a right-hand page. The eleven page documentation includes examples of seven of the built-in styles. There are also some instructions about how to modify the macro if you desire. | ||
- | If you wish to have control over the way sections, subsections, | + | If you wish to have control over the way sections, subsections, |
- | The number formats can be either upper or lower case letters, upper or lower case Roman numerals or arabic numbers. Separators between numbering levels can be used. Almost any keyboard character can be used for numbering except the codings for the numbering (A, a, I, i, 1), except curly braces, the number sign (pound sign) and except the space. If the comma is used in the setsecnum command the numbering of that section will not be displayed with the subordinate sections. You can see examples of both in the images with this article. | + | Le paquet quotchap (code illustré à droite) redéfinit les commandes chapter et chapter* pour créer des titres de chapitre originaux (voir image). Il permet également d' |
+ | |||
+ | Le paquet fncychap propose huit styles de titres de chapitre intégrés (et nommés). Une seule commande dans le préambule suffit pour utiliser l'un de ces huit styles. Comme il s'agit de titres de chapitre, la classe de document book doit être utilisée. Les autres classes de document n'en ont pas. L' | ||
+ | |||
+ | Si vous souhaitez contrôler la numérotation des sections, sous-sections, | ||
+ | |||
+ | |||
+ | **The number formats can be either upper or lower case letters, upper or lower case Roman numerals or arabic numbers. Separators between numbering levels can be used. Almost any keyboard character can be used for numbering except the codings for the numbering (A, a, I, i, 1), except curly braces, the number sign (pound sign) and except the space. If the comma is used in the setsecnum command the numbering of that section will not be displayed with the subordinate sections. You can see examples of both in the images with this article. | ||
There are two other options available. The depth of the Table of Contents is controlled using tocdep = some integer from 1 to 5. The default “breaking” indicator is the comma as described in the previous paragraph. However it can be changed to any key other than the ones listed in the previous paragraph. The bulk of the documentation focuses on the commands in the macro. This is useful if you wish to modify the package. (See image far right) | There are two other options available. The depth of the Table of Contents is controlled using tocdep = some integer from 1 to 5. The default “breaking” indicator is the comma as described in the previous paragraph. However it can be changed to any key other than the ones listed in the previous paragraph. The bulk of the documentation focuses on the commands in the macro. This is useful if you wish to modify the package. (See image far right) | ||
Ligne 19: | Ligne 33: | ||
\usepackage{secnum} | \usepackage{secnum} | ||
\setsecnum{A.1.i} %No comma separator | \setsecnum{A.1.i} %No comma separator | ||
+ | \begin{document} | ||
+ | \chapter{Formats}** | ||
+ | |||
+ | Les formats de nombres peuvent être des lettres majuscules ou minuscules, des chiffres romains majuscules ou minuscules ou des chiffres arabes. Des séparateurs entre les niveaux de numérotation peuvent être utilisés. Presque tous les caractères du clavier peuvent être utilisés pour la numérotation, | ||
+ | |||
+ | Deux autres options sont disponibles. La profondeur de la table des matières est contrôlée par tocdep = un entier compris entre 1 et 5. L' | ||
+ | |||
+ | Sans virgule : | ||
+ | |||
+ | \usepackage{secnum} | ||
+ | \setsecnum{A.1.i} %Pas de virgule | ||
\begin{document} | \begin{document} | ||
\chapter{Formats} | \chapter{Formats} | ||
- | The number formats can be either upper or lower case letters, upper or lower case Roman numerals or arabic numbers. Separators between numbering levels can be used. Almost any keyboard character except the codings for the numbering (A, a, I, i, 1) and except curly braces | + | |
+ | **The number formats can be either upper or lower case letters, upper or lower case Roman numerals or arabic numbers. Separators between numbering levels can be used. Almost any keyboard character | ||
\section{Comma} | \section{Comma} | ||
Ligne 37: | Ligne 63: | ||
The bulk of the documentation focuses on the commands in the macro. This is useful if you wish to modify the package. | The bulk of the documentation focuses on the commands in the macro. This is useful if you wish to modify the package. | ||
- | Next month I will take a break from examining packages at CTAN. Instead I will embark on a practical project using some of the packages I have demonstrated in the last while. I hope you will join me. | + | Next month I will take a break from examining packages at CTAN. Instead I will embark on a practical project using some of the packages I have demonstrated in the last while. I hope you will join me.** |
+ | |||
+ | Les formats numériques peuvent être des lettres majuscules ou minuscules, des chiffres romains majuscules ou minuscules ou des chiffres arabes. Des séparateurs entre les niveaux de numérotation peuvent être utilisés. Presque tous les caractères du clavier sont autorisés, à l' | ||
+ | |||
+ | \section{Comma} | ||
+ | |||
+ | La virgule est utilisée dans la commande setsecnum ; | ||
+ | |||
+ | \section{Options} | ||
+ | |||
+ | Deux autres options sont disponibles. La profondeur de la table des matières est contrôlée par tocdep = un entier compris entre 1 et 5. L' | ||
+ | |||
+ | \subsection{Bulk} | ||
+ | |||
+ | La majeure partie de la documentation se concentre sur les commandes de la macro. Ceci est utile si vous souhaitez modifier le paquet. | ||
+ | |||
+ | Le mois prochain, je ferai une pause dans l' | ||
issue217/latex.1748786400.txt.gz · Dernière modification : 2025/06/01 16:00 de d52fr