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édentesRévision précédente
generalites:erreurs:accents_et_environnement_tabbing [2020/12/12 17:16] – Guillemets en chevrons dbitouze2_programmation:erreurs:accents_et_environnement_tabbing [2021/04/10 08:36] (Version actuelle) – Suppression de la page désormais inutile. yannick.tanguy
Ligne 1: Ligne 1:
-====== Accents misbehave in ''tabbing'' environnement ====== 
- 
- 
-So you are constructing a ''tabbing'' environment, and you 
-have the need of some diacriticised text --- perhaps something as simple 
-as ''\'{e}'' --- and the accent disappears because it has been 
-interpreted as a ''tabbing'' command, and everything goes 
-wrong. 
- 
-This is really a rather ghastly feature of the ''tabbing'' 
-environment; in order to type accented characters you need to use the 
-''\a'' kludge: so ''\a'{e}'' inside ''tabbing'' for 
-''\'{e}'' outside, and similarly ''\a'' for ''\'' and ''\a='' 
-for ''\='' This whole procedure is of course hideous and 
-error-prone. 
- 
-The simplest alternative is to type in an encoding that has the 
-diacriticised characters in it, and to use an appropriate encoding 
-definition file in the [[ctanpkg>inputenc]] package.  So for example, 
-type: 
- 
- 
-<code latex> 
-  \usepackage[latin1]{inputenc} 
-  ... 
-  \begin{tabbing} 
-  ... 
-  ... \> voilà  \> ... 
-</code> 
- 
-for: <latex>...voilà...</latex> 
- 
-and the internal mechanisms of the [[ctanpkg>inputenc]] package will put 
-the right version of the accent command in there. 
- 
-A witty reversal of the roles is introduced by the package 
-[[ctanpkg>Tabbing|Tabbing]] (note the capital ''T''): it provides a 
-''Tabbing'' environment which duplicates ''tabbing'', but all the 
-single-character commands become complicated objects. 
-So ''tabbing'''s ''\>'' becomes ''\TAB>'', ''\='' becomes ''\TAB='', 
-and so on.  The above trivial example would therefore become: 
- 
-<code latex> 
-\usepackage{Tabbing} 
-... 
-\begin{Tabbing} 
-  ... 
-  ... \TAB> voil\`a \TAB> ... 
-</code> 
- 
- 
------ 
- 
-//Source:// [[faquk>FAQ-tabacc|Accents misbehave in `tabbing`]] 
- 
-{{htmlmetatags>metatag-keywords=(LaTeX,errors,accents) 
-metatag-og:title=(Accents misbehave in `tabbing` environment) 
-metatag-og:site_name=(FAQ LaTeX francophone) 
-}} 
  
2_programmation/erreurs/accents_et_environnement_tabbing.1607793401.txt.gz · Dernière modification : 2020/12/12 17:16 de dbitouze
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0