Indenting Values with Margin Attributes Using LEFTMARGIN=

Before SAS 9.2, the only way to indent variable values was to pad the front of the variable value with non-breaking spaces (either using the HTML entity   or using the ODS ESCAPECHAR plus an underscore non-breaking space control sequence). With SAS 9.2, the new attribute LEFTMARGIN= (or alias MARGINLEFT=) can be added to your STYLE= options to indent values.

The LEFTMARGIN= attribute tells the ODS destination where the information in a cell should start relative to the left-side cell wall. This attribute was designed to work directly in procedure syntax with ODS RTF and ODS PDF. For the ODS HTML destination, however, you still need to pass the style attribute into the ODS HTML destination ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.