03-25-2013 12:13 PM
I have a problem with line-up in ODS PDF output using proportional font (Arial); I know I have to use monospace font to do so;
The problem is that the requirement from the users indicates that the developers must use "ARIAL" only in that report.
I suppose I could create a dynamic format for that particular column, which displays the name of the state and followed by dots (below is the example.
But, I am wondering if there is any way in ODS to line-up the value in PDF file.
|Alabama .........||Alabama ........|
|California ......||California .........|
For state_name column, it is 100 bytes long and contains "name of the state" and "dots(.)"
In proc report, the column is 1.75 in.
the code is attached. the problem area is "COMPUTE" area; with SAS Monospace, it shows uniformed spacing.
03-31-2013 10:24 AM
Is this is a duplicate posting? This question has been answered in a different post (https://communities.sas.com/message/158378#158378). Is there a new development to the other question or to the answer?
04-01-2013 09:28 AM
Yes it is; I posted this earlier. Sorry about that.
The dots are for filling in the column of the state name; e.g. the column is char(50). so state_name = "Florida ......." or "Texa ......."
Using Arial font does not meet the clients' satisfaction; however, Ms. Cynthia's explanation gave them the reason to look at other wasy to produce the reports. Many thanks to Ms. Cynthia.