LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2008, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 24 Sep 2008 17:38:06 +0200
Reply-To:   Andre Wielki <wielki@INED.FR>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Andre Wielki <wielki@INED.FR>
Subject:   Re: Subscript special symbol in ods output
Comments:   To: Yu Zhang <zhangyu05@GMAIL.COM>
In-Reply-To:   <445d9dbe0809240630x1b1779e1vd06786388e987a47@mail.gmail.com>
Content-Type:   text/plain; charset=ISO-8859-1; format=flowed

Yu, In fact the blank more you are presenting is generating the \nosupersub code in rtf code like here

data class;set sashelp.class; new="AUC¤{sub ¤\u964 } (h*µmol/L)"; wen="AUC\{sub \\u964 } (h*µmol/L)"; run; ods listing close; ods escapechar = '\'; ods noresults; ods rtf file="d:\temp\muchar1.rtf" ; title "AUC \{sub \\u964 } (h*µmol/L)"; proc print data=class(obs=1); run; ods rtf close; ods results; ods listing;

there was no need to double it (the second blank after the rtf code is doing it!) like in my preceeding solution title "AUC¤{sub ¤\u964 ¤\nosupersub} (h*µmol/L)";

or with another variation title "AUC \{sub \\u964 } \R/rtf'\nosupersub ' (h*µmol/L)"; in this program

Andre

Yu Zhang a écrit : > Hi, Joakim, > > You just need an extra space after \u964, like AUC¤{sub ¤\u964 }. > > > Yu > > On Tue, Sep 23, 2008 at 5:19 AM, Joakim Englund <joakim.englund@gmail.com>wrote: > > >> Hello, >> >> How can I get a normal script after a subscript of a special symbol >> (tau in this case)? >> >> The following code makes everything after AUC a subscript, but I need >> (h*µmol/L) to be normal. >> >> ods escapechar = '¤'; >> "AUC¤{sub ¤\u964} (h*µmol/L)" >> >> >> Kind Regards, >> Joakim >> >> > >

-- André WIELKI INED (Institut National d'Etudes Démographiques) Service Informatique 133 Boulevard Davout 75980 Paris Cedex 20 mél : wielki@ined.fr tél : 33 (0) 1 56 06 21 54


Back to: Top of message | Previous page | Main SAS-L page