Introduction
Optical sizes (OPSZ) are used in typography to specify the size of a character based on its perceived size rather than its physical size. This can be useful for ensuring consistent sizing of text in different contexts, such as when designing documents for print or for screen. Microsoft Word for Mac provides the ability to set optical sizes for text, but the process is not immediately obvious.
Setting Optical Sizes in Microsoft Word for Mac
To set optical sizes in Microsoft Word for Mac, follow these steps:
- Open your document in Microsoft Word for Mac.
- Select the text that you want to format with optical sizes.
- Go to the "Home" tab in the ribbon.
- Click on the "Font Size" drop-down menu.
- Select "More Font Sizes" at the bottom of the list.
- In the "Font Size" dialog box, select the "Advanced" tab.
- Under "Size," enter the optical size that you want to use.
- Under "Subscript," enter the subscript size.
- Under "Superscript," enter the superscript size.
- Click "OK" to apply the changes.
Code Example
Here is an example of how to set optical sizes using VBA (Visual Basic for Applications) in Microsoft Word for Mac:
Sub SetOpticalSizes() Dim doc As Document Dim rng As Range Set doc = ActiveDocument Set rng = Selection.Range With rng.Font .OpticalSize = wdOpticalSizeSmall1 .SubscriptSize = wdSubscriptSizeSmall .SuperscriptSize = wdSuperscriptSizeSmall End With End Sub
Setting optical sizes in Microsoft Word for Mac can be done through the "Font Size" dialog box in the "Home" tab of the ribbon. The process involves entering the desired optical size, subscript size, and superscript size in the "Advanced" tab. Additionally, optical sizes can be set using VBA code.