Nodus Draw: Text
The text tool (T or F8) makes three kinds of text:
- Artistic text: click and type. The click is where the first line starts (or its middle, or its end, for centred or right-aligned text). Lines break only where you press Enter.
- Paragraph text: drag a frame and type. The text wraps to the frame's width and sits at its top, middle or bottom.
- Text in a shape: click just inside the outline of a closed shape (a rectangle, ellipse, polygon or closed curve); the cursor shows a small dotted frame when it is close enough. The text is centred in the shape and wraps to fit it, which is how flowchart boxes are labelled. The right-click menu's Add text inside does the same.
Type as in any text box: the arrow keys, Home and End, Shift to select, Ctrl+A, copy and paste. Escape, clicking elsewhere or changing tool finishes the text (one undo step). Text left empty is removed. Choosing a font, size or other setting on the Properties docker or the property bar does not finish it: you can choose the font first and then type.
To change text later, click it with the text tool, or double-click it with the pick tool; the caret goes where you click. This works for text inside groups and shapes too. In a shape with no fill, click on the text itself: a click elsewhere inside the shape goes to whatever is behind it, such as a smaller box inside it with its own text.
As an object, text moves, resizes, turns, mirrors and lines up like any other. Resizing paragraph text resizes its frame: the letters keep their size and the lines wrap again. Resizing artistic text scales the letters.
Formatting
With the text tool, or with text selected, the property bar has the font, the size, bold, italic and the alignment (left, centre, right; and for a frame, top, middle or bottom). The Properties docker opens on its Character tab, with the same and more:
- Character: font, size, style, colour and the effects (underline, strikethrough, overline, superscript, subscript).
- Paragraph: alignment and line spacing (100 % is the font's normal spacing, 1.2 × its size).
- Frame (paragraph text and text in shapes): where the text sits in the frame; for text in a shape, its margin from the outline, its rotation within the shape, and Wrap to the shape's outline (below).
These change the text being typed, otherwise the selected text (including text in selected groups and shapes). With the text tool and nothing selected, they set what new text will look like for the rest of the session. Tools › Options sets the font, size and alignment of new text for good.
While typing, bold, italic and the effects apply to the letters selected (or to all of them if none are); the font, size, colour and alignment are for the whole text. Letters you type take the formatting of the one before them.
Colour: a text's colour is its fill, so the palette and the Fill tab set it too; its outline outlines the letters. Text in a shape has its own colour, separate from the shape's fill: set it on the Character tab, or click a colour in the palette with the text tool.
Sizes are in points or millimetres (chosen beside the size on the Character tab, or in Tools › Options). In millimetres the list has the lettering heights used on technical drawings (1.8, 2.5, 3.5, 5, 7, 10 mm and so on). Either can be typed: "10 pt" or "3.5 mm". The up and down arrows beside the size step to the next size in the list, which is handy for making text just fit a box.
Text in shapes
Text in a shape belongs to it: it moves, copies, turns and is deleted with the shape, and resizing the shape wraps the text again without changing its size.
- Wrap to the shape's outline (on by default) makes each line as wide as the shape is at that height, so text in a circle or diamond is narrower at the top and bottom. Turned off, the text wraps in the rectangle inside the shape.
- The margin (0.5 mm unless you change it) keeps the text off the outline.
- Text added to a turned shape starts level on the page. Rotation on the Frame tab turns it within the shape, a quarter turn at a time with its buttons.
Text that does not fit
Paragraph text, or text in a shape, that does not fit is cut off, and its frame is drawn with a dashed red line. While you type, all of it shows so you can see what you are typing; make the frame or shape bigger, or the text smaller, to fit it. Exports show only what fits, without the red frame. Empty lines at the end of the text do not count.
Text round other objects
Wrap paragraph text (on the right-click menu, and in the Properties docker's Object section) makes paragraph text flow round an object, such as a picture set into a block of text. Turn it on for the object the text should avoid. The text keeps a small gap from it, and moves round it as either is moved.
Markdown and equations
Any text can be written in Markdown: paragraph text, text in a shape, a connector's label or artistic text. Tick Markdown on the Properties docker's Paragraph tab (its tooltip lists what works). While you type, the text shows as written, in a fixed-width font (smaller, so that it takes about as much room as the finished text); when you finish, it is drawn formatted:
| Type | For |
|---|---|
**bold** or __bold__ |
bold |
*italic* or _italic_ |
italic |
~~struck~~ |
~~struck through~~ |
`code` |
letters as they are, with no formatting |
# Heading |
a bold line |
- item (or * or +) |
a bullet point; indent two spaces to nest |
1. item |
a numbered item |
Every line break you type is kept.
Markdown text can hold equations in TeX, as LaTeX and pandoc write them:
between single dollar signs within a line, such as $x_e = \frac{y}{\lambda}$,
or between $$ on lines of their own for an equation on its own line,
centred. In those, \\ starts a new line and &= lines up the equals
signs. A price such as "$5 and $10" is left alone. Equations are typeset the
first time one is shown, which takes a moment; until then (and if the TeX
has a mistake) the TeX itself is shown.
Fonts
Nodus Draw comes with Noto Sans (the default), Noto Sans Condensed, Noto Serif, Noto Sans Mono, Nunito (rounded), Roboto, Roboto Condensed and Liberation Sans Narrow, which work the same on every computer and are embedded in exported PDFs.
The font list can also show the fonts installed on your computer: choose Show installed fonts… at its end and allow it when the browser asks. Any font name can be typed too. With the list open, typing the start of a name jumps to it.
A drawing that uses a font your computer does not have keeps the font's name, but is shown in a similar bundled font: Arial in Noto Sans, Arial Narrow in Liberation Sans Narrow (which has exactly the same letter widths, so text from CorelDRAW keeps its layout), and so on.
Next: Connectors and flowcharts
This website is free and ad-free, but costs me money to run. If you'd like to support this site, please consider making a small donation or sending me a message to let me know what you liked or found useful.