[XeTeX] Rotating in PDF

Fabrice DELENTE fdelente at mail.cpod.fr
Thu Aug 28 08:11:12 CEST 2008


Hello.

Is it possible to rotate text in PDF? I use asymptote with XeLaTex (This is
XeTeXk, Version 3.1415926-2.2-0.999.1 (Web2C 7.5.6)) which produces PDF
through xdvipdfmx. 

I tried this .asy file: 
  

//////////////////////////////////////////////////////////////////////////////////////////////////////

access settings; 
if(!settings.multipleView) 
settings.batchView=false; 
settings.tex="pdflatex"; 
settings.inlinetex=true; 
deletepreamble(); 
 
// Beginning of Asymptote Figure 1 
eval(quote{ 
defaultfilename='essai-asy_1'; 
  
pair O=0; 
draw(scale(2)*Label("N",.8red),O,10*N,linewidth(3mm)); 
draw(scale(2)*Label("S",.8red),O,10*S); 
draw(scale(2)*Label("E",.8red),O,10*E); 
draw(scale(2)*Label("W",.8red),O,10*W); 
   
draw(rotate(45)*Label("NE"),O,5NE); 
draw(rotate(-45)*Label("SE"),O,5SE); 
draw(rotate(-45)*Label("NW"),O,5NW); 
draw(rotate(45)*Label("SW"),O,5SW); 
}); 

//////////////////////////////////////////////////////////////////////////////

 
but the last 4 labels don't rotate. 
  
Any hint? Thanks. 

-- 
Fabrice DELENTE


More information about the XeTeX mailing list