Hello,
Is there any way to control the style attributes of the text of a PDF bookmark produced by SAS?
I've posted a trivial example that hopefully gets at what I want to do, please let me know if a full example would be helpful.
ods escapechar="^";
PROC DOCUMENT name=MyDoc;
make \MyDoc\First_Level;
setlabel \MyDoc\First_Level "^{style [font_weight=bold] Custom Text}"; /* Define the PDF bookmark label and attempt to make it Bold */
/* place output here */
doc close;
RUN;
QUIT;
ods pdf file="MyPDF.pdf";
PROC DOCUMENT name=MyDoc;
replay;
RUN;
QUIT;
ods pdf close;
Thanks!
Thanks for the resources, but this is not quite what I'm looking for. I want to control the attributes of the PDF bookmarks. For instance, I want to make some bold.
I've attached a picture of what I want. I can make the text bold using a PDF editing tool, but I'm curious if SAS has this capability.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.