emacs/code/elpa/auctex-13.2.1/doc/macros.texi

90 lines
1.8 KiB
Plaintext

@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#{\savedTeX}
\gdef\LaTeX#{%
L\kern-.36em\raise.3ex\hbox{\sc{a}}\kern-.15em\TeX}
\gdef\previewlatex#{%
{\textsf preview-latex}}
\gdef\fontlatex#{%
{\textsf font-latex}}
\gdef\AUCTeX#{AUC\TeX}
\gdef\ConTeXt#{%
Con\TeX{}t}
\toks0\expandafter{\indexnofonts
\def\TeX#{TeX}%
\def\LaTeX#{LaTeX}\def\previewlatex#{preview-latex}}
\xdef\indexnofonts{\the\toks0}
\ifx\commondummies\undefined \else
\toks0\expandafter{\commondummies
\def\TeX#{TeX}%
\def\LaTeX#1{LaTeX}\def\previewlatex#1{preview-latex}}
\xdef\commondummies{\the\toks0}
\fi
\ifx\definedummies\undefined \else
\toks0\expandafter{\definedummies
\def\TeX#{TeX}%
\def\LaTeX#{LaTeX}\def\previewlatex#{preview-latex}}
\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