[XeTeX] Redefining \XeTeXpic file and \XeTeXpdffile

Joachim Trinkwitz jtr at uni-bonn.de
Wed Dec 10 17:54:42 CET 2008


Am 10.12.2008 um 15:53 schrieb VAFA KHALIGHI:

> What I want is \LR{\XeTeXpicfile "flowrr" heigh 4cm}, so can I  
> redefine \XeTeXpicfile so that when I write \XeTeXpicfile, it  
> actually will be surrounded by \LR{..}?


Wouldn't it be better to define a new command like that:

\newcommand{\myXeTeXpicfile}[1]{\LR{\XeTeXpicfile "#1" height 4cm}}

which you could use as

\myXeTeXpicfile{flowrr}

(actually you would define a command which is easier to write down,  
something like \mypic). You could even turn the height into an  
argument, if it differs from case to case.

Joachim

-- 
Dr. Joachim Trinkwitz     E-Mail: jtr at uni-bonn.de
Institut für Germanistik, Tel.: 0228-737565
Vergleichende Literatur-  Fax: 0228-737479
und Kulturwissenschaft    www.germanistik.uni-bonn.de
der Universität Bonn      53012 Bonn


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20081210/e69e379b/attachment.html 


More information about the XeTeX mailing list