add table captions

This commit is contained in:
Kristofers Solo 2023-10-29 14:54:34 +02:00
parent 810a7e363f
commit 7652b28295

View File

@ -9,23 +9,23 @@
fontcolor=black,
roundcorner=0pt,
splittopskip=25pt,
secondextra={
\node[
overlay,
fill=white,
anchor=west,
inner xsep=10pt
] at ([xshift=10pt]O|-P) {Turpinājums};
},
middleextra={
\node[
overlay,
fill=white,
anchor=west,
inner xsep=10pt
] at ([xshift=10pt]O|-P) {Excursus (Cont.)};
}
}
% secondextra={
% \node[
% overlay,
% fill=white,
% anchor=west,
% inner xsep=10pt
% ] at ([xshift=10pt]O|-P) {Turpinājums};
% },
% middleextra={
% \node[
% overlay,
% fill=white,
% anchor=west,
% inner xsep=10pt
% ] at ([xshift=10pt]O|-P) {Excursus (Cont.)};
% }
}
\newcommand{\moduleFunctionTableItem}[2]{
\begin{mdframed}
@ -38,7 +38,10 @@
}
\newcommand{\moduleFunctionTable}[9]{
\paragraph{#1} \label{tab:#2}
\paragraph{#1}
\begin{table}[h]
\caption{#1}\label{tab:#2}
\end{table}
\moduleFunctionTableItem{Funkcijas nosaukums}{#3}
\moduleFunctionTableItem{Funkcijas identifikators}{#4}
\moduleFunctionTableItem{Ievads}{#5}