Styles
Creating character and paragraph styles, applying them to text, and changing them in one place. Open the style lists with the Character styles and Paragraph styles buttons in the editor's top bar.
What a style is
A style is a named bundle of formatting — font, size, color, alignment and so on. Once text uses a style, editing the style's definition changes that text everywhere in the layout at once.
- Character style — character-level formatting (font, size, color, tracking …)
- Paragraph style — paragraph-level formatting (alignment, leading, indents, tabs, lists, kinsoku …). It holds no character formatting of its own; instead it applies the Character style you assign to the paragraph's text.
Every layout has a Basic style, which cannot be edited or deleted.
Related questions
- What is the difference between character and paragraph styles?
- Why use styles?
Opening the style list
Click the Character styles or Paragraph styles button in the top bar. In the list dialog:
- Add — create a new style. The style settings dialog opens.
- Select a style and click Edit — change its definition. The whole layout updates.
- Select a style and click Delete — remove the style. Text that used it keeps its formatting; only the link is reset to None. If you delete a style that other styles are based on, the formatting it passed down is merged into those styles, so they look the same as before.
Double-clicking a style in the list also opens it for editing. Basic and None carry a lock: when one of them is selected, Edit, Delete and Register are disabled.
Adding, editing and deleting styles can be undone with ⌘/Ctrl+Z.
Related questions
- Where do I create a style?
- Does deleting a style remove the formatting from my text?
Style settings dialog
Opens when you add or edit a style.
- General — Style name, Based on (the style this one inherits from), for paragraph styles the Next style (the style the next paragraph gets when you press
Enterin this one) and a Character style (applied to the paragraph's text together with the paragraph style), for character styles the Language, a Shortcut, Reset to base style (drops this style's own settings so it matches its based-on style), and a Style Settings summary of how it differs from its based-on style. - Character style sections: Font, Color, Tracking & Scale, Rotation & skew (Character rotation and Skew), Vertical text · emphasis (Emphasis marks with its mark, position, size and offset — see the "Vertical Text" document)
- Paragraph style sections: Alignment & Spacing, Indents, Tabs, Lists, Drop Cap, Background & Border, Paragraph Rules, Span Columns, Kinsoku, Line Breaks & Hyphenation, Justification, Keep Options
- Each item means the same as the character and paragraph attributes in the "Text" article, except that Align under Alignment & Spacing has no Align toward spine or Align away from spine — apply those to paragraphs directly in the Attributes tab. Leading is a multiple of the font size.
Besides Text color and Background, Color has a text outline, the same as the Stroke setting of an InDesign character style. Set Text color to None to leave the letters unfilled so only the outline shows (picking a color again brings the fill back). Pick a color under Stroke or click None, and enter the thickness in points under Stroke weight (1 pt by default). Join is the shape of the corners where the stroke turns (Miter, Round, Bevel); with a miter join, Miter sets the limit at which sharp corners are cut off (4x by default). Align is either Center (the default, straddling the glyph edges) or Outside (outside the edges only, drawn under the fill so it never covers the letterforms). The outline looks the same on screen and in PDFs. When the color is None, the weight, join, alignment and miter settings are not used. Turn on Draw stroke first to draw the outline before (under) the fill, so the fill covers the inner half of the outline and the letterforms stay legible even with a heavy outline (outside alignment is always under the fill, so the option is unavailable then). The outline color and weight can also be changed in the Character section of the Attributes tab.
Justification works like InDesign's Justification. Word Spacing, Letter Spacing and Glyph Scaling each take a Minimum, Desired and Maximum in percent (defaults 80/100/133, 0/0/0 and 100/100/100). Desired values apply to every line, whatever the alignment. A justified line spreads its extra or missing width over word spacing → letter spacing → glyph scaling within the minimum–maximum range, and anything left over widens word spacing beyond the maximum. When a line is filled, spacing may tighten to the minimum to fit one more word. Korean, Japanese and Chinese layouts (layout language Korean, Japanese or Chinese) are composed like InDesign's CJK composer: word spacing is never reduced below the desired value, a space at the end of a line counts toward the line width, and the extra width of a justified line first widens word spacing up to the maximum, with the rest spread evenly between all characters. Whether a line fits in the frame is judged by the bottom of the em box (0.12 em below the baseline). Letter Spacing is a percentage of the space width. Lines without spaces (such as Korean broken by character) follow Single Word Justification: Full Justify spreads the letters, while left, center or right alignment leaves them unstretched on that side. Auto Leading shows the Leading from Alignment & Spacing as a percentage — it is the same value. Composer defaults to the Paragraph Composer, as in InDesign: it looks at the whole paragraph and breaks where the spacing is most even across lines, sometimes changing an earlier line to avoid a very loose one later — so editing text can reflow earlier lines of the same paragraph. The Single-line Composer fills one line at a time and breaks where it overflows. Frames with text wrap, lines containing tabs and lines next to a drop cap are always broken one line at a time. Korean, Japanese and Chinese layouts are always filled one line at a time, whatever the composer setting, which gives the same lines as InDesign's CJK composer.
Mojikumi under Kinsoku works like InDesign's Mojikumi (built-in sets). It removes or keeps the blank half of full-width brackets and punctuation for each pair of character classes. Line-End Punctuation Half-Width keeps punctuation full-width but sets consecutive punctuation (such as 」「) and line-end punctuation half-width; Punctuation Full-Width keeps line-end punctuation full-width too; Punctuation Half-Width sets all brackets and punctuation half-width; Kaiming (开明式) sets only the period, question mark and exclamation mark full-width and the other punctuation half-width (the 开明式 style of mainland Chinese books — see the "Chinese Typesetting" document). The first three sets all put 1/4 em between CJK (Han, kana and Hangul) and Latin characters and let justification tighten punctuation down to half-width (before word spacing). When a paragraph with mojikumi is stretched to justify, the JIS rules (JIS X 4051) set the order — Latin word spaces, then the space between CJK (Han, kana, Hangul) and Latin characters, and any remaining width is spread evenly only between CJK characters; the space around brackets and punctuation and inside Latin words is not widened. Paragraphs whose mojikumi is None (the default in Korean layouts) put the remaining width into word spaces. The default, Follow layout language, means Line-End Punctuation Half-Width in Japanese layouts, Punctuation Full-Width in Chinese layouts and None otherwise. You can make your own sets from Mojikumi Settings… in the select (InDesign's Mojikumi Settings). Copy the set you are viewing with New Set, then pick a cell in the table — the character before (row; the top row, Line start, is the first character of a line) and after (column) — and enter Minimum, Desired and Maximum as a % of the em. Negative values remove the blank half of full-width punctuation (-50% = half-width), positive values add space, and justification squeezes or stretches within that range. Turning off Adjust spacing leaves that pair untouched. Trim at line end trims the blank part of a closing bracket, comma, period or middle dot at the end of a line so the glyph meets the right margin. Built-in sets are read-only. Custom sets are saved in the layout; if you delete one, paragraphs that used it are composed as Follow layout language. Sets you keep in your account under the web's layout work settings › Mojikumi are copied into new layouts.
Paragraph Rules works like InDesign's Paragraph Rules. It draws lines above and below a paragraph — a rule under a chapter title, a thin line above a subhead, or a banner heading with white text on a thick rule. Switch between Rule Above and Rule Below with the buttons at the top; for each, turn on Rule On and set the Weight (pt), the Type (Solid, Double, Thick - Thin, Thin - Thick, Dashed, Dotted) and the Color. With Text Color on (the default), the rule above takes the color of the paragraph's first character and the rule below the color of its last character; turn it off to pick a Rule Color, including CMYK and spot swatches. Gap Color fills the space between the lines (double rules) or between the dashes when the rule isn't solid. Width is either Columns (the whole column width) or Text (the text width of the first line for the rule above, of the last line for the rule below); Left indent and Right indent pull the ends in (negative values push them out). Offset is measured upward from the baseline of the paragraph's first line to the bottom edge of the rule above, and downward from the baseline of the last line to the top edge of the rule below. When you turn the rule above on, the offset is filled in with the first line's font size so the rule stands above the text. At 0 the rule sits on the first line's baseline and looks like an underline; made thick at 0, it becomes a band behind the text. Keep In Frame (rule above only) moves the rule of a paragraph at the top of a frame down so it doesn't stick out above the frame. Rules don't move lines — make room for them with Space before and Space after. Rules are drawn behind the text; when a paragraph runs into the next column, the rule above is drawn only on its first part and the rule below only on its last. In vertical text the rule above stands on the right and the rule below on the left. Screen and PDF match, and rules carry over when you import InDesign (IDML) files and Word manuscripts (Word's top and bottom paragraph borders).
Keep Options works like InDesign's Keep Options. It sets Keep with Next (lines), Keep Lines Together (Off, All Lines in Paragraph or At Start/End of Paragraph with Start and End of paragraph line counts) and Start Paragraph (Anywhere, In Next Column, In Next Frame, Next page, On Next Odd Page, On Next Even Page). See “Keep options and breaks” in the Text article for what each one does.
A paragraph style's Character style is applied only to text that has no character style of its own. A different character style you applied to a range stays as it is. If you change the paragraph style's character style or set it to None, only the text that got it from the paragraph style follows.
To set a shortcut, click Assign in the Shortcut row and press the key combination you want. A key pressed without a modifier (⌘/Ctrl, Alt, Shift) is not accepted. If the combination is already used by another style or by an editor command (Save ⌘/Ctrl+S, Undo ⌘/Ctrl+Z, Copy ⌘/Ctrl+C, Page Break ⌘/Ctrl+Enter and so on), a red note tells you. It is not blocked: if you keep it, this style takes precedence while you edit text. Esc clears it.
Turn on Preview at the bottom left of the dialog to see your changes on the layout's text as you make them (nothing actually changes until you confirm). The browser remembers whether it is on. When you add a new style, Preview is not shown, since no text uses the style yet.
Related questions
- I want a keyboard shortcut for a style
- What is "next style"?
- I want to put an outline (stroke) on text
- Can a paragraph style carry a character style?
- I want a line under a heading
Tab settings
Set tab stops in the Tabs section of the paragraph style settings dialog. It works like InDesign's Tabs panel. Pressing Tab in text moves to the next tab stop.
- Click the strip above the ruler to add a tab. Drag a tab marker to move it; drag it up or down off the strip, or select it and press
Delete(Backspace), to delete it.Alt(Option)-click a tab to cycle its alignment. - Four alignment buttons: Left-Justified Tab, Center-Justified Tab, Right-Justified Tab, Align to Decimal Tab. With a tab selected, a button changes that tab; otherwise it sets the alignment for new tabs.
X— the selected tab's position (pt). Typing a value with no tab selected creates a new tab there.- Leader — characters that fill the tab space (up to 8), such as the dots (
.) in a table of contents. Leaders line up vertically across lines. - Align On — the character an Align to Decimal Tab aligns on (period by default). If it is missing, the text aligns like a right tab.
- Menu (≡): Clear All, Delete Tab, Repeat Tab (repeats the gap between the selected tab and the previous one to the end of the ruler), Reset Indents.
- On the ruler, ▼ is the first-line indent and ▲ the left indent. Drag them to change.
To set tabs for the current paragraphs without a style, open Tabs… while editing text — from the right-click menu or the button in the Paragraph section of the Attributes tab. The same tab ruler appears right above the frame (or table cell) being edited, with 0 at the frame's inner left edge and the screen zoom as its scale. Changes go straight to the selected paragraphs (or the paragraph with the caret) and can be undone with ⌘/Ctrl+Z. This panel also lets you drag the right indent (◀). On a paragraph with a style applied, the change shows as a style override.
Positions are measured from the inner left edge of the text frame (not from the indent). Where there are no tabs, default tabs occur every 36 pt (0.5 in), and the left indent acts as a tab stop for a tab typed to its left — this is how hanging-indent lists (1.⇥text) line up. In justified paragraphs only the text after the last tab is spread. Leaders appear the same in PDF.
Related questions
- How do I right-align page numbers with dot leaders like a table of contents?
- How do I line numbers up on the decimal point?
- How do I change the tab spacing?
- How do I delete a tab?
- I want tabs on just this paragraph, without a style
Applying a style
- While editing text, put the cursor in the characters or paragraph to format, or select a range.
- In the Attributes tab, open the Style dropdown at the top of the Character section (character styles) or at the top of the Paragraph section (paragraph styles) and choose a style.
- A style with a shortcut is applied instantly by pressing that combination while editing.
If the style's font (including its based-on style and a paragraph style's character style) isn't in your account, a notice appears at the bottom of the screen when you apply it — the screen and the PDF use a substitute font. Each font is reported once until you reopen the tab.
The Style row appears only while you are editing text. To apply a style to all the text in a frame, select it all with ⌘/Ctrl+A while editing, then choose the style.
The three buttons on the same row:
- New style from current selection — asks for a name, saves the current text's formatting as a new style and applies it right away to the selected text (paragraphs).
- Redefine from current selection — applies to the whole layout — overwrites the selected style's definition with the current formatting.
- Style settings — edit this style's definition (applies to the whole layout) — opens the style settings dialog. When the style is None or Basic, it opens the Character Formatting or Paragraph Formatting window instead of a style definition: it starts from the current formatting, and on confirm only the attributes you changed are applied directly to the selected text (paragraphs) — the style definition stays as it is. The Paragraph Formatting window has no General tab.
Double-click the dropdown to rename the selected style.
If you change the text after applying a style, the dropdown shows the style name with a '+' after it (for example 'Body+') to mark the override. Choose the same style again to return to the style's formatting.
Related questions
- How do I apply a style?
- I want to save the current formatting as a style
- I edited a style but my text didn't change
Removing a style
Set the Style dropdown in the Character or Paragraph section of the Attributes tab to None. The formatting stays; only the link to the style is removed.
Related questions
- I want to unlink a style from my text
Using styles in other layouts (Register · Load)
Two buttons at the top of the style list dialog work with your account's style library.
- Select a style and click Register — uploads the style to your account style library. Formatting inherited from its based-on style is included, so it looks the same in other layouts. If a paragraph style uses a character style, that character style is uploaded too. A library style with the same name is updated.
- Load — opens the list of styles in the library. Check one or more and click OK to add them to this layout's style list. If a chosen paragraph style uses a character style the layout does not have, that character style comes along too. If the layout already has a style with the same name, choose Add renamed (for example 'Heading 2') or Overwrite (replaces the layout style's definition; text using that style changes too).
You can see the library on the web portal under Layout Settings › Paragraph Styles / Character Styles. Styles checked there are included in every new layout from the start. Library styles are also deleted on that tab.
Related questions
- I want to use my styles in another layout
- How do I get the same styles in every new layout?
- Where do I delete a registered style?
Creating a table of contents
If your chapter and section headings use paragraph styles, PodoLay can collect those paragraphs from the whole layout and build a table of contents with page numbers (the same approach as InDesign's Table of Contents).
- Create a text frame for the contents and select it (usually on an early page). The frame's current text is replaced by the contents. A table of contents cannot go into a text frame on a master page.
- Right-click the frame and choose Table of Contents.... While editing text you can also right-click the text.
- Under Paragraph styles to include, add styles with Add Style and choose a Level (1–4) and the Entry style for each. With the Basic entry style, each level is indented a little more.
- Set the Title (leave it empty for no title), Title style, Page number (After entry or None) and the Leader between entry and page number (default '.'), then click Create Table of Contents. With Create PDF bookmarks on (the default), the same entries become PDF bookmarks when you save a PDF.
Page numbers are aligned with a right tab at the frame's right edge (inside the entry style's right indent) and follow the section numbering set in the Pages panel (roman numerals, prefixes and so on). Entries are in page order, top to bottom within a page. Text on master pages, hidden objects and levels whose view is off are not included, and headings in overset text that sit on no page are left out (you are told how many).
The contents do not change by themselves when pages shift. Right-click any text frame (or the text you are editing) and choose Update Table of Contents to rebuild them with the saved settings. To change the settings, open Table of Contents... again on the contents frame. Creating or updating the contents is undone in one step. You can edit the contents by hand, but updating overwrites them.
PDF bookmarks are collected again from the layout at the moment the PDF is made, so they point to the current pages even if you have not updated the contents. Clicking a bookmark goes to the heading's height on its page. The PDF opens with the bookmarks pane shown, and when you save a page range only the bookmarks on those pages are included.
Related questions
- Can PodoLay build a table of contents automatically?
- Pages moved — how do I fix the page numbers in the contents?
- How do I change or remove the dot leaders in the contents?
- How do I add bookmarks to my PDF?
Creating an index
Build a back-of-book index (the same approach as InDesign's Index). Put invisible index markers at words in the text, and PodoLay collects every marker in the layout, sorts the topics alphabetically and adds page numbers.
- While editing text, select a word for the index and right-click › Index › Add Selection to Index. The shortcut is ⌥⇧⌘[ (Windows: Ctrl+Alt+Shift+[). The selected text becomes the topic.
- To set the topic yourself or use levels (e.g. 'Fishers › Habits'), right-click › Index › Add Index Entry…. Enter up to four Topic levels, then choose the Page range (Current page, For next # of paragraphs, To next style change, To end of story, Last page of section, Last page of layout or Suppress page number) and a Number style for the page number (for example, bold for the page with the main discussion). For topics that need a reading, such as kanji, turn on Specify sort order and enter the reading.
- To mark every place the same word appears, click Add All in the dialog. English words are matched as whole words; Korean words are also found with particles attached. Places that already have the same marker are skipped.
- Create a text frame for the index (usually on the last page) and right-click › Index.... An index cannot go into a text frame on a master page. In the dialog set the Title (by default the layout language's word — 'Index' in English layouts) and Title style, the Format (default Nested), entry styles per level, Include section headings (A, B, C…) and the Heading style, the characters for Following topic, Between page numbers and Page range, the Cross-reference words (the text printed for See and See also — leave them empty to use the layout language's defaults) and the Cross-reference style (a character style for those words), then click Generate Index.
- Markers have no width, so they don't change the layout, and they don't appear in the PDF, copied text or Reader Mode. While you edit the text, a small violet mark shows where each marker is. Right-click a marker › Index › Edit Index Entry… or Delete Index Marker to change or delete it (Backspace also deletes it).
- Markers move with the text, so the index entries come along when you copy text to another layout.
- Right-click › Index › Index Panel shows the layout's topics as a tree; select a topic to list its markers with page numbers, and click one to go there. Double-click a topic or use Rename to rename every marker for it; the trash button deletes all of its markers. At the bottom, choose a kind (See — send readers to another topic, See also — point to another topic as well) and type the target topic to add a cross-reference (separate levels with
:). - The index does not change by itself when pages shift. Right-click › Update Index to rebuild it. If markers or pages changed after the index was made, the preflight check warns about an out-of-date index when you make a PDF. Generating, updating, renaming and Add All are each undone in one step.
- Sorting and headings follow the layout language (Layout Setup › Language): Korean groups by initial consonant, English by A–Z, and symbols and numbers come first. The title and cross-reference words printed in the index also follow the layout language, not the UI language — in English layouts See prints as 'See' and See also as 'See also'; in Korean layouts they print as '→' and '참조:'.
- You cannot put index markers in text on a master page or inside the index text itself.
- Text on master pages, hidden objects, levels whose view is off, and markers in overset text that sit on no page are left out (you are told how many).
- In the PDF, clicking a page number in the index goes to that page (not added while the index is out of date). Clicking a table of contents entry goes to its heading.
- Markers can also go in table cells and in footnote text. Going to such a marker from the panel opens that cell or note for editing.
- For personal names, right-click › Index › Add Selection to Index, Reversed (⌥⇧⌘], Windows: Ctrl+Alt+Shift+]) puts the surname first — 'Kim Minsu' → 'Minsu, Kim'. Korean, Chinese and Japanese names are left as they are.
- Type a topic in the field at the top of the panel and click + to create a topic without markers. Add a See cross-reference to it and it appears in the index (an empty topic with no cross-reference is not kept).
- Choose Run-in under Format in the index dialog to run subentries into the level 1 paragraph — 'Cats 3: Persian 7; Siamese 9'.
Related questions
- Can I make an index?
- How do I add every occurrence of a word to the index?
- The page numbers in my index are wrong
- Do index markers show up in the PDF?