]> code.delx.au - gnu-emacs-elpa/blob - packages/auctex/doc/macros.texi
* xclip.el: Fix last change
[gnu-emacs-elpa] / packages / auctex / doc / macros.texi
1 @ifclear macros
2 @set macros
3 @ifnottex
4 @macro AUCTeX {}
5 AUC@TeX{}
6 @end macro
7 @macro ConTeXt {}
8 Con@TeX{}t
9 @end macro
10 @macro LaTeX {}
11 La@TeX{}
12 @end macro
13 @macro previewlatex {}
14 preview-latex
15 @end macro
16 @macro fontlatex {}
17 font-latex
18 @end macro
19 @ifset no-acronym
20 @clear no-acronym
21 @macro acronym {text}
22 @sc{\text\}
23 @end macro
24 @end ifset
25 @ifset no-env
26 @clear no-env
27 @macro env {text}
28 @code{\text\}
29 @end macro
30 @end ifset
31 @ifset no-option
32 @clear no-option
33 @macro option {text}
34 @samp{\text\}
35 @end macro
36 @end ifset
37 @ifset no-command
38 @clear no-command
39 @macro command {text}
40 @samp{\text\}
41 @end macro
42 @end ifset
43 @end ifnottex
44 @macro sans {text}@c
45 @iftex
46 {@textsf \text\}@c
47 @end iftex
48 @ifnottex
49 \text\@c
50 @end ifnottex
51 @end macro
52 @tex
53 \global\let\savedTeX\TeX
54 \gdef\TeX#1{\savedTeX#1}
55 \gdef\LaTeX{%
56 L\kern-.36em\raise.3ex\hbox{\sc{a}}\kern-.15em\TeX}
57 \gdef\previewlatex#1{%
58 {\sf preview-latex}#1}
59 \gdef\fontlatex#1{%
60 {\sf font-latex}#1}
61 \gdef\AUCTeX{AUC\TeX}
62 \gdef\ConTeXt#1{%
63 Con\TeX t#1}
64 \toks0\expandafter{\indexnofonts
65 \def\TeX#1{TeX#1}%
66 \def\LaTeX#1{LaTeX#1}\def\previewlatex#1{preview-latex#1}}
67 \xdef\indexnofonts{\the\toks0}
68 \toks0\expandafter{\commondummies
69 \def\TeX#1{TeX#1}%
70 \def\LaTeX#1{LaTeX#1}\def\previewlatex#1{preview-latex#1}}
71 \xdef\commondummies{\the\toks0}
72 \ifx\acronym\undefined \gdef\acronym#1{{\smallcaps \lowercase{#1}}} \fi
73 \ifx\env\undefined \global\let\env=\code \fi
74 \ifx\option\undefined \global\let\option=\samp \fi
75 \ifx\command\undefined \global\let\command=\samp \fi
76 %Bug fix for texinfo.tex:
77 \gdef\cslet#1#2{%
78 \expandafter\let
79 \csname#1\expandafter\endcsname
80 \csname#2\endcsname}
81 @end tex
82 @end ifclear