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.
|
2005-07-16 15:18:14 +00:00
|
|
|
% It is taken from the list of commands written by John Weiss 970311 for reLyX
|
1999-09-27 18:44:28 +00:00
|
|
|
% plus the math commands from math_hash.C
|
|
|
|
%
|
|
|
|
% 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{}
|
|
|
|
% \begin{}[] %reLyX will get confused if \begin is found in this file!
|
|
|
|
%\begin{}[]{} % All of these show the different variations of \begin (jpw)
|
|
|
|
%\begin{}{} % reLyX can only handle \begin{}
|
|
|
|
%\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{}
|
|
|
|
% \end{} %reLyX will get confused if \end is found in this file!
|
|
|
|
\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[]{}
|
|
|
|
\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.
|
|
|
|
%
|
|
|
|
% I had to remove things that TeX.pm doesn't recognize as a token, and hardcode
|
|
|
|
% those into reLyX. This included !' ?' -- --- and maybe some other things
|
|
|
|
|
|
|
|
\ % 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
|
|
|
|
% reLyX like regular LaTeX. \mbox{} is an obvious example. LyX doesn't
|
|
|
|
% support it, but only the "\mbox{" and the "}" need to be in TeX mode.
|
|
|
|
|
|
|
|
\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{}
|
|
|
|
\ccname
|
|
|
|
\centering
|
|
|
|
\centerline{translate}
|
|
|
|
\chapter[]{}
|
|
|
|
\chapter*{}
|
|
|
|
\chaptername
|
|
|
|
\check{}
|
|
|
|
%\circle{} % picture environment (JMarc)
|
|
|
|
%\circle*{}
|
|
|
|
\cleardoublepage
|
|
|
|
\clearpage
|
|
|
|
\closing{}
|
|
|
|
\color[]{,,} % Two variants of this command and the next (jpw)
|
|
|
|
% \color{} % This variant doesn't matter to reLyX (adk)
|
|
|
|
\colorspec[]{,,}{}
|
|
|
|
%\colorspec{}{} % This variant doesn't matter to reLyX (adk)
|
|
|
|
%\contentsline{}{\numberline{} }{} % Appears only in .toc file (JMarc)
|
|
|
|
\contentsname
|
|
|
|
% \dashbox{}(,)[]{} %picture
|
|
|
|
\date{}
|
|
|
|
\dblfigrule
|
|
|
|
\dblfloatpagefraction
|
|
|
|
\dbltopfraction
|
2000-03-29 23:02:36 +00:00
|
|
|
\def{}{}
|
1999-09-27 18:44:28 +00:00
|
|
|
\definecolor{}{}{,,}
|
2005-03-18 14:22:10 +00:00
|
|
|
\DescribeMacro{}
|
1999-09-27 18:44:28 +00:00
|
|
|
\discretionary{}{}{}
|
2007-01-29 18:35:56 +00:00
|
|
|
\email[]{}
|
1999-09-27 18:44:28 +00:00
|
|
|
\encl{}
|
|
|
|
\enclname
|
|
|
|
\enlargethispage{}
|
|
|
|
\enlargethispage*{}
|
|
|
|
\ensuremath{}
|
|
|
|
\extracolsep{}
|
|
|
|
\fbox{translate}
|
|
|
|
\fcolorbox[]{,,}{,,}{} % Two variants of this command
|
|
|
|
%\fcolorbox{}{}{} % This variant doesn't matter to reLyX (adk)
|
|
|
|
\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
|
2007-01-29 18:35:56 +00:00
|
|
|
\homepage[]{}
|
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
|
|
|
|
\index{}
|
|
|
|
\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
|
|
|
|
\let{}{}
|
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
|
|
|
|
\markboth{}{translate}
|
|
|
|
\markright{translate}
|
|
|
|
\mathversion{}
|
|
|
|
\mbox{translate}
|
|
|
|
\mddefault
|
|
|
|
% \multiput(,)(,){}{} %picture
|
|
|
|
\name{}
|
|
|
|
\newboolean{}
|
|
|
|
\newcommand{}[][]{}
|
|
|
|
\newcommand*{}[][]{}
|
|
|
|
%\newcommand{}[]{} % reLyX doesn't care about missing optarg
|
|
|
|
\newcounter{}[]
|
|
|
|
\newenvironment{}[][]{}{}
|
|
|
|
\newenvironment*{}[][]{}{}
|
|
|
|
% \newenvironment{}[]{}{} % reLyX doesn't care about missing optarg
|
|
|
|
\newfont{}{ scaled }
|
|
|
|
\newlength{}
|
|
|
|
\newpage
|
|
|
|
\newsavebox{}
|
|
|
|
\newtheorem{}[]{translate}[]
|
|
|
|
\nocite{}
|
|
|
|
\nocorr
|
|
|
|
\nolinebreak[]
|
|
|
|
\nonfrenchspacing
|
|
|
|
\nopagebreak[]
|
|
|
|
\normalcolor
|
|
|
|
\normalfont
|
|
|
|
\normalmarginpar
|
|
|
|
\notesname
|
|
|
|
\numberline{}{}
|
|
|
|
\onecolumn
|
|
|
|
\onlynotes{}
|
|
|
|
\onlyslides{}
|
|
|
|
\opening{}
|
|
|
|
% \oval(,)[] %picture
|
|
|
|
\pagebreak[]
|
|
|
|
\pagecolor[]{,,}
|
|
|
|
% \pagecolor{} % reLyX doesn't care about this version
|
|
|
|
\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
|
|
|
|
\printindex
|
|
|
|
\protect
|
|
|
|
\providecommand{}[][]{}
|
|
|
|
\providecommand*{}[][]{}
|
|
|
|
\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*{}[][]{}
|
|
|
|
% \renewcommand{}[]{} %reLyX doesn't care about variants
|
|
|
|
\renewenvironment{}[][]{}{}
|
|
|
|
\renewenvironment*{}[][]{}{}
|
|
|
|
% \renewenvironment{}[]{}{}
|
|
|
|
\resizebox{}{}{translate}
|
|
|
|
\resizebox*{}{}{translate}
|
|
|
|
\reversemarginpar
|
|
|
|
\rmdefault
|
|
|
|
\Roman{}
|
|
|
|
\roman{}
|
|
|
|
\rotatebox{}{translate}
|
|
|
|
\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{}
|
|
|
|
\sldefault
|
|
|
|
\sloppy
|
|
|
|
\stepcounter{}
|
|
|
|
\stretch{}
|
|
|
|
%\subitem{} % unsupported theindex environment
|
|
|
|
\subjectname
|
2005-03-18 14:22:10 +00:00
|
|
|
\subfigure[]{translate}
|
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)
|
|
|
|
\subsection[]{} %
|
|
|
|
\subsection*{} %
|
|
|
|
\subsubsection[]{} %
|
|
|
|
\subsubsection*{} %
|
|
|
|
%\subsubitem{} % unsupported theindex environment
|
|
|
|
\suppressfloats[]
|
|
|
|
\symbol{}
|
|
|
|
\tablename
|
|
|
|
\tableofcontents
|
|
|
|
\tabularnewline[]
|
|
|
|
\telephone{translate}
|
2005-11-25 09:37:09 +00:00
|
|
|
\texorpdfstring{}{} % from the hyperref package
|
1999-09-27 18:44:28 +00:00
|
|
|
\textcircled{translate}
|
|
|
|
\textcolor[]{,,}{translate}
|
|
|
|
%\textcolor{}{} % reLyX doesn't care about this version
|
|
|
|
\textnormal{translate}
|
|
|
|
\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
|
|
|
|
% \verb|| % reLyX needs \verb to be hardcoded
|
|
|
|
% \verb*||
|
|
|
|
\visible
|
|
|
|
\vline
|
|
|
|
\vspace{}
|
|
|
|
\vspace*{}
|
|
|
|
\whiledo{}{}
|
|
|
|
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% There are some environments which reLyX doesn't have an equivalent for.
|
|
|
|
% However, *within* that environment, simple translatable LaTeX appears.
|
|
|
|
% (E.g., this doesn't include something like "picture" because the TeX
|
|
|
|
% parser can't (yet?) understand the parentheses as being delimiters of
|
|
|
|
% coordinates rather than plain text.)
|
|
|
|
% The environment names are placed in a "reLyXre" environment.
|
|
|
|
% There aren't very many of these; the idea is that the user can add
|
|
|
|
% user-defined environments in personal syntax files
|
|
|
|
|
|
|
|
\begin{reLyXre}
|
|
|
|
% filecontents can only appear before \documentclass command, so not worth it
|
|
|
|
fussypar
|
|
|
|
sloppypar
|
|
|
|
% slide only appears in the slides class, but if we don't put this in, then
|
|
|
|
% the whole document will be copied in TeX mode!
|
|
|
|
slide
|
|
|
|
titlepage
|
|
|
|
\end{reLyXre}
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2003-02-07 16:48:41 +00:00
|
|
|
% Keep bugging André until he adds 'support' for these in mathed,
|
|
|
|
% meaning that they can be removed from here.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
\begin{reLyXmt}
|
|
|
|
\sb {_}
|
|
|
|
\sp {^}
|
|
|
|
\ensuremath {} % If it's in math mode, \ensuremath is unnec.
|
|
|
|
\end{reLyXmt}
|
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}
|
|
|
|
psmatrix[]{}
|
2005-11-25 09:37:09 +00:00
|
|
|
thebibliography{}
|
2005-07-14 15:19:01 +00:00
|
|
|
\end{environments}
|
|
|
|
|
|
|
|
% Environments that start math mode.
|
|
|
|
% $...$, $$...$$, \(...\) and \[...\] are hardcoded in tex2lyx.
|
|
|
|
% The arguments are currently ignored.
|
|
|
|
\begin{mathenvironments}
|
|
|
|
equation
|
|
|
|
equation*
|
|
|
|
eqnarray
|
|
|
|
eqnarray*
|
|
|
|
align
|
|
|
|
align*
|
|
|
|
gather
|
|
|
|
gather*
|
|
|
|
multline
|
|
|
|
multline*
|
|
|
|
math
|
|
|
|
displaymath
|
|
|
|
flalign
|
|
|
|
flalign
|
|
|
|
% These require extra args
|
|
|
|
alignat
|
|
|
|
alignat*
|
|
|
|
xalignat
|
|
|
|
xalignat*
|
|
|
|
xxalignat
|
|
|
|
% These are not known by LyX but work nevertheless:
|
|
|
|
empheq
|
|
|
|
\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{}
|