summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/yathesis/tableaux/expressions.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/yathesis/tableaux/expressions.tex')
-rw-r--r--Master/texmf-dist/source/latex/yathesis/tableaux/expressions.tex31
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/yathesis/tableaux/expressions.tex b/Master/texmf-dist/source/latex/yathesis/tableaux/expressions.tex
new file mode 100644
index 00000000000..526efc74a96
--- /dev/null
+++ b/Master/texmf-dist/source/latex/yathesis/tableaux/expressions.tex
@@ -0,0 +1,31 @@
+\lstset{%
+ morekeywords=[5]{% Translation labels
+ coinstitute,company,institute,cosupervisor,cosupervisor*,comonitor,%
+ comonitor*,supervisor,supervisor*,academicfield,doctoralschool,keywords,%
+ ordernumber,committeepresident,committeepresident*,speciality%
+ }%
+}
+%
+\newcommand{\expression}[3]{%^^A
+ \ifthenelse{\isempty{#2}}{%^^A
+ \meta{vide}%^^A
+ }{%
+ #2%^^A
+ }%
+ &
+ \ifthenelse{\isempty{#3}}{%^^A
+ \meta{vide}%^^A
+ }{%
+ #3%^^A
+ }%
+ &
+ #1%^^A
+ \\%^^A
+}
+\bgroup%
+\footnotesize%
+\begin{tabulary}{\linewidth}{LL>{\ttfamily\color{keyword5}}l}
+ Valeur en français & Valeur en anglais & \textcolor{black}{Label} \\\toprule
+ \input{translations}
+\end{tabulary}
+\egroup%