I recently downloaded Basic MiKTeX 2.9.4813..
I'm trying to find on the MiKTeX dir a file containing a list of all general keywords for LaTeX languages but can't find any...
Could you help me?
Within TeX systems, it is always possible to define new commands:
\def\somemacro\with#1\weird#2,#3\delimiters{#1, #2, #3}
\newcommand \somenewcommand[1] {some expansion using #1}
% ... the following with `xparse` and `expl3` as appropriate
\NewDocumentCommand \SomeCrazyCommand {m m o O{default} u{(} t! r][}{...}
% ... used as \SomeCrazyCommand{...}{...}[what?] this is arg 5(!]and 6[%end
\cs_new:Nn \you_can't_even_rely_on_the_hash:NnN {something~ with~ #1,~ #2~, and~ #3}
The only mostly constant thing is what counts as a command: it consists of a backslash (\
) introducing either one symbol or a string of letters, thus the regular expression \\(.|[A-z@]*\*?])
. (@
is often used as a letter in LaTeX internal macros. Also, many LaTeX commands have starred variants.)
Trying to compile such a list would be difficult, but you can take a look at the AUCTeX project for Emacs—within the style files exist convenient lists of commands for particular packages.
\def
. \newcommand
is a LaTeX command. ;)
\ExplSyntaxOn \use:c { some_weird_arg_based_command_#1 }
,\cs_new:Nn \@@_internal_package_macro:Nnx \ExplSyntaxOff
… the list goes on. TeX's Turing completeness throws a wrench in just about every hopeful parser.
Dec 30, 2013 at 12:39
xii.tex
on CTAN, ctan.org/tex-archive/macros/plain/contrib/xii
\title{...}
) available? (Try puttingtexdoc latexcheat
into the command line.)\\[@A-z]*\*?
:)