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 (May 2012, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 7 May 2012 08:27:40 -0500
Reply-To:   mpajoh@ODOT.ORG
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Masoud Pajoh <mpajoh@ODOT.ORG>
Subject:   Re: ODS super
Comments:   To: Joe Matise <snoopy369@gmail.com>
In-Reply-To:   <CAM+YpE_-z-eQ_e5p1mVYgMTJu_ZUzU7XOaaQ3iSjn+rCmbu09A@mail.gmail.com>
Content-Type:   text/plain; charset="US-ASCII"

Joe: I tried that, and it works well. But, I am trying to write a formula with sub and superscripts, which are in a somewhat smaller font than the rest of the formula.

How can I do that?

Thanks,

Masoud

Joe Matise <snoopy369@gmail.com> 05/04/2012 04:07 PM

To mpajoh@odot.org cc

Subject Re: ODS super

In 9.3 1M0 this works:

data sup_sub; length myvar $200; myvar = "Pythagorean Theorem: a^{super x} + b^{super 2} = c^{super 2}"; output; myvar = "This is something that needs a footnote. ^{super 1}"; output; myvar = "Macbeth: 'Is this a dagger I see before me?' ^{dagger}"; output; myvar = "The Caffeine molecule is an alkaloid of the methylxanthine family: " || "C^{sub 8}H^{sub 10}N^{sub 4}O^{sub 2}"; output; run; ods html file='inline2.html' style=sasweb; ods rtf file='inline2.rtf' notoc_data; ods pdf file='inline2.pdf'; ods escapechar='^'; proc print data=sup_sub; title j=r 'PDF & RTF: Page ^{thispage} of ^{lastpage}'; title2 j=c 'RTF only: ^{pageof}'; footnote '^{super 1}If this were a real footnote, there would be something very academic here.'; footnote2 '^{dagger} Macbeth talked to himself a lot. This quote is from Macbeth: Act 2, Scene 1, Lines 33-39.'; run; ods _all_ close;

(This is from http://www2.sas.com/proceedings/forum2007/099-2007.pdf )

Perhaps 1M1 breaks it, but I don't have it to test. Does that example work for you?

-Joe

On Fri, May 4, 2012 at 3:43 PM, Masoud Pajoh <mpajoh@odot.org> wrote: For a PDF output: 120^{super a} in version 9.1.3 used to make "a" in a smaller font size as 120. The same in version 1M1 make "a" in a the same font size as 120.

I do want the "a" in a smaller font, as in a footnote reference.

Am I correct? If so how can correct that?

Thanks,

Masoud

-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.


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