Browse Source

add bigger MRTcline example

master
Jonathan Spratte 7 months ago
parent
commit
fcaa039d61
2 changed files with 14 additions and 0 deletions
  1. BIN
      Doc/doc_MRTbundle.pdf
  2. 14
    0
      Doc/tex/doc_MRTtab.tex

BIN
Doc/doc_MRTbundle.pdf View File


+ 14
- 0
Doc/tex/doc_MRTtab.tex View File

@@ -187,6 +187,20 @@ is not possible with the standard \cs{cline} as far as I know.
187 187
   j & k & l\\
188 188
 \end{MRTtabular}}}
189 189
 \end{multicols}%=<<
190
+
191
+Another example using the strange syntax a bit more exhaustively, as you can see
192
+the |[blue]| for column 2 doesn't show in the output, as the colour is only used
193
+on the fills of |<>|. Also the order of the columns doesn't matter, you can go
194
+back. Latter entries in the list will overprint earliers.
195
+
196
+\DoAndPrint{\begin{MRTtabular}{*6l}[2]
197
+  A & B & C & D & E & F \\
198
+  \MRTcline[yellow]{[blue]2-2,<>4,[red]<>[5pt]5-5,*[green]{2-3,6}}
199
+  A & B & C & D & E & F \\
200
+  1 & 2 & 3 & 4 & 5 & 6 \\
201
+  \MRTcline![green]{<[10pt]1-2, {4, 6},*3}
202
+  1 & 2 & 3 & 4 & 5 & 6 \\
203
+\end{MRTtabular}}
190 204
 %=<<
191 205
 
192 206
 \section{The \env{MRTtable} environment}\label{sec:tab:table}%>>=

Loading…
Cancel
Save