Hello,
I have a similar requirement as mentioned above.In my PDF report, In a table I have a column named "Keyword" which contains a word and a second column named "Sentence" which contains text.I want to highlight the "Keyword" inside the "Sentence" column.
For example:
Keyword | Sentence |
portfolio | A strategy whereby investors or portfolio managers increase or decrease holdings in an entire industry, rather than buying or selling individual stocks from that particular industry. |
redeployment | Rebalancing almost always entails the sale of high-priced/low-value securities and the redeployment of the proceeds into low-priced/high-value or out-of-favor securities. |
SAS version:9.4
Destination of choice: PDF
Report procedure of choice: Proc report
Please let me know if it is possible.
Thankyou,
Prudhvi.
I am using SAS EG (Version: 8.3 (8.3.0.103) (64-bit))
How can I bold only the first word (In the following ods pdf text= statement, "Introduction") in my text in a report? Please see the code below.
ods _all_ close; ods escapechar='^'; ods pdf style=pearl file="\\--------------abc.pdf" notoc startpage=no NOGTITLE NOGFOOTNOTE style=htmlblue; options nodate number leftmargin=.5in rightmargin=.5in; ods pdf text= "^S={ font_size= 9pt}Introduction: For example, in Word or Excel, you would type a sentence and then highlight the word you wanted to have bold and then click the B (bold icon) on the toolbar. SAS data values are different from what you see in Word or Excel. SAS data values do not have colors or fonts applied to them as they are stored in the SAS data set."; ods pdf close;
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.