You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

doc_MRTalone.tex 5.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. \chapter{The \cls{MRTalone} class}
  2. The \cls{standalone} version of \cls{MRTthesis}. The aim is to provide a class
  3. to produce simple \LaTeX\ based images which match the look of \cls{MRTthesis}.
  4. \section{Options}%>>>
  5. \subsection{Load time options}%>>>
  6. The class features a few load time options.
  7. \begin{describeopt}{longtable}
  8. Is forwarded to \pkg{MRTtab} see its description in \autoref{sec:tab:options}.
  9. \end{describeopt}
  10. \begin{describeopt}{mathsizes}
  11. Opposite of \opt{no mathsizes}. If used (which it by default is) the maths
  12. sizes are set according to the MS Word template. Note that those weren't set
  13. by \pkg{mrtarbeit} and if you alter the default font size won't be set.
  14. \end{describeopt}
  15. \begin{describeopt}{minimal}
  16. If this option is passed some packages are not loaded and therefore related
  17. configurations not set. See \autoref{sec:alone:dep}.
  18. \end{describeopt}
  19. \begin{describeopt}{no mathsizes}
  20. Opposite of \opt{mathsizes}. If used the maths sizes are not changed from the
  21. defaults of \cls{scrreprt}.
  22. \end{describeopt}
  23. \begin{describeopt}{tikzunderline, tUline}
  24. This option is forwarded to \pkg{MRTwuline}. See its description in
  25. \autoref{sec:wuline:options}.
  26. \end{describeopt}
  27. \begin{describeopt}{british,english,UKenglish}
  28. If used the document will be using the \opt{british} definition of
  29. \pkg{babel}. Many strings used in the package will be in English, but some
  30. might be missed out. If you find any of which you think should be translated,
  31. please contact me as described in \autoref{sec:bugs}. English simplified (US)
  32. is not supported by the class.
  33. \end{describeopt}
  34. \begin{describeopt}{sfacc}[\meta{choice}]
  35. \meta{choice} must be \opt{height} or \opt{list}. Sets the approach used by
  36. \pkg{MRTsfacc} (see \autoref{sec:sfacc}). If it is not specified the
  37. \opt{list} variant is used and \bverb|\MRTsfaccLoadShiftList{helvet}| will be
  38. issued.
  39. \end{describeopt}
  40. \begin{describeopt}{font}[\meta{font}]
  41. This is only available if you're using \luaxetex. With this you can set the
  42. used sans serif font, which will be used as the default font. It should be
  43. a font resembling Helvetica or Arial.
  44. \end{describeopt}
  45. \begin{describeopt}{serif font}[\meta{font}]
  46. This is only available if you're using \luaxetex. With this you can set the
  47. used serif font. This isn't too important as the default fonts will suffice.
  48. You shouldn't have too much text with a Roman font anyway.
  49. \end{describeopt}
  50. \begin{describeopt}{mono font}[\meta{font}]
  51. This is only available if you're using \luaxetex. With this you can set the
  52. used mono font. This isn't too important as the default fonts will suffice.
  53. You shouldn't have too much text with a Roman font anyway.
  54. \end{describeopt}
  55. \noindent
  56. Every other given option will be passed on to \cls{standalone}.
  57. %<<<
  58. \subsection{Setup options}\label{sec:alone:setup}%>>>
  59. The following options are accessible with \cs{MRTaloneSetup}.
  60. \begin{describeopt}{caption above}
  61. Is forwarded to \pkg{MRTtab} and its \cs{MRTtabSetup}. See its description in
  62. \autoref{sec:tab:options:setup}.
  63. \end{describeopt}
  64. \begin{describeopt}{caption below}
  65. Is forwarded to \pkg{MRTtab} and its \cs{MRTtabSetup}. See its description in
  66. \autoref{sec:tab:options:setup}.
  67. \end{describeopt}
  68. \begin{describeopt}{stretch caption, stretch cap}[\meta{float}]
  69. Currently does nothing.
  70. \end{describeopt}
  71. \begin{describeopt}{stretch tabular, stretch text}[\meta{float}]
  72. Is forwarded to \pkg{MRTtab} and its \cs{MRTtabSetup}. See its description in
  73. \autoref{sec:tab:options:setup}.
  74. \end{describeopt}
  75. \begin{describeopt}{stretch text}[\meta{float}]
  76. Uses \cs{setstretch} to set a specific line spread in the document.
  77. \end{describeopt}
  78. \begin{describeopt}{stretches}[\meta{float}]
  79. Sets \opt{stretch cap}, \opt{stretch tab}, and \opt{stretch text} in one go.
  80. Initially set to \texttt{1.408}.
  81. \end{describeopt}
  82. %<<<
  83. %<<<
  84. \section{Macros}%>>>
  85. \begin{describemacro}{MRTaloneSetup}[\marg{options}]%>>>
  86. You can use this macro to set the options listed in \autoref{sec:alone:setup}.
  87. \end{describemacro}%<<<
  88. %<<<
  89. \section{Dependencies}\label{sec:alone:dep}%>>>
  90. The class is based on \cls{standalone}, therefore it naturally depends on that
  91. and all its dependencies. Additional dependencies are:
  92. \begin{multicols}{2}%>>>
  93. \begin{itemize}[leftmargin=10pt]
  94. \item \pkg{expl3}
  95. \item \pkg{xparse}
  96. \item \pkg{MRTtab} for which \opt{in text sep} is set to 0pt and the option
  97. \opt{no float} is set. Take a look at \autoref{sec:tab:options:setup} to
  98. see what those do.
  99. \item \pkg{MRTwuline}
  100. \item \pkg{MRTsfacc}
  101. \item If \hologo{XeTeX} or \hologo{LuaTeX} are used
  102. \begin{itemize}[topsep=0pt]
  103. \item \pkg{fontspec} and
  104. \verb|\defaultfontfeatures|\hskip0pt\verb|{Ligatures=TeX}|
  105. \end{itemize}
  106. else
  107. \begin{itemize}[topsep=0pt]
  108. \item \pkg{fontenc} [T1]
  109. \item \pkg{inputenc} [utf8]
  110. \end{itemize}
  111. \item \pkg{lmodern}
  112. \item \pkg{helvet}
  113. \item \pkg{babel} [ngerman] or if \opt{british} is used with
  114. [main=british, ngerman]
  115. \item \pkg{setspace}
  116. \item \pkg{enumitem}
  117. \item \pkg{mathtools} with the \opt{fleqn} option
  118. \item \pkg{mathastext} with the \opt{defaultmathsizes} and \opt{italic}
  119. options
  120. \item \pkg{isomath}
  121. \item if the \opt{minimal} option is not used:
  122. \begin{itemize}
  123. \item \pkg{siunitx}
  124. [%
  125. detect-all,
  126. per-mode=reciprocal-positive-first%
  127. ]\\
  128. If \pkg{babel}'s \opt{british} is used [locale=UK] will be used, if
  129. \opt{ngerman} [locale=DE]. Additionally the \opt{range-phrase} will be
  130. set to either \texttt{to} or \texttt{bis} with spaces around it.
  131. \end{itemize}
  132. \end{itemize}
  133. \end{multicols}%<<<
  134. %<<<