• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Optical margins—how to set as default

Contributor ,
Jun 26, 2021 Jun 26, 2021

Copy link to clipboard

Copied

I would like to have Optical Margins as a default, if this is possible. I typeset trade books, and there are several standard elements besides body type (of course), figure captions, pull quotes, among others. I want to avoid having to scroll through the document setting Optical Margins for the extra elements. 

 

Any thoughts?

TOPICS
How to , Type

Views

1.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 27, 2021 Jun 27, 2021

 but not in a document that I'd copied from

 

You copied the story OMA setting over from the existing document. You can turn OMA on for all stories in a document via a script. This will set all the stories’ Optical Margin Size to 12pt:

 

 

var os = 12;
var s = app.documents.item(0).stories;
var i = s.length; while (i--) s[i].storyPreferences.opticalMarginAlignment = true, s[i].storyPreferences.opticalMarginSize = os;

 

 

Votes

Translate

Translate
Community Expert ,
Jun 26, 2021 Jun 26, 2021

Copy link to clipboard

Copied

You can set the default for new text frames by closing all documents, setting the desired Story Options and restaring ID. Story Options can also be set in an Object Style or ignored in a Paragraph Style’s Indents and Spacing.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 26, 2021 Jun 26, 2021

Copy link to clipboard

Copied

Thank you for your quick response! But I can't find anywhere to set up
Story Options or new text frames when no document is open.

🤓
--

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 26, 2021 Jun 26, 2021

Copy link to clipboard

Copied

Open the Object Styles panel and edit the Basic Text Frame object style.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 26, 2021 Jun 26, 2021

Copy link to clipboard

Copied

Thanks for your help. This worked in a new document but not in a document
that I'd copied from another, emptied out, saved as idml, then saved as
indd. Oh well, I'll play around with it and see if I can get it to work in
a new text frame in an existing document.

Cheers,
Susan--


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 27, 2021 Jun 27, 2021

Copy link to clipboard

Copied

Can you please turn off your signature if replying by email - as your person information is showing up on the forums - I've removed the personal information from your posts.

Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 27, 2021 Jun 27, 2021

Copy link to clipboard

Copied

LATEST

 but not in a document that I'd copied from

 

You copied the story OMA setting over from the existing document. You can turn OMA on for all stories in a document via a script. This will set all the stories’ Optical Margin Size to 12pt:

 

 

var os = 12;
var s = app.documents.item(0).stories;
var i = s.length; while (i--) s[i].storyPreferences.opticalMarginAlignment = true, s[i].storyPreferences.opticalMarginSize = os;

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jun 26, 2021 Jun 26, 2021

Copy link to clipboard

Copied

With no document open, go to Type menu > Story  and check "Optical Margin Alignment" to ON.

For any new document you create, Optical Margin Alignment will be set on new text frames.

In an existing document, de-select all text frames, then set Optical Margin Alignment on. All new text frames in that document will have it turned on.

Or set in Paragraph Style as Rob described.

Is this not what you were looking for?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines