Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you don't go the UTF8 inputenc route, and yet find yourself writing a lot of these names, I'd suggest defining macros for them. At the simplest, you can say <pre>\newcommand\Francois{Fran\c cois}</pre> but then you need to be sure to use it as such: <code>\Francois{}</code> so that any spaces afterwards don't get gobbled.</p> <p>On the other hand, the following technique works pretty well too (though I can't take credit for inventing it - I saw it originally in a short talk at BachoTeX 2009 by Philip Taylor):</p> <pre>\makeatletter \let\latex@less&lt; \catcode`&lt;13 \def&lt;{\ifmmode\latex@less\else\expandafter\find@name\fi} \def\find@name#1&gt;{\@nameuse{name.#1}} \def\DefineName#1#2{\@namedef{name.#1}{#2}} \makeatother</pre> <p>Now you can define special names using, e.g.</p> <pre>\DefineName{Francois}{Fran\c cois} \DefineName{Ecole Federale}{\'Ecole F\'ed\'erale}</pre> <p>and later on you can use them in text with</p> <pre>I ran into &lt;Francois&gt; at the &lt;Ecole Federale&gt; the other day.</pre> <p>You can make your tags (the plain ASCII versions) be whatever you want - they don't have to actually be related to the properly accented names.</p> <p><hr> EDIT: in response to the issue that misspelled names don't produce errors, you can change the definition of <code>\find@name</code> to</p> <pre>\def\find@name#1>{\ifcsname name.#1\endcsname \@nameuse{name.#1}% \else \@latex@warning{Undefined name #1}% \fi}</pre> <p>Note that <code>\@latex@warning{...}</code> can be changed to <code>\@latex@error{...}\@eha</code> and it will complain more forcefully. Or if you want to pretend to be (or actually be) a package you can use <code>\Package(Warning|Error){&lt;package name&gt;}</code> in place of <code>\@latex@(warning|error)</code> and it won't pretend to be a built-in LaTeX error anymore.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload