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

Optical margins—how to set as default

Engaged ,
Jun 26, 2021 Jun 26, 2021

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
3.4K
Translate
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;

 

 

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

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.

Translate
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
Engaged ,
Jun 26, 2021 Jun 26, 2021

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.

🤓
--

Translate
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

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

Translate
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
Engaged ,
Jun 26, 2021 Jun 26, 2021

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--


Translate
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

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

Translate
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
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;

 

 

Translate
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

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?

Translate
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