summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/yathesis/tableaux/expressions.tex
blob: 526efc74a96891286d984938ebdd7efc1dfaf321 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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%