summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/psfragx/example.pfx
blob: 312eaf750f3e7bff14e738cd6e8a2bbff40e06fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\ignorespaces 
%% This is just a comment line

%%% Default legends

\psfrag{A}{$A_{\mbox{en}}$}
\psfrag{B}[][][1][180]{B}

%%% French variations of the legends

\onlylanguage{french}
\psfrag{A}{$A_{\mbox{fr}}$}
\psfrag{B}[][][1][180]{\textcolor{red}{B}}
\endonlylanguage

%%% Alternative syntax.

\iflanguage{french}
           {\psfrag{W}{Titre}}
           {\psfrag{W}{Title}}