Browse Source

version and dates; documentation

master
Jonathan Spratte 1 year ago
parent
commit
0d5965113d

BIN
Doc/doc_MRTbundle.pdf View File


+ 1
- 1
Doc/img/lmscale_not_scaled.alone.tex View File

@@ -1,5 +1,5 @@
1 1
 % make twice
2
-\documentclass[border=1mm,scalemaths=off]{MRTalone}
2
+\documentclass[border=1mm,scalemaths=off,new maths=off]{MRTalone}
3 3
 
4 4
 \usepackage{amssymb}
5 5
 

+ 1
- 1
Doc/img/lmscale_scaled.alone.tex View File

@@ -1,5 +1,5 @@
1 1
 % make twice
2
-\documentclass[border=1mm]{MRTalone}
2
+\documentclass[border=1mm,new maths=off]{MRTalone}
3 3
 
4 4
 \usepackage{amssymb}
5 5
 

+ 5
- 0
Doc/tex/doc_MRTif.tex View File

@@ -83,6 +83,11 @@ sequence errors containing \texttt{MRTif} in the control sequence's name.
83 83
   \end{MRTtable}
84 84
 \end{describemacro}
85 85
 
86
+\begin{describemacroTF}{MRTifMathMode}
87
+  Tests if you're currently in math mode. This is just a wrapper around the
88
+  primitive \cs{ifmmode}.
89
+\end{describemacroTF}
90
+
86 91
 \begin{describemacroTF}[G,N,GN]{MRTifEmpty}[\marg{arg}]
87 92
   Tests if \meta{arg} is completely empty.
88 93
 \end{describemacroTF}

+ 4
- 4
Doc/tex/doc_MRTsfacc.tex View File

@@ -243,9 +243,9 @@ custom macros for every character you might want to use accented.
243 243
 
244 244
 \section{Dependencies}
245 245
 \pkg{MRTsfacc} loads the \pkg{MRTif} package and uses its tests
246
-\cs{MRTifLetterGTF}, \cs{MRTifFloatTF}, \cs{MRTifStringsMatchXXTF} and
247
-\cs{MRTifTwoTokenTF}. It also depends on \pkg{amsmath} being loaded.
248
-Additionally it uses the \pkg{MRTutil} package for some of its macros'
249
-definitions.
246
+\cs{MRTifMathModeTF}, \cs{MRTifLetterGTF}, \cs{MRTifFloatTF},
247
+\cs{MRTifStringsMatchXXTF} and \cs{MRTifTwoTokenTF}. It also depends on
248
+\pkg{amsmath} being loaded. Additionally it uses the \pkg{MRTutil} package for
249
+some of its macros' definitions.
250 250
 
251 251
 % vim: ft=tex fdm=marker fmr=>>=,=<< sw=2 ts=2 tw=80

+ 1
- 1
Doc/tex/doc_downwards.tex View File

@@ -14,7 +14,7 @@ really minor, though).
14 14
       based on the given \opt{author}. You can deactivate this using
15 15
       \opt{affidavit plural=false} in \cs{MRTthesisSetup}. (See
16 16
       \autoref{sec:thesis:setup})
17
-\end{incompatibilities}<++>
17
+\end{incompatibilities}
18 18
 
19 19
 \begin{incompatibilities}{\pkg{MRTtab}}
20 20
   2019-02-09 & v0.0.5 & \cs{MRTcline}

+ 2
- 2
MRTfonts/MRTfonts.sty View File

@@ -1,5 +1,5 @@
1
-\newcommand*\MRTfonts@version{0.0.5}
2
-\newcommand*\MRTfonts@date{2019-10-16}
1
+\newcommand*\MRTfonts@version{0.0.6}
2
+\newcommand*\MRTfonts@date{2019-11-23}
3 3
 
4 4
 \NeedsTeXFormat{LaTeX2e}
5 5
 

+ 1
- 1
MRTif/MRTif.sty View File

@@ -1,5 +1,5 @@
1 1
 \newcommand*\MRTif@version{0.0.10}
2
-\newcommand*\MRTif@date{2019-11-21}
2
+\newcommand*\MRTif@date{2019-11-23}
3 3
 
4 4
 \NeedsTeXFormat{LaTeX2e}
5 5
 

+ 16
- 22
MRTsfacc/MRTsfacc.sty View File

@@ -1,5 +1,5 @@
1
-\newcommand*\MRTsfacc@version{0.0.6}
2
-\newcommand*\MRTsfacc@date{2019-04-09}
1
+\newcommand*\MRTsfacc@version{0.0.7}
2
+\newcommand*\MRTsfacc@date{2019-11-23}
3 3
 
4 4
 \NeedsTeXFormat{LaTeX2e}
5 5
 
@@ -122,7 +122,7 @@
122 122
             $#2$%
123 123
           }%
124 124
         \if@MRTsfacc@found@known@
125
-          \MRTif@fiBTb
125
+          \MRTif@fi@firstoftwo
126 126
         \fi
127 127
         \@secondoftwo
128 128
       }
@@ -157,14 +157,12 @@
157 157
     {%
158 158
       \protected\long\def\mathaccentV##1##2##3##4% >>=
159 159
         {%
160
-          \ifmmode
161
-            \def\mathaccentV@args{{##2}{##3}{##4}}%
162
-            \MRTif@fiAy
163
-          \else
164
-            \@xp\nonmatherr@\csname ##1\endcsname
165
-            \MRTif@fiBn
166
-          \fi
167
-          {\futurelet\next\mathaccentV@a}%
160
+          \MRTifMathModeTF
161
+            {%
162
+              \def\mathaccentV@args{{##2}{##3}{##4}}%
163
+              \futurelet\next\mathaccentV@a
164
+            }%
165
+            {\@xp\nonmatherr@\csname ##1\endcsname}%
168 166
         }% =<<
169 167
     }% =<<
170 168
   \MRTutil@def\MRTsfacc@kern% >>=
@@ -220,17 +218,13 @@
220 218
     {%
221 219
       \protected\def\mathaccentV##1##2##3##4% >>=
222 220
         {%
223
-          \ifmmode
224
-            \MRTif@fiAy
225
-          \else
226
-            \@xp\nonmatherr@\csname ##1\endcsname
227
-            \MRTif@fiBn
228
-          \fi
229
-          {%
230
-            \@ifnextchar[%]
231
-              {\mathaccentV@b{##2}{##3}{##4}}
232
-              {\mathaccentV@a{##2}{##3}{##4}}%
233
-          }%
221
+          \MRTifMathModeTF
222
+            {%
223
+              \@ifnextchar[%]
224
+                {\mathaccentV@b{##2}{##3}{##4}}
225
+                {\mathaccentV@a{##2}{##3}{##4}}%
226
+            }%
227
+            {\@xp\nonmatherr@\csname ##1\endcsname}%
234 228
         }% =<<
235 229
     }% =<<
236 230
   \MRTutil@def\MRTsfacc@ifknown#1%>>=

Loading…
Cancel
Save