2005-07-16 15:18:14 +00:00
|
|
|
|
% This is the default list of commands for tex conversion programs to read
|
|
|
|
|
% It tells how many arguments each command takes, and which of them
|
1999-09-27 18:44:28 +00:00
|
|
|
|
% (if any) are optional.
|
2010-06-17 08:26:34 +00:00
|
|
|
|
% It is taken from the list of commands originally written by John Weiss
|
|
|
|
|
% 1997-03-11 for reLyX plus the math commands from math_hash.C
|
1999-09-27 18:44:28 +00:00
|
|
|
|
%
|
|
|
|
|
% Also had to add textrm etc. commands and many size commands (like \small)
|
|
|
|
|
%
|
|
|
|
|
% I left in things like units of measure (\depth) because reLyX will think
|
|
|
|
|
% that they're commands, and this way it will know they don't take any
|
|
|
|
|
% arguments...
|
|
|
|
|
%
|
|
|
|
|
% There are almost certainly commands in here we don't need -- but that
|
|
|
|
|
% shouldn't matter
|
|
|
|
|
%
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
|
|
|
|
|
% The first thing listed here is commands that are hard-coded into reLyX.
|
|
|
|
|
% Redefining these commands in a new syntax file will probably not help%
|
2004-10-28 14:35:53 +00:00
|
|
|
|
% and may break things.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\#
|
|
|
|
|
\$
|
|
|
|
|
\%
|
|
|
|
|
\&
|
|
|
|
|
\@
|
|
|
|
|
\_
|
|
|
|
|
\{
|
|
|
|
|
\}
|
|
|
|
|
~
|
|
|
|
|
|
|
|
|
|
\hfill
|
|
|
|
|
\i
|
|
|
|
|
\j
|
|
|
|
|
\L
|
|
|
|
|
\l
|
|
|
|
|
\LaTeX
|
|
|
|
|
\LaTeXe
|
|
|
|
|
\LyX
|
|
|
|
|
\ldots
|
|
|
|
|
\TeX
|
|
|
|
|
|
|
|
|
|
\"{}
|
|
|
|
|
$$
|
|
|
|
|
\'{}
|
|
|
|
|
\(
|
|
|
|
|
\)
|
|
|
|
|
\-
|
|
|
|
|
\.{}
|
|
|
|
|
\={}
|
|
|
|
|
\[
|
|
|
|
|
\]
|
|
|
|
|
\\[]
|
|
|
|
|
\\*[]
|
|
|
|
|
\^{}
|
|
|
|
|
\`{}
|
|
|
|
|
\~{}
|
|
|
|
|
\b{}
|
2009-06-13 15:36:23 +00:00
|
|
|
|
%\begin{}[] %tex2lyx will get confused if \begin is found in this file!
|
1999-09-27 18:44:28 +00:00
|
|
|
|
%\begin{}[]{} % All of these show the different variations of \begin (jpw)
|
2009-06-13 15:36:23 +00:00
|
|
|
|
%\begin{}{}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
%\begin{}{}{}
|
|
|
|
|
%\begin{}[][][]{}
|
|
|
|
|
%\begin{}(,)
|
|
|
|
|
%\begin{}(,)(,)
|
|
|
|
|
%\begin{}{}[]{}
|
|
|
|
|
\bf
|
|
|
|
|
\bibitem[]{}
|
|
|
|
|
\bibliography{}
|
|
|
|
|
\bibliographystyle{}
|
|
|
|
|
\c{}
|
|
|
|
|
\cite[]{}
|
2003-02-07 22:11:06 +00:00
|
|
|
|
|
2005-03-18 14:22:10 +00:00
|
|
|
|
% Natbib citations can usually have two optional args
|
|
|
|
|
\citet[][]{}
|
|
|
|
|
\Citet[][]{}
|
|
|
|
|
\citet*[][]{}
|
|
|
|
|
\Citet*[][]{}
|
2003-02-07 22:11:06 +00:00
|
|
|
|
|
2005-03-18 14:22:10 +00:00
|
|
|
|
\citealt[][]{}
|
|
|
|
|
\Citealt[][]{}
|
|
|
|
|
\citealt*[][]{}
|
|
|
|
|
\Citealt*[][]{}
|
2003-02-07 22:11:06 +00:00
|
|
|
|
|
2005-03-18 14:22:10 +00:00
|
|
|
|
\citep[][]{}
|
|
|
|
|
\Citep[][]{}
|
|
|
|
|
\citep*[][]{}
|
|
|
|
|
\Citep*[][]{}
|
2003-02-07 22:11:06 +00:00
|
|
|
|
|
2005-03-18 14:22:10 +00:00
|
|
|
|
\citealp[][]{}
|
|
|
|
|
\Citealp[][]{}
|
|
|
|
|
\citealp*[][]{}
|
|
|
|
|
\Citealp*[][]{}
|
2003-02-07 22:11:06 +00:00
|
|
|
|
|
|
|
|
|
\citeauthor[]{}
|
|
|
|
|
\Citeauthor[]{}
|
|
|
|
|
\citeauthor*[]{}
|
|
|
|
|
\Citeauthor*[]{}
|
|
|
|
|
|
|
|
|
|
\citeyear[]{}
|
2005-03-18 14:22:10 +00:00
|
|
|
|
\citeyearpar[][]{}
|
|
|
|
|
|
|
|
|
|
% jurabib supports some natbib commands and additionally:
|
|
|
|
|
\fullcite[][]{}
|
|
|
|
|
\footcite[][]{}
|
|
|
|
|
\footcitet[][]{}
|
|
|
|
|
\footcitealt[][]{}
|
|
|
|
|
\footcitep[][]{}
|
|
|
|
|
\footcitealp[][]{}
|
|
|
|
|
\footciteauthor[]{}
|
|
|
|
|
\footciteyear[]{}
|
|
|
|
|
\footciteyearpar[][]{}
|
|
|
|
|
\citefield[]{}
|
|
|
|
|
\citetitle[]{}
|
2003-02-07 22:11:06 +00:00
|
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\cline{ - }
|
|
|
|
|
\d{}
|
|
|
|
|
\documentclass[]{}[]
|
|
|
|
|
\documentstyle[]{}
|
|
|
|
|
\em
|
|
|
|
|
\emph{}
|
2009-06-13 15:36:23 +00:00
|
|
|
|
%\end{} %tex2lyx will get confused if \end is found in this file!
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\epsf{}
|
|
|
|
|
\epsfbox{}
|
|
|
|
|
\epsffile{}
|
|
|
|
|
\epsfig{}
|
|
|
|
|
\epsfxsize
|
|
|
|
|
\epsfysize
|
2005-07-26 11:58:43 +00:00
|
|
|
|
\fancyhead[]{}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\footnote[]{}
|
|
|
|
|
\footnotesize
|
|
|
|
|
\H{}
|
|
|
|
|
\hline
|
|
|
|
|
\huge
|
|
|
|
|
\Huge
|
|
|
|
|
\include{}
|
|
|
|
|
\includegraphics[,][,]{} % btw, LyX doesn't support graphicx, just graphics
|
|
|
|
|
\input{}
|
|
|
|
|
\it
|
|
|
|
|
\item[] % Has two variants (jpw) Other variant is unsupported (adk)
|
|
|
|
|
\label{}
|
|
|
|
|
\large
|
|
|
|
|
\Large
|
|
|
|
|
\LARGE
|
|
|
|
|
\marginpar[]{}
|
2017-06-06 22:55:23 +00:00
|
|
|
|
\mintinline[,]{}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\multicolumn{}{}{}
|
|
|
|
|
\newline
|
|
|
|
|
\noindent
|
|
|
|
|
\normalsize
|
|
|
|
|
\noun{} % LyX style for nouns (appears in lyx-generated files)
|
|
|
|
|
\pageref{}
|
|
|
|
|
\psfig{}
|
|
|
|
|
\ref{}
|
|
|
|
|
\rm
|
|
|
|
|
\sc
|
|
|
|
|
\sf
|
|
|
|
|
\sl
|
|
|
|
|
\t{ }
|
|
|
|
|
\textmd{} % I had to add these (adk)
|
|
|
|
|
\textbf{} % :
|
|
|
|
|
\textrm{} % :
|
|
|
|
|
\textsf{} % :
|
|
|
|
|
\texttt{} % :
|
|
|
|
|
\textup{} % :
|
|
|
|
|
\textit{} % :
|
|
|
|
|
\textsl{} % :
|
|
|
|
|
\textsc{} % :
|
|
|
|
|
\textbar
|
|
|
|
|
\textbackslash
|
|
|
|
|
\textgreater
|
|
|
|
|
\textless
|
|
|
|
|
\scriptsize
|
|
|
|
|
\small
|
|
|
|
|
\tiny
|
|
|
|
|
\tt
|
|
|
|
|
\u{}
|
|
|
|
|
\underbar{} % LyX generated files use underbar instead of underline
|
|
|
|
|
\underline{}
|
|
|
|
|
\v{}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
% Units of measure. These get used only within the arguments of
|
|
|
|
|
% commands that take some length quantity.
|
|
|
|
|
|
|
|
|
|
\depth
|
|
|
|
|
\fill
|
|
|
|
|
\height
|
|
|
|
|
\totalheight
|
|
|
|
|
\width
|
|
|
|
|
|
|
|
|
|
%
|
|
|
|
|
% Length variables
|
|
|
|
|
%
|
|
|
|
|
|
|
|
|
|
\abovedisplay
|
|
|
|
|
\abovedisplayshortskip
|
|
|
|
|
\arraycolsep
|
|
|
|
|
\arrayrulewidth
|
|
|
|
|
\arraystretch
|
|
|
|
|
\baselineskip
|
|
|
|
|
\baselinestretch
|
|
|
|
|
\belowdisplayskip
|
|
|
|
|
\belowdisplayshortskip
|
|
|
|
|
\bigskipamount
|
|
|
|
|
\columnsep
|
|
|
|
|
\columnseprule
|
|
|
|
|
\dblfloatsep
|
|
|
|
|
\dbltextfloatsep
|
|
|
|
|
\doublerulesep
|
|
|
|
|
\evensidemargin
|
|
|
|
|
\fboxrule
|
|
|
|
|
\fboxsep
|
|
|
|
|
\floatsep
|
|
|
|
|
\footnotesep
|
|
|
|
|
\footskip
|
|
|
|
|
\headheight
|
|
|
|
|
\headsep
|
|
|
|
|
\hoffset
|
|
|
|
|
\intextsep
|
|
|
|
|
\itemindent
|
|
|
|
|
\itemsep
|
|
|
|
|
\jot
|
|
|
|
|
\labelsep
|
|
|
|
|
\labelwidth
|
|
|
|
|
\leftmargin
|
|
|
|
|
\leftmargini
|
|
|
|
|
\leftmarginii
|
|
|
|
|
\leftmarginiii
|
|
|
|
|
\leftmarginiv
|
|
|
|
|
\leftmarginv
|
|
|
|
|
\leftmarginvi
|
|
|
|
|
\listparindent
|
|
|
|
|
\marginpush
|
|
|
|
|
\marginparsep
|
|
|
|
|
\marginparwidth
|
|
|
|
|
\mathindent
|
|
|
|
|
\medskipamount
|
|
|
|
|
\oddsidemargin
|
|
|
|
|
\paperheight
|
|
|
|
|
\paperwidth
|
|
|
|
|
\parindent
|
|
|
|
|
\parsep
|
|
|
|
|
\parskip
|
|
|
|
|
\partopsep
|
|
|
|
|
\rightmargin
|
|
|
|
|
\smallskipamount
|
|
|
|
|
\tabbingsep
|
|
|
|
|
\tabcolsep
|
|
|
|
|
\textfloatsep
|
|
|
|
|
\textheight
|
|
|
|
|
\textwidth
|
|
|
|
|
\topmargin
|
|
|
|
|
\topsep
|
|
|
|
|
\topskip
|
|
|
|
|
\unitlength
|
|
|
|
|
\voffset
|
|
|
|
|
|
|
|
|
|
%
|
|
|
|
|
% Commands that act like single characters and insert something. This
|
|
|
|
|
% excludes the commands that place accents on characters, since they
|
|
|
|
|
% require arguments, whereas these don't. Also excluded are commands
|
|
|
|
|
% that insert a specified amount of space [again, that requires
|
|
|
|
|
% arguments] and those that insert lists, since a list isn't a single
|
|
|
|
|
% object.
|
|
|
|
|
%
|
|
|
|
|
|
|
|
|
|
\ % A "\" followed by a space.
|
|
|
|
|
\,
|
|
|
|
|
\/
|
|
|
|
|
\AA
|
|
|
|
|
\aa
|
|
|
|
|
\AE
|
|
|
|
|
\ae
|
|
|
|
|
\bigskip
|
|
|
|
|
\copyright
|
|
|
|
|
\dag
|
|
|
|
|
\ddag
|
|
|
|
|
\DH
|
|
|
|
|
\dh
|
|
|
|
|
\DJ
|
|
|
|
|
\dj
|
|
|
|
|
\dotfill
|
|
|
|
|
\dots
|
|
|
|
|
\guillemotleft
|
|
|
|
|
\guillemotright
|
|
|
|
|
\guilsinglleft
|
|
|
|
|
\guilsinglright
|
|
|
|
|
\hrulefill
|
|
|
|
|
\lq
|
|
|
|
|
\medskip
|
|
|
|
|
\NG
|
|
|
|
|
\ng
|
|
|
|
|
\O
|
|
|
|
|
\o
|
|
|
|
|
\OE
|
|
|
|
|
\oe
|
|
|
|
|
\P
|
|
|
|
|
\pounds
|
|
|
|
|
\quad
|
|
|
|
|
\qquad
|
|
|
|
|
\quotedblbase
|
|
|
|
|
\quotesinglebase
|
|
|
|
|
\rq
|
|
|
|
|
\S
|
|
|
|
|
\SS
|
|
|
|
|
\smallskip
|
|
|
|
|
\ss
|
|
|
|
|
\textbullet
|
|
|
|
|
\textemdash
|
|
|
|
|
\textendash
|
|
|
|
|
\textexclamdown
|
|
|
|
|
\textperiodcenter
|
|
|
|
|
\textquestiondown
|
|
|
|
|
\textquotedblleft
|
|
|
|
|
\textquotedblright
|
|
|
|
|
\textquoteleft
|
|
|
|
|
\textquoteright
|
|
|
|
|
\textvisiblespace
|
|
|
|
|
\textcompwordmark
|
|
|
|
|
\textquotedbl
|
|
|
|
|
\TH
|
|
|
|
|
\th
|
|
|
|
|
\thechapter
|
|
|
|
|
\theenumi
|
|
|
|
|
\theenumii
|
|
|
|
|
\theenumiii
|
|
|
|
|
\theenumiv
|
|
|
|
|
\theequation
|
|
|
|
|
\thefigure
|
|
|
|
|
\thefootnote
|
|
|
|
|
\thempfootnote
|
|
|
|
|
\thepage
|
|
|
|
|
\theparagraph
|
|
|
|
|
\thepart
|
|
|
|
|
\thesection
|
|
|
|
|
\thesubsection
|
|
|
|
|
\thesubsubsection
|
|
|
|
|
\thesubparagraph
|
|
|
|
|
\thetable
|
|
|
|
|
\vfill
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%
|
|
|
|
|
% The LaTeX commands. As per Alejandro's request, I've omitted all of
|
|
|
|
|
% the math commands he appears to support in Mathed. I'm also
|
|
|
|
|
% omitting commands used primarily for defining new class and style
|
|
|
|
|
% files. (jpw)
|
|
|
|
|
%
|
|
|
|
|
% For some reason, John didn't write {} after \" and some of the other
|
|
|
|
|
% accent commands (adk)
|
|
|
|
|
% He also didn't include the \textsc{} equivalent to {\sc}
|
|
|
|
|
% Because any commands with arguments in parentheses (rather than braces or
|
|
|
|
|
% brackets) appear in a picture environment, which reLyX doesn't support,
|
|
|
|
|
% we can comment those out.
|
|
|
|
|
%
|
|
|
|
|
% These are the commands you're mostly likely to want to redefine in your own
|
|
|
|
|
% syntax files
|
|
|
|
|
%
|
|
|
|
|
% Arguments whose text is "translate" will have regular LaTeX in them (as
|
|
|
|
|
% opposed to commands with special syntax) which should be translated by
|
2011-01-22 12:00:33 +00:00
|
|
|
|
% tex2lyx like regular LaTeX. \mbox{} is an obvious example. LyX doesn't
|
1999-09-27 18:44:28 +00:00
|
|
|
|
% support it, but only the "\mbox{" and the "}" need to be in TeX mode.
|
2011-01-22 12:00:33 +00:00
|
|
|
|
% "translate" should be specified for as many arguments aspossible.
|
|
|
|
|
% Besides the better on-screen display of the contents (a math inset looks
|
|
|
|
|
% better than a formula in ERT), it enables LyX to apply some fixes to LaTeX
|
|
|
|
|
% limitations: For example, footnotes in section headings do not work in
|
|
|
|
|
% LaTeX, but LyX produces preamble code to fix that. Of course this works only
|
|
|
|
|
% for footnote insets and not for footnotes in ERT. Example:
|
|
|
|
|
% \section{title \texorpdfstring{\footnote{foo}}{bar}}
|
|
|
|
|
% is some code that may occur in a .tex file created by LyX. The re-import
|
|
|
|
|
% works only because the first argument of \texorpdfstring is specified as
|
|
|
|
|
% translatable in this file.
|
2011-11-13 16:11:45 +00:00
|
|
|
|
% If a command puts the contents of an argument inside an own group, use
|
|
|
|
|
% "group" instead of "translate". Otherwise things like font changes would
|
|
|
|
|
% survive the end of the group in LyX (bug 3036).
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
|
|
\abstractname
|
2005-11-25 09:37:09 +00:00
|
|
|
|
\Acrobatmenu{}{} % from the hyperref package
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\addcontentsline{}{}{translate}
|
|
|
|
|
\address{}
|
|
|
|
|
\addtime{}
|
|
|
|
|
\addtocontents{}{translate} % one argument was missing here (JMarc)
|
|
|
|
|
\addtocounter{}{}
|
|
|
|
|
\addtolength{}{}
|
|
|
|
|
\addvspace{}
|
|
|
|
|
\Alph{}
|
|
|
|
|
\alph{}
|
|
|
|
|
\alsoname
|
|
|
|
|
\and
|
|
|
|
|
\appendix % had to add this -Ak
|
|
|
|
|
\appendixname
|
|
|
|
|
\arabic{}
|
|
|
|
|
\author{}
|
|
|
|
|
\backmatter
|
|
|
|
|
%\bezier{}(,)(,)(,) % picture
|
|
|
|
|
\bfdefault
|
2005-03-18 14:22:10 +00:00
|
|
|
|
\bibliographyunit[]
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\bibname
|
|
|
|
|
\botfigrule
|
|
|
|
|
\bottomfraction
|
|
|
|
|
\caption[]{}
|
|
|
|
|
\cc{}
|
2012-08-21 02:04:54 +00:00
|
|
|
|
\ce{}
|
|
|
|
|
\cf{}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\ccname
|
2016-08-19 14:02:36 +00:00
|
|
|
|
\cellcolor[]{}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\centering
|
|
|
|
|
\centerline{translate}
|
|
|
|
|
\chapter[]{}
|
|
|
|
|
\chapter*{}
|
|
|
|
|
\chaptername
|
|
|
|
|
\check{}
|
2011-01-21 21:21:58 +00:00
|
|
|
|
\CheckCommand{}[][]{}
|
|
|
|
|
\CheckCommand*{}[][]{}
|
|
|
|
|
\CheckCommandx{}[][]{} % xargs.sty
|
|
|
|
|
\CheckCommandx*{}[][]{} % xargs.sty
|
1999-09-27 18:44:28 +00:00
|
|
|
|
%\circle{} % picture environment (JMarc)
|
|
|
|
|
%\circle*{}
|
|
|
|
|
\cleardoublepage
|
|
|
|
|
\clearpage
|
|
|
|
|
\closing{}
|
2016-08-19 14:02:36 +00:00
|
|
|
|
\color[]{} % Two variants of this command and the next (jpw)
|
2009-06-13 15:36:23 +00:00
|
|
|
|
%\color{}
|
2016-08-19 14:02:36 +00:00
|
|
|
|
\colorspec[]{}{}
|
2009-06-13 15:36:23 +00:00
|
|
|
|
%\colorspec{}{}
|
2016-08-19 14:02:36 +00:00
|
|
|
|
\columncolor[]{}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
%\contentsline{}{\numberline{} }{} % Appears only in .toc file (JMarc)
|
|
|
|
|
\contentsname
|
2009-06-13 15:36:23 +00:00
|
|
|
|
%\dashbox{}(,)[]{} %picture
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\date{}
|
|
|
|
|
\dblfigrule
|
|
|
|
|
\dblfloatpagefraction
|
|
|
|
|
\dbltopfraction
|
2011-01-21 21:21:58 +00:00
|
|
|
|
\DeclareRobustCommand{}[][]{}
|
|
|
|
|
\DeclareRobustCommand*{}[][]{}
|
|
|
|
|
\DeclareRobustCommandx{}[][]{} % xargs.sty
|
|
|
|
|
\DeclareRobustCommandx*{}[][]{} % xargs.sty
|
2000-03-29 23:02:36 +00:00
|
|
|
|
\def{}{}
|
2016-08-19 14:02:36 +00:00
|
|
|
|
\definecolor{}{}{}
|
2010-12-27 21:12:40 +00:00
|
|
|
|
\DeleteShortVerb{} % from doc.sty, argument must be verbatim
|
2005-03-18 14:22:10 +00:00
|
|
|
|
\DescribeMacro{}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\discretionary{}{}{}
|
|
|
|
|
\encl{}
|
|
|
|
|
\enclname
|
|
|
|
|
\enlargethispage{}
|
|
|
|
|
\enlargethispage*{}
|
|
|
|
|
\ensuremath{}
|
|
|
|
|
\extracolsep{}
|
|
|
|
|
\fbox{translate}
|
2016-08-19 14:02:36 +00:00
|
|
|
|
\fcolorbox[]{}{}{} % Two variants of this command
|
2009-06-13 15:36:23 +00:00
|
|
|
|
%\fcolorbox{}{}{}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\figurename
|
|
|
|
|
\floatpagefraction
|
|
|
|
|
\flushbottom
|
|
|
|
|
\fnsymbol{}
|
|
|
|
|
\fontfamily{}
|
|
|
|
|
\fontseries{}
|
|
|
|
|
\fontshape{}
|
|
|
|
|
\fontsize{}{}
|
|
|
|
|
\footnotemark[]
|
|
|
|
|
\footnoterule
|
|
|
|
|
\footnotetext[]{translate}
|
2005-06-30 07:12:25 +00:00
|
|
|
|
% LaTeX has \frame{}, but beamer has \frame[]{}, so use the latter
|
|
|
|
|
\frame[]{translate}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\framebox[][]{translate} % Two variants of this command
|
|
|
|
|
%\framebox(,)[]{} % picture variant
|
|
|
|
|
\frenchspacing
|
|
|
|
|
\frontmatter
|
|
|
|
|
\fussy
|
|
|
|
|
\glossary{translate}
|
|
|
|
|
\glossaryentry{}{} %only in .glo file (JMarc)
|
|
|
|
|
% \graphpaper[](,)(,) %picture
|
|
|
|
|
\headtoname
|
2005-07-26 11:58:43 +00:00
|
|
|
|
\href{}{translate} % from the hyperref package
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\hspace{}
|
|
|
|
|
\hspace*{}
|
2005-11-25 09:37:09 +00:00
|
|
|
|
\hyperdef{}{}{translate} % from the hyperref package
|
|
|
|
|
\hyperlink{}{translate} % from the hyperref package
|
|
|
|
|
\hyperref{}{}{translate} % from the hyperref package
|
|
|
|
|
\hypertarget{}{translate} % from the hyperref package
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\hyphenation{}
|
|
|
|
|
\iflanguage{}{}{}
|
|
|
|
|
\ifthenelse
|
|
|
|
|
\includegraphics*[,][,]{} % LyX 1.0 doesn't support clipping figures
|
|
|
|
|
\indent
|
2012-02-28 20:34:50 +00:00
|
|
|
|
\index{translate}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\indexentry{}{} % only in .idx files (JMarc)
|
|
|
|
|
\indexname
|
|
|
|
|
\indexspace
|
|
|
|
|
\invisible
|
|
|
|
|
\itdefault
|
|
|
|
|
% This variant of \item might break reLyX!
|
|
|
|
|
% \item{} % Only appears in unsupported theindex environment
|
|
|
|
|
\k{}
|
|
|
|
|
\kill
|
|
|
|
|
\labelnumi
|
|
|
|
|
\labelnumii
|
|
|
|
|
\labelnumiii
|
|
|
|
|
\labelnumiv
|
|
|
|
|
\labelitemi
|
|
|
|
|
\labelitemii
|
|
|
|
|
\labelitemiii
|
|
|
|
|
\labelitemiv
|
|
|
|
|
\language{}
|
2005-03-18 14:22:10 +00:00
|
|
|
|
% We need this because the arguments must not be interpreted
|
2010-12-27 20:15:24 +00:00
|
|
|
|
\let{item}{item}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
% \line(,){} %picture
|
|
|
|
|
\linebreak[]
|
|
|
|
|
\linethickness{}
|
|
|
|
|
\listfigurename
|
|
|
|
|
\listofalgorithms %AMStex?
|
|
|
|
|
\listoffigures
|
|
|
|
|
\listoftables
|
|
|
|
|
\listtablename
|
|
|
|
|
\location{}
|
|
|
|
|
\mainmatter
|
|
|
|
|
\makebox[][]{translate}
|
|
|
|
|
% \makebox(,)[]{} %picture variant
|
|
|
|
|
\makeglossary
|
|
|
|
|
\makeindex
|
|
|
|
|
\makelabel{translate}
|
|
|
|
|
\makelabels
|
|
|
|
|
\maketitle
|
2010-12-27 21:12:40 +00:00
|
|
|
|
\MakeShortVerb{} % from doc.sty, argument must be verbatim
|
2011-11-13 16:11:45 +00:00
|
|
|
|
\markboth{group}{group}
|
|
|
|
|
\markright{group}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\mathversion{}
|
|
|
|
|
\mbox{translate}
|
|
|
|
|
\mddefault
|
|
|
|
|
% \multiput(,)(,){}{} %picture
|
|
|
|
|
\name{}
|
|
|
|
|
\newboolean{}
|
|
|
|
|
\newcommand{}[][]{}
|
|
|
|
|
\newcommand*{}[][]{}
|
2011-01-21 21:21:58 +00:00
|
|
|
|
\newcommandx{}[][]{} % xargs.sty
|
|
|
|
|
\newcommandx∗{}[][]{} % xargs.sty
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\newcounter{}[]
|
|
|
|
|
\newenvironment{}[][]{}{}
|
|
|
|
|
\newenvironment*{}[][]{}{}
|
2011-01-21 21:21:58 +00:00
|
|
|
|
\newenvironmentx{}[][]{}{} % xargs.sty
|
|
|
|
|
\newenvironmentx*{}[][]{}{} % xargs.sty
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\newfont{}{ scaled }
|
|
|
|
|
\newlength{}
|
|
|
|
|
\newpage
|
|
|
|
|
\newsavebox{}
|
|
|
|
|
\newtheorem{}[]{translate}[]
|
|
|
|
|
\nocite{}
|
|
|
|
|
\nocorr
|
|
|
|
|
\nolinebreak[]
|
|
|
|
|
\nonfrenchspacing
|
|
|
|
|
\nopagebreak[]
|
|
|
|
|
\normalcolor
|
|
|
|
|
\normalfont
|
|
|
|
|
\normalmarginpar
|
|
|
|
|
\notesname
|
|
|
|
|
\numberline{}{}
|
|
|
|
|
\onecolumn
|
|
|
|
|
\onlynotes{}
|
|
|
|
|
\onlyslides{}
|
|
|
|
|
\opening{}
|
|
|
|
|
% \oval(,)[] %picture
|
|
|
|
|
\pagebreak[]
|
2016-08-19 14:02:36 +00:00
|
|
|
|
\pagecolor[]{}
|
2009-06-13 15:36:23 +00:00
|
|
|
|
% \pagecolor{} % tex2lyx can first care about this when fileformat 351 is supported
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\pagename
|
|
|
|
|
\pagenumbering{}
|
|
|
|
|
\par
|
|
|
|
|
\paragraph[]{}
|
|
|
|
|
\paragraph*{}
|
|
|
|
|
%\parbox[]{}{} % reLyX treats next line same as this one (adk)
|
|
|
|
|
\parbox[][][]{}{translate}
|
|
|
|
|
\part[]{}
|
|
|
|
|
\part*{}
|
|
|
|
|
\partname
|
2005-11-25 09:37:09 +00:00
|
|
|
|
\pdfbookmark[]{}{} % from the hyperref package
|
|
|
|
|
\pdfstringdef{}{} % from the hyperref package
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\poptabs
|
|
|
|
|
\prefacename
|
2012-02-28 20:34:50 +00:00
|
|
|
|
\printindex[]{}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\protect
|
|
|
|
|
\providecommand{}[][]{}
|
|
|
|
|
\providecommand*{}[][]{}
|
2011-01-21 21:21:58 +00:00
|
|
|
|
\providecommandx{}[][]{} % xargs.sty
|
|
|
|
|
\providecommandx*{}[][]{} % xargs.sty
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\ps
|
2003-12-10 08:33:37 +00:00
|
|
|
|
\psfrag{}[][][][]{translate}
|
|
|
|
|
\psfrag*{}[][][][]{translate}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\pushtabs
|
|
|
|
|
% \put(,){} %picture
|
2005-03-18 14:22:10 +00:00
|
|
|
|
\putbib[]
|
1999-09-27 18:44:28 +00:00
|
|
|
|
% \qbezier[](,)(,)(,) %picture
|
|
|
|
|
\r{}
|
|
|
|
|
\raggedbottom
|
|
|
|
|
\raggedleft
|
|
|
|
|
\raggedright
|
|
|
|
|
\raisebox{}[][]{translate}
|
|
|
|
|
\reflectbox{translate}
|
|
|
|
|
\refname
|
|
|
|
|
\refstepcounter{}
|
|
|
|
|
\renewcommand{}[][]{}
|
|
|
|
|
\renewcommand*{}[][]{}
|
2011-01-21 21:21:58 +00:00
|
|
|
|
\renewcommandx{}[][]{} % xargs.sty
|
|
|
|
|
\renewcommandx∗{}[][]{} % xargs.sty
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\renewenvironment{}[][]{}{}
|
|
|
|
|
\renewenvironment*{}[][]{}{}
|
2009-06-13 15:36:23 +00:00
|
|
|
|
%\renewenvironment{}[]{}{}
|
2011-01-21 21:21:58 +00:00
|
|
|
|
\renewenvironmentx{}[][]{}{} % xargs.sty
|
|
|
|
|
\renewenvironmentx*{}[][]{}{} % xargs.sty
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\resizebox{}{}{translate}
|
|
|
|
|
\resizebox*{}{}{translate}
|
|
|
|
|
\reversemarginpar
|
|
|
|
|
\rmdefault
|
|
|
|
|
\Roman{}
|
|
|
|
|
\roman{}
|
2016-08-19 14:02:36 +00:00
|
|
|
|
\rotatebox[]{}{translate}
|
|
|
|
|
\rowcolor[]{}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\rule[]{}{}
|
|
|
|
|
\samepage
|
|
|
|
|
\savebox{}[][]{}
|
|
|
|
|
% \savebox{}(,)[]{} %picture
|
|
|
|
|
\sbox{}{}
|
|
|
|
|
\scalebox{}[]{translate}
|
|
|
|
|
\scdefault
|
|
|
|
|
\section[]{}
|
|
|
|
|
\section*{}
|
|
|
|
|
\see
|
|
|
|
|
\seename
|
|
|
|
|
\selectfont
|
|
|
|
|
\selectlanguage{}
|
|
|
|
|
\setboolean{}{}
|
|
|
|
|
\setcounter{}{}
|
|
|
|
|
\setlength{}{}
|
|
|
|
|
\settime{}
|
|
|
|
|
\settodepth{}{}
|
|
|
|
|
\settoheight{}{}
|
|
|
|
|
\settowidth{}{}
|
|
|
|
|
\sfdefault
|
|
|
|
|
\shortstack[]{translate}
|
|
|
|
|
\showhyphens{}
|
|
|
|
|
\signature{}
|
2012-02-28 20:34:50 +00:00
|
|
|
|
\sindex[]{translate} %splitidx.sty
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\sldefault
|
|
|
|
|
\sloppy
|
|
|
|
|
\stepcounter{}
|
|
|
|
|
\stretch{}
|
|
|
|
|
%\subitem{} % unsupported theindex environment
|
2015-01-03 17:43:01 +00:00
|
|
|
|
\subcaption[translate]{translate}
|
2015-01-03 19:23:02 +00:00
|
|
|
|
\subcaptionbox[translate]{translate}[][]{translate} % subcaption.sty
|
|
|
|
|
\subcaptionbox*{translate}[][]{translate} % subcaption.sty
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\subjectname
|
2015-01-03 17:43:01 +00:00
|
|
|
|
\subfigure[translate][translate]{translate} % obsolete subfigure.sty
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\subparagraph[]{} % These "sub" versions of the sectioning commands weren't
|
|
|
|
|
\subparagraph*{} % in the original commandlist for some reason (adk)
|
2015-01-03 19:23:02 +00:00
|
|
|
|
\subref{} % subcaption.sty
|
|
|
|
|
\subref*{} % subcaption.sty
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\subsection[]{} %
|
|
|
|
|
\subsection*{} %
|
|
|
|
|
\subsubsection[]{} %
|
|
|
|
|
\subsubsection*{} %
|
|
|
|
|
%\subsubitem{} % unsupported theindex environment
|
2015-01-03 17:43:01 +00:00
|
|
|
|
\subtable[translate][translate]{translate} % obsolete subfigure.sty
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\suppressfloats[]
|
|
|
|
|
\symbol{}
|
|
|
|
|
\tablename
|
|
|
|
|
\tableofcontents
|
|
|
|
|
\tabularnewline[]
|
|
|
|
|
\telephone{translate}
|
2011-01-22 12:00:33 +00:00
|
|
|
|
\texorpdfstring{translate}{translate} % from the hyperref package
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\textcircled{translate}
|
2016-08-19 14:02:36 +00:00
|
|
|
|
\textcolor[]{}{translate}
|
2009-06-13 15:36:23 +00:00
|
|
|
|
%\textcolor{}{}
|
2011-01-02 15:39:48 +00:00
|
|
|
|
\textbf{translate} % hardcoded, but needed nevertheless for \let\xyz\textbf
|
|
|
|
|
\textnormal{translate} % hardcoded, but needed nevertheless for \let\xyz\textnormal
|
|
|
|
|
\textmd{translate} % hardcoded, but needed nevertheless for \let\xyz\textmd
|
|
|
|
|
\textit{translate} % hardcoded, but needed nevertheless for \let\xyz\textit
|
|
|
|
|
\textrm{translate} % hardcoded, but needed nevertheless for \let\xyz\textrm
|
|
|
|
|
\textsc{translate} % hardcoded, but needed nevertheless for \let\xyz\textsc
|
|
|
|
|
\textsf{translate} % hardcoded, but needed nevertheless for \let\xyz\textsf
|
|
|
|
|
\textsl{translate} % hardcoded, but needed nevertheless for \let\xyz\textsl
|
|
|
|
|
\texttt{translate} % hardcoded, but needed nevertheless for \let\xyz\texttt
|
|
|
|
|
\textup{translate} % hardcoded, but needed nevertheless for \let\xyz\textup
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\textfraction
|
2005-03-18 14:22:10 +00:00
|
|
|
|
\thanks{translate}
|
1999-09-27 18:44:28 +00:00
|
|
|
|
\thicklines
|
|
|
|
|
\thinlines
|
|
|
|
|
\thispagestyle{}
|
|
|
|
|
\title{}
|
|
|
|
|
\today
|
|
|
|
|
\topfigrule
|
|
|
|
|
\topfraction
|
|
|
|
|
\ttdefault
|
|
|
|
|
\twocolumn[]
|
|
|
|
|
\updefault
|
|
|
|
|
\usebox{}
|
|
|
|
|
\usecounter{}
|
|
|
|
|
\usefont{}{}{}{}
|
|
|
|
|
\usepackage[]{}[]
|
|
|
|
|
\value{}
|
|
|
|
|
% \vector(,){} %picture
|
2009-06-13 15:36:23 +00:00
|
|
|
|
% \verb|| % tex2lyx fails on \verb, see http://www.lyx.org/trac/ticket/4468 and http://www.lyx.org/trac/ticket/5408
|
1999-09-27 18:44:28 +00:00
|
|
|
|
% \verb*||
|
|
|
|
|
\visible
|
|
|
|
|
\vline
|
|
|
|
|
\vspace{}
|
|
|
|
|
\vspace*{}
|
|
|
|
|
\whiledo{}{}
|
2012-10-29 19:42:01 +00:00
|
|
|
|
\xymatrix{} % this is basically an array => the contents would be parsed badly (bug 8396)
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
2005-07-14 15:19:01 +00:00
|
|
|
|
% LaTeX environments.
|
|
|
|
|
% They have always one extra "argument":
|
|
|
|
|
% It contains "translate" if the contents of the environment contains normal
|
|
|
|
|
% LaTeX code that can be translated to LyX.
|
|
|
|
|
\begin{environments}
|
|
|
|
|
bibunit[]{translate}
|
2017-06-06 22:55:23 +00:00
|
|
|
|
listing{} % minted.sty
|
|
|
|
|
minted{} % minted.sty
|
2005-07-14 15:19:01 +00:00
|
|
|
|
psmatrix[]{}
|
2015-01-03 19:23:02 +00:00
|
|
|
|
subfigure[]{translate} % subcaption.sty
|
|
|
|
|
subtable[]{translate} % subcaption.sty
|
2011-11-06 18:08:45 +00:00
|
|
|
|
theorem[]{translate} % from amsthm.sty and probably others
|
2005-11-25 09:37:09 +00:00
|
|
|
|
thebibliography{}
|
2014-12-30 17:49:11 +00:00
|
|
|
|
tikzpicture[]{}
|
2005-07-14 15:19:01 +00:00
|
|
|
|
\end{environments}
|
|
|
|
|
|
|
|
|
|
% Environments that start math mode.
|
|
|
|
|
% $...$, $$...$$, \(...\) and \[...\] are hardcoded in tex2lyx.
|
2011-11-13 11:29:48 +00:00
|
|
|
|
% The arguments are currently ignored (apart from displaymath).
|
2005-07-14 15:19:01 +00:00
|
|
|
|
\begin{mathenvironments}
|
2011-11-13 11:29:48 +00:00
|
|
|
|
equation{displaymath}
|
|
|
|
|
equation*{displaymath}
|
|
|
|
|
eqnarray{displaymath}
|
|
|
|
|
eqnarray*{displaymath}
|
|
|
|
|
align{displaymath}
|
|
|
|
|
align*{displaymath}
|
|
|
|
|
gather{displaymath}
|
|
|
|
|
gather*{displaymath}
|
|
|
|
|
multline{displaymath}
|
|
|
|
|
multline*{displaymath}
|
|
|
|
|
math{}
|
|
|
|
|
displaymath{displaymath}
|
|
|
|
|
flalign{displaymath}
|
2018-03-09 13:47:04 +00:00
|
|
|
|
flalign*{displaymath}
|
2005-07-14 15:19:01 +00:00
|
|
|
|
% These require extra args
|
2011-11-13 11:29:48 +00:00
|
|
|
|
alignat{}{displaymath}
|
|
|
|
|
alignat*{displaymath}
|
|
|
|
|
xalignat{}{displaymath}
|
|
|
|
|
xalignat*{}{displaymath}
|
|
|
|
|
xxalignat{}{displaymath}
|
2005-07-14 15:19:01 +00:00
|
|
|
|
% These are not known by LyX but work nevertheless:
|
2011-11-13 11:29:48 +00:00
|
|
|
|
empheq[]{}{displaymath}
|
2005-07-14 15:19:01 +00:00
|
|
|
|
\end{mathenvironments}
|
2006-12-24 19:23:33 +00:00
|
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
% Sweave stuff
|
|
|
|
|
\Sexpr{}
|
|
|
|
|
\SweaveOpts{}
|
2007-01-09 08:38:17 +00:00
|
|
|
|
\SweaveInput{}
|
|
|
|
|
\SweaveSyntax{}
|
|
|
|
|
\Scoderef{}
|
|
|
|
|
|
|
|
|
|
\Rcode{}
|
|
|
|
|
\Robject{}
|
|
|
|
|
\Rcommand{}
|
|
|
|
|
\Rfunction{}
|
|
|
|
|
\Rfunarg{}
|
|
|
|
|
\Rpackage{}
|
|
|
|
|
\Rclass{}
|
|
|
|
|
\Rmethod{}
|