template fix for latex usage in requirements
This commit is contained in:
parent
1c1e5267a3
commit
f0ad743611
@ -11,16 +11,16 @@
|
|||||||
{% with item=data.entries[req_uid] %}
|
{% with item=data.entries[req_uid] %}
|
||||||
\subsection{\xspace{}{{ req_uid }}: {{ macros.latex_filter(item.heading) }} }
|
\subsection{\xspace{}{{ req_uid }}: {{ macros.latex_filter(item.heading) }} }
|
||||||
{%- if 'description' in item and item.description != '' %}
|
{%- if 'description' in item and item.description != '' %}
|
||||||
{{ macros.latex_filter(item.description) }}
|
{{ item.description }}
|
||||||
{%- if 'reason' in item and item.reason != '' or 'fitcriterion' in item and item.fitcriterion != ''%}
|
{%- if 'reason' in item and item.reason != '' or 'fitcriterion' in item and item.fitcriterion != ''%}
|
||||||
|
|
||||||
\begin{tabu}{lX}
|
\begin{tabu}{lX}
|
||||||
\toprule
|
\toprule
|
||||||
{%- if 'reason' in item and item.reason != '' %}
|
{%- if 'reason' in item and item.reason != '' %}
|
||||||
\emph{Reason} & {{ macros.latex_filter(item.reason) }}\\
|
\emph{Reason} & {{ item.reason }}\\
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if 'fitcriterion' in item and item.fitcriterion != '' %}
|
{%- if 'fitcriterion' in item and item.fitcriterion != '' %}
|
||||||
\emph{Fitcriterion} & {{ macros.latex_filter(item.fitcriterion) }}\\
|
\emph{Fitcriterion} & {{ item.fitcriterion }}\\
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\end{tabu}
|
\end{tabu}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user