File: macros.texi

package info (click to toggle)
auctex 11.91-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 5,952 kB
  • sloc: lisp: 45,907; makefile: 890; sh: 112; perl: 90
file content (89 lines) | stat: -rw-r--r-- 1,886 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
@ifclear macros
@set macros
@ifnottex
@macro AUCTeX {}
AUC@TeX{}
@end macro
@macro ConTeXt {}
Con@TeX{}t
@end macro
@macro previewlatex {}
preview-latex
@end macro
@macro fontlatex {}
font-latex
@end macro
@ifset no-acronym
@clear no-acronym
@macro acronym {text}
@sc{\text\}
@end macro
@end ifset
@ifset no-env
@clear no-env
@macro env {text}
@code{\text\}
@end macro
@end ifset
@ifset no-option
@clear no-option
@macro option {text}
@samp{\text\}
@end macro
@end ifset
@ifset no-command
@clear no-command
@macro command {text}
@samp{\text\}
@end macro
@end ifset
@end ifnottex
@ifset no-sansserif
@macro sansserif {text}@c
@iftex
{@textsf \text\}@c
@end iftex
@ifnottex
\text\@c
@end ifnottex
@end macro
@end ifset
@tex
\global\let\savedTeX\TeX
\gdef\TeX#1{\savedTeX#1}
\gdef\LaTeX{%
    L\kern-.36em\raise.3ex\hbox{\sc{a}}\kern-.15em\TeX}
\gdef\previewlatex#1{%
    {\sf preview-latex}#1}
\gdef\fontlatex#1{%
    {\sf font-latex}#1}
\gdef\AUCTeX{AUC\TeX}
\gdef\ConTeXt#1{%
    Con\TeX t#1}
\toks0\expandafter{\indexnofonts
  \def\TeX#1{TeX#1}%
  \def\LaTeX#1{LaTeX#1}\def\previewlatex#1{preview-latex#1}}
\xdef\indexnofonts{\the\toks0}
\ifx\commondummies\undefined \else
  \toks0\expandafter{\commondummies
    \def\TeX#1{TeX#1}%
    \def\LaTeX#1{LaTeX#1}\def\previewlatex#1{preview-latex#1}}
  \xdef\commondummies{\the\toks0}
\fi
\ifx\definedummies\undefined \else
  \toks0\expandafter{\definedummies
    \def\TeX#1{TeX#1}%
    \def\LaTeX#1{LaTeX#1}\def\previewlatex#1{preview-latex#1}}
  \xdef\definedummies{\the\toks0}
\fi
\ifx\acronym\undefined \gdef\acronym#1{{\smallcaps \lowercase{#1}}} \fi
\ifx\env\undefined \global\let\env=\code \fi
\ifx\option\undefined \global\let\option=\samp \fi
\ifx\command\undefined \global\let\command=\samp \fi
%Bug fix for texinfo.tex:
\gdef\cslet#1#2{%
\expandafter\let
\csname#1\expandafter\endcsname
\csname#2\endcsname}
@end tex
@end ifclear