Archived
1
0
Fork 0
This repository has been archived on 2024-10-19. You can view files and clone it, but cannot push or open issues or pull requests.
emacs/code/elpa/auctex-13.2.1/doc/macros.texi

90 lines
1.8 KiB
Plaintext
Raw Normal View History

2022-08-25 17:42:37 +00:00
@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#{%
2022-08-25 17:42:37 +00:00
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}
2022-08-25 17:42:37 +00:00
\toks0\expandafter{\indexnofonts
\def\TeX#{TeX}%
\def\LaTeX#{LaTeX}\def\previewlatex#{preview-latex}}
2022-08-25 17:42:37 +00:00
\xdef\indexnofonts{\the\toks0}
\ifx\commondummies\undefined \else
\toks0\expandafter{\commondummies
\def\TeX#{TeX}%
\def\LaTeX#1{LaTeX}\def\previewlatex#1{preview-latex}}
2022-08-25 17:42:37 +00:00
\xdef\commondummies{\the\toks0}
\fi
\ifx\definedummies\undefined \else
\toks0\expandafter{\definedummies
\def\TeX#{TeX}%
\def\LaTeX#{LaTeX}\def\previewlatex#{preview-latex}}
2022-08-25 17:42:37 +00:00
\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