adding in a few new commands that appear in SL-CLSI analysis

This commit is contained in:
Nate Stemen 2017-08-31 10:39:46 +01:00
parent fb4182cbb1
commit 54af7fbdcb

View file

@ -1,10 +1,15 @@
define [], () -> define [], () ->
noArgumentCommands = [ noArgumentCommands = [
'item', 'hline', 'lipsum', 'centering', 'noindent', 'textwidth', 'draw', 'item', 'hline', 'lipsum', 'centering', 'noindent', 'textwidth', 'draw',
'maketitle', 'newpage', 'verb', 'bibliography', 'fi', 'hfill', 'par', 'maketitle', 'newpage', 'verb', 'bibliography', 'hfill', 'par',
'in', 'sum', 'cdot', 'alpha', 'ldots', 'else', 'linewidth', 'left', 'in', 'sum', 'cdot', 'ldots', 'linewidth', 'left', 'right', 'today',
'right', 'today', 'clearpage', 'newline', 'endinput', 'mu', 'clearpage', 'newline', 'endinput', 'tableofcontents', 'vfill',
'tableofcontents', 'vfill', 'bigskip', 'fill', 'cleardoublepage' 'bigskip', 'fill', 'cleardoublepage', 'infty', 'leq', 'geq', 'times',
'alpha', 'beta', 'gamma', 'delta', 'epsilon', 'varepsilon', 'zeta',
'eta', 'theta', 'vartheta', 'iota', 'kappa', 'lambda', 'mu', 'nu', 'xi',
'pi', 'varpi', 'rho', 'varrho', 'sigma', 'varsigma', 'tau', 'upsilon',
'phi', 'varphi', 'chi', 'psi', 'omega', 'Gamma', 'Delta', 'Theta',
'Lambda', 'Xi', 'Pi', 'Sigma', 'Upsilon', 'Phi', 'Psi', 'Omega'
] ]
singleArgumentCommands = [ singleArgumentCommands = [
'chapter', 'usepackage', 'section', 'label', 'textbf', 'subsection', 'chapter', 'usepackage', 'section', 'label', 'textbf', 'subsection',
@ -13,11 +18,12 @@ define [], () ->
'hspace', 'bibitem', 'url', 'large', 'subsubsection', 'textsc', 'date', 'hspace', 'bibitem', 'url', 'large', 'subsubsection', 'textsc', 'date',
'footnote', 'small', 'thanks', 'underline', 'graphicspath', 'pageref', 'footnote', 'small', 'thanks', 'underline', 'graphicspath', 'pageref',
'section*', 'subsection*', 'subsubsection*', 'sqrt', 'text', 'section*', 'subsection*', 'subsubsection*', 'sqrt', 'text',
'normalsize', 'Large', 'paragraph', 'pagestyle', 'thispagestyle', 'normalsize', 'footnotesize', 'Large', 'paragraph', 'pagestyle',
'bibliographystyle' 'thispagestyle', 'bibliographystyle', 'hat'
] ]
doubleArgumentCommands = [ doubleArgumentCommands = [
'newcommand', 'frac', 'renewcommand', 'setlength', 'href', 'newtheorem' 'newcommand', 'frac', 'dfrac', 'renewcommand', 'setlength', 'href',
'newtheorem'
] ]
tripleArgumentCommands = [ tripleArgumentCommands = [
'addcontentsline', 'newacronym', 'multicolumn' 'addcontentsline', 'newacronym', 'multicolumn'
@ -25,12 +31,12 @@ define [], () ->
special = ['LaTeX', 'TeX'] special = ['LaTeX', 'TeX']
rawCommands = [].concat( rawCommands = [].concat(
noArgumentCommands, noArgumentCommands,
singleArgumentCommands, singleArgumentCommands,
doubleArgumentCommands, doubleArgumentCommands,
tripleArgumentCommands, tripleArgumentCommands,
special special
) )
noArgumentCommands = for cmd in noArgumentCommands noArgumentCommands = for cmd in noArgumentCommands
{ {