summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/psfragx/example.pfx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-09 00:49:07 +0000
committerKarl Berry <karl@freefriends.org>2006-01-09 00:49:07 +0000
commit007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch)
tree90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/psfragx/example.pfx
parent950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff)
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/psfragx/example.pfx')
-rw-r--r--Master/texmf-dist/doc/latex/psfragx/example.pfx20
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/psfragx/example.pfx b/Master/texmf-dist/doc/latex/psfragx/example.pfx
new file mode 100644
index 00000000000..312eaf750f3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/psfragx/example.pfx
@@ -0,0 +1,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}}