Text Paragraphs

Creating Text Paragraphs

  1. Create a text paragraph with the <Paragraphtitle> icon.

  1. You can also create a text paragraph with keyboard shortcuts.

On Linux, use Alt + I instead of Ctrl + I. On Linux and macOS, use Alt + / instead of the Ctrl + Space shortcut used in this chapter.

Selecting a Text Paragraph Type

Before you write content in a text paragraph, select its type. For details about text paragraph types, see Writing Text Paragraphs.

Select the text paragraph type from the drop-down list at the lower right of the editing area, or press Ctrl + / and use the arrow keys.

Selecting a text paragraph type

Selecting a text paragraph type

While editing, you can also change the paragraph type directly with the following shortcuts: Ctrl + 0(Normal), Ctrl + 1 to Ctrl + 5(Heading 1 to Heading 5), Ctrl + 6(Code), Ctrl + 7(Ordered List), Ctrl + 8(Unordered List), Ctrl + 9(Note), and Ctrl + P(Proofreading).

In addition to the text paragraph types that ManualWorks provides, you can create text paragraph types with user styles. For details, see User Style Types.

Hiding Unneeded Text Paragraph Types

Use a Console to hide paragraph types that you do not use. For example, to stop using the “Epigraph” paragraph, run the following command.

disable-element-type -type epigraph

To use the Epigraph paragraph again, run the following command.

enable-element-type -type epigraph

You can use the following values for the type option.

Paragraph type values

Value

Paragraph Name

markdown

Markdown

normal

Normal

heading1

Heading 1

heading2

Heading 2

heading3

Heading 3

heading4

Heading 4

heading5

Heading 5

headline

Headline

code

Code

command

Command

pre

Preformatted

blockquote

Blockquote

epigraph

Epigraph

ordered_list

Ordered List

ordered_list_continuing_numbering

Ordered List(Continuing Numbering)

unordered_list

Unordered List

definition_list

Definition List

callout_list

Callout List

step1

Step

note

Note

tip

Tip

caution

Caution

proofreading

Proofreading

If a paragraph already uses a hidden paragraph type, you can still use that paragraph type for it, regardless of the setting above.

Character Styles

In ManualWorks, you cannot set the font, color, or weight of specific text directly. Instead, you give the text a meaning and then format it consistently through a theme. This is called a character style.

The main character styles are as follows.

In addition to the character styles that ManualWorks provides, you can create character styles with user styles. For details, see User Style Types.

Set a character style as follows.

  1. Select the text to apply the character style to.

    • You can select text by dragging the mouse or by pressing Shift + Left and Shift + Right.

  2. From the drop-down list at the upper left of the editing area, select the character style to apply to the text.

    • You can also press Ctrl + Space and use the arrow keys to select it.

Selecting a character style

Selecting a character style

Remove a character style in one of the following ways.

Line Breaks Within Character Styles

Line breaks are supported within a character style. You do not need to set the character style on each line.

Applying the “Code” Character Style with the `(grave accent) Character

You can apply the “Code” character style with the `(grave accent) character.

Type the ` character before and after the text, as shown below, to apply the “Code” character style to it.

Setting Links

Use the <1Link> menu in the paragraph editor to link to content repeated in the document or to documents for reference.

If you select “2Preserve link text”, the text of the link does not change.

Adding Marks(Setting Up the Index)

Use the <Mark> menu in the paragraph editor to create an index. For details, see Creating an Index.

Adding Footnotes

Use the <1Footnote> menu in the paragraph editor to add a footnote where you want it. To change or delete a footnote, double-click its icon (speaker_notes).

Note the following about footnotes.

Setting Ruby Text

ManualWorks supports ruby, which shows small reading aids above body text, like Japanese furigana.

Select the text to annotate, and then click the <Ruby> menu in the paragraph editor. Enter the body text in “Body” and the reading in “Ruby”, and then click the button. To change or delete ruby text, double-click the annotated text. For example, if you enter 漢字 as the body and かんじ as the ruby, かんじ appears above 漢字.

漢字かんじ

Ruby is supported in all of the following output formats.

You can set the ruby character style in the theme. The default theme displays ruby text smaller than the body text.

Adding Inline Images

Use the <1Inline Image> menu in the paragraph editor to add small images, such as buttons or icons, to the document.

Get images and add them to a paragraph in the following ways.

Importing from My Computer

Upload an image file from your computer.

Importing from Library

Use buttons or icons uploaded to a library.

Importing from Other Document

Reference buttons or icons in another chapter. When you select a chapter, all the buttons and icons you can reference in that chapter appear. Click a button or icon to insert it into the paragraph right away.

Importing from Web

Enter the URL of an image on the web.

Resizing Inline Images

You can resize an image that you insert in a paragraph.

Use the 1icon to resize the image to insert in the paragraph. However, you cannot make it larger than the original.

If you insert a large image as an inline image, the layout breaks. Create large images as Image Paragraphs.

Adding Icons

You can add 1icons to the content of a document.

Note the following.

Adding Special Characters

Use the <Special Character> menu in the paragraph editor to add special characters to the document. You can also press Ctrl + Space and use the arrow keys to add special characters.

Clearing Formatting

Click Clear All Format (format_clear) in the paragraph editor to remove all settings, including character styles, links, index marks, and footnotes.

Undo and Redo

You can undo and redo editing tasks.

Removing Line Breaks When Editing Multiple Paragraphs Together

When you edit multiple text paragraphs together, the <1Remove Line Break> link appears at the lower left of the editing area. Click this link to remove the line breaks.