The SAS Output Delivery System and reporting techniques

Title

Reply
Contributor
Posts: 36

Title

Hi Friends,

Is there any way to increase the quoted string length to fit the string in a single title statement. i am trying to put a quoted string in single title statement with center justification but it is appearing in two lines with center justification. However if i change the font size of 8pt the quoted string i am getting the string in a single line but i want quoted string with font size 11 pt. Is there any we can get the quoted strng in title. By the by i am using the maximum line size option.

Here is the exmaple

TITLE2 J=L FONT=ARIAL BOLD HEIGHT=11PT "NUMBER" J=CENTER FONT=ARIAL BOLD HEIGHT=11PT "&tit2.";
LEFT CENTER
output : NUMBER STUDENTS WITH PAYMENT GREATER THAN
$10,000
LEFT CENTER
Required : NUMBER STUDENTS WITH PAYMENT GREATER THAN $10,000.

Thank you.
Contributor
Posts: 36

Re: Title

The title does not seem that long to present a problem. You don't mention the output destination. Are you creating PDF, RTF (Word) or something else (a graph title) ?

You could simply replace GREATER THAN with the ">" symbol. Depending on the output you could turn the output to landscape.
Contributor
Posts: 36

Re: Title

i am creating a pdf output and what i mentioned in the example is the quoted string as title2 in the pdf output.

Thank you.
SAS Super FREQ
Posts: 8,868

Re: Title

Hi:
I believe what you're seeing is described in this Tech Support note:
http://support.sas.com/kb/24/492.html

There are several workarounds mentioned. Your font reduction technique is one of them.

Basically, the note explains that the problem exists because of how SAS and ODS are dealing with the 2 strings in the TITLE2 statement (the string for J=L and the string for J=C).

cynthia
Ask a Question
Discussion stats
  • 3 replies
  • 173 views
  • 0 likes
  • 3 in conversation