issue189: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édente | |||
issue189:latex [2023/02/11 13:46] – auntiee | issue189:latex [2023/02/11 17:45] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
**Last issue, we made a one page poster advertising a lost dog. Of course the subject matter for a poster could be anything you wish. The poster got us started into an exploration of font use in Latex / Tex. Before we start, there are at least two guides you might wish to look at if this topic interests you. The first is more recent: LATEX 2ε Font Selection, compiled by the Latex Project Team (2021 March). The second is LATEX Font Encodings by Frank Mittelbach, Robin Fairbairns, and Werner Lemberg (2016 February). Because they deal with the same topic, there is some duplication of contents of course. ** | **Last issue, we made a one page poster advertising a lost dog. Of course the subject matter for a poster could be anything you wish. The poster got us started into an exploration of font use in Latex / Tex. Before we start, there are at least two guides you might wish to look at if this topic interests you. The first is more recent: LATEX 2ε Font Selection, compiled by the Latex Project Team (2021 March). The second is LATEX Font Encodings by Frank Mittelbach, Robin Fairbairns, and Werner Lemberg (2016 February). Because they deal with the same topic, there is some duplication of contents of course. ** | ||
- | La dernière fois, nous avons fait une affiche | + | La dernière fois, nous avons fait une affiche |
**While pointing you to references, I should also point out The Tex Book by Donald Knuth is also available for download. It is a tex file, a large tex file, so you can open it in any text editor and examine the coding required to make this particular book. You can also compile it into a PDF (with TexStudio or whichever environment you use). If you download it, you are not allowed to distribute it or sell it. Printed copies are available through the usual sources.** | **While pointing you to references, I should also point out The Tex Book by Donald Knuth is also available for download. It is a tex file, a large tex file, so you can open it in any text editor and examine the coding required to make this particular book. You can also compile it into a PDF (with TexStudio or whichever environment you use). If you download it, you are not allowed to distribute it or sell it. Printed copies are available through the usual sources.** | ||
Ligne 9: | Ligne 9: | ||
**As mentioned last time, there is a series of keywords which indicate the ten default sizes for fonts. Depending on the size of the base font selected (10pt, 11pt, 12pt), the keyword sizes increase from about 5pt to almost 25pt. We used the \selectfont command to change the existing font to a new one. (Note: Although not technically correct, I will use font and typeface to mean the same thing in this article.) If you make a change in the code, but do not use \selectfont where you want the change to occur, the change will not be visible.** | **As mentioned last time, there is a series of keywords which indicate the ten default sizes for fonts. Depending on the size of the base font selected (10pt, 11pt, 12pt), the keyword sizes increase from about 5pt to almost 25pt. We used the \selectfont command to change the existing font to a new one. (Note: Although not technically correct, I will use font and typeface to mean the same thing in this article.) If you make a change in the code, but do not use \selectfont where you want the change to occur, the change will not be visible.** | ||
- | Comme mentionné la dernière fois, il y a une série de 10 mots clés indiquant les tailles de police par défaut. Selon la taille de la police sélectionnée (10 pt, 11 pt, 12 pt), les mots clés l'augmente | + | Comme mentionné la dernière fois, il y a une série de 10 mots clés indiquant les tailles de police par défaut. Selon la taille de la police sélectionnée (10 pt, 11 pt, 12 pt), les mots clés l'augmentent |
**There are six commands which can be used to change the appearance of the text: fontencoding {⟨encoding⟩}, | **There are six commands which can be used to change the appearance of the text: fontencoding {⟨encoding⟩}, | ||
Ligne 18: | Ligne 18: | ||
| | ||
- | Il y a beaucoup trop de familles de polices à lister. Si vous avez fait de la programmation HTML-CSS, vous serez familier avec certaines familles de polices. Les traitements de texte utilisent souvent le terme « nom de police » pour remplacer la famille de polices. Ensuite, les traitements de texte utilisent des boutons ou des menus pour définir la série et la forme. Dans Latex / Tex, une série choisie se réfère à l’un des dix poids, et l’un des dix largeurs, de la police (Gras, Condensé, Lumière, etc.) Forme se réfère à la normale, italique, petites majuscules, et cinq autres. La taille de police doit être spécifiée séparément avec la commande fontsize si elle doit être différente de la valeur par défaut. Différentes unités de mesure peuvent être utilisées. Si aucune unité n’est spécifiée, | + | Il y a beaucoup trop de familles de polices à lister. Si vous avez fait de la programmation HTML-CSS, vous serez familier avec certaines familles de polices. Les traitements de texte utilisent souvent le terme « nom de police » pour remplacer la famille de polices. Ensuite, les traitements de texte utilisent des boutons ou des menus pour définir la série et la forme. Dans LaTeX/Tex, une série choisie se réfère à l’un des dix poids, et l’une des dix largeurs, de la police (Gras, Condensé, Lumière, etc.) Forme se réfère à la normale, italique, petites majuscules, et cinq autres. La taille de police doit être spécifiée séparément avec la commande fontsize si elle doit être différente de la valeur par défaut. Différentes unités de mesure peuvent être utilisées. Si aucune unité n’est spécifiée, |
**\paragraph*{} The quick fox jumped over the lazy yellow dog. | **\paragraph*{} The quick fox jumped over the lazy yellow dog. | ||
Ligne 41: | Ligne 41: | ||
- | Comme d’habitude avec Latex, il existe d’autres façons de varier les polices. La méthode suivante est suggérée pour les petites sections de texte bien qu’elle puisse être utilisée pour n’importe quelle quantité de texte. Il y a au moins neuf ajouts à la commande \text. Tous contiennent le texte à modifier entre accolades. La forme générale de la commande est \text\__\_{texte modifié ici}. Lorsqu’il est utilisé, le souslignement | + | Comme d’habitude avec LaTeX, il existe d’autres façons de varier les polices. La méthode suivante est suggérée pour les petites sections de texte bien qu’elle puisse être utilisée pour n’importe quelle quantité de texte. Il y a au moins neuf ajouts à la commande \text. Tous contiennent le texte à modifier entre accolades. La forme générale de la commande est \text\__\_{texte modifié ici}. Lorsqu’il est utilisé, le soulignement |
**On my machine with the default font, UC did nothing and lf generated an error. ** | **On my machine with the default font, UC did nothing and lf generated an error. ** | ||
Ligne 77: | Ligne 77: | ||
**If you are eager to explore using different fonts in Latex, I suggest you start at tug.org/ | **If you are eager to explore using different fonts in Latex, I suggest you start at tug.org/ | ||
- | Si vous désirez explorer l’utilisation de différentes polices dans LaTeX, je vous suggère de commencer par tug.org/ | + | Si vous désirez explorer l’utilisation de différentes polices dans LaTeX, je vous suggère de commencer par tug.org/ |
**And here is what is needed for the preamble in order to change the default typeface in this document to Tex Gyre Adventor. (This is a sans serif typeface derived from the URW Gothic family.)** | **And here is what is needed for the preamble in order to change the default typeface in this document to Tex Gyre Adventor. (This is a sans serif typeface derived from the URW Gothic family.)** | ||
Ligne 93: | Ligne 93: | ||
**Fonts are usually installed in / | **Fonts are usually installed in / | ||
- | Les polices sont généralement installées dans / | + | Les polices sont généralement installées dans / |
issue189/latex.1676119566.txt.gz · Dernière modification : 2023/02/11 13:46 de auntiee