Working with text frames: Difference between revisions
Line 103: | Line 103: | ||
==Properties: Text Tab== | ==Properties: Text Tab== | ||
The top two buttons are straightforward: font face and style. Remember that if you are in Select Item mode, as opposed to Edit Contents mode, changes in the font settings will change all the text in the frame. To modify only some of the text, switch to Edit Contents mode (keyboard: E), then highlight the text you wish to modify. | The top two buttons are straightforward: font face and style. Remember that if you are in Select Item mode, as opposed to Edit Contents mode, changes in the font settings will change all the text in the frame. To modify only some of the text, switch to Edit Contents mode (keyboard: E), then highlight the text you wish to modify. | ||
<hr> | |||
Next is a block of six requestors with number values: | Next is a block of six requestors with number values: | ||
Line 132: | Line 134: | ||
# Reverse (horizontal mirror image) of selected letters. | # Reverse (horizontal mirror image) of selected letters. | ||
The next row of buttons selects justification. The rightmost button forces every line to be justified, which can produce unexpected results. | <hr> | ||
The next row of buttons selects justification. The rightmost button forces every line to be fully justified, which can produce unexpected results. | |||
<hr> | |||
The Style button allows for easy application of a set of font features. There are no default styles, these are user-created. See the Menu item Edit > Paragraph Styles... or Edit > Line Styles... to create a New style, or Save and Import styles. | The Style button allows for easy application of a set of font features. There are no default styles, these are user-created. See the Menu item Edit > Paragraph Styles... or Edit > Line Styles... to create a New style, or Save and Import styles. |
Revision as of 16:47, 10 May 2006
Installation • Usage • PDF issues • Imposition • Other |
This article is intended to be a compilation/list of operations pertaining to text frames.
Creation
Create a text frame by:
- Clicking the Text Frame icon on the toolbar
- or select Insert > Text Frame from menu
- Keyboard: T, or Alt+N, T.
This will enable your mouse to place and size the text frame: click-and-hold-down mouse button, then drag diagonally on the page. The click determines one corner of the frame, letting up the diagonally opposite corner. It may be more conventional to start with the upper-left hand corner, but you may start with any corner to its opposite.
Context Menu
Clicking with the right mouse button brings up the Context Menu, which contains several common frame operations, an important one of which is the ability to convert a Text Frame to another type of frame.
Size and Position
At this point you will find that the Properties window is an indispensible item for working with Scribus. If not already present, open it under the menu item Windows > Properties. The XYZ tab of the Properties window shows very precise information about the X,Y position of the upper left hand corner, the width and height of the frame, and the frame's rotation. Note that information is only displayed for a selected frame -- displayed as a dashed red border. A frame is automatically selected when created. Unselect a frame by clicking on the page outside its borders, select it again by clicking inside. A frame must be selected to be modified or repositioned.
Resizing, Repositioning
With the mouse:
- Click-and-drag anywhere inside the frame to reposition. Frames may even be positioned off the page, or slid from one page to another (depending on Scribus version).
- Click-and-drag any of the small red rectangles along the border to resize the frame.
With the Properties window:
There are three ways to change the individual settings --
- editing with the keyboard
- clicking on the up or down arrows to the right of each value
- using the mousewheel on each setting -- usually hovering the cursor will be enough, if not, click on the value first
Also note that for 2 and 3, holding down Ctrl, Shift, or Ctrl+Shift will alter which decimal place is affected. In addition, when using the Properties window width and height are by default linked, but you need only click the chain icon to the right to unlink them.
Rotation
With the mouse:
Click the Rotate Item icon on the toolbar (keyboard: R), then click inside the frame and drag-rotate to desired angle.
With the Properties window:
Just like resizing and repositioning, you have the same three ways to change the rotation digitally. There is also an icon just below (looks something like one of a pair of dice) to alter the point around which rotation takes place -- center or one of the four corners.
Entering/Editing Text in the Frame
Story Editor
With a text frame selected, click the Story Editor icon on the toolbar (keyboard: Ctrl+Y). The Story Editor is the most efficient way to manually enter text. The text will display with the correct font color, but the font face and spacing will not be reflected in the Story Editor's display.
The many features of Story will be covered in detail elsewhere. For this brief introduction, note that a large array of text features are completely under your control in Story Editor, including font face, color, spacing, kerning, justification, and more. Note that changing a setting will only modify text that you have selected (highlighted) and any subsequently entered text.
Take the time to learn how to create and use Styles, which will save time when you are repetitively using a font with a specific set of features.
Editing from the main page
Click the Edit Contents of Frame icon on the toolbar (keyboard: E). When you click inside the frame, you will see a blinking vertical cursor where you may add or edit text. You may also select (highlight) text and change the highlighted text features in Properties > Text. As you can see the choices are analogous to those in the Story Editor.
Editing All the text in the frame
If not already selected, click the Select item icon on the toolbar (keyboard: C | note that if you are in edit text mode, pressing C will enter text in the frame). Now select the frame whose text you wish to edit. At this point if you make changes in Properties > Text, all text in the frame will be modified.
Loading Text from a File
Load text from a file from the Context Menu (right click in frame) > Get Text, or from the menu File > Import > Get Text. You may also Append Text (Get Text will replace whatever is already in the frame). You may also load a file into Story Editor.
There are also the special files of "lorem ipsum" text, that can most easily be accessed from the Context Menu (right-click in frame), under Sample Text (alternate from Menu: Insert > Sample Text). Note that Scribus has this in several language versions, in addition to Latin.
Linking One Frame to Another
Text may be continued from one frame to another, on the same page or different pages.
First make sure the first frame is selected, then click the Link Text Frames icon on the toolbar (keyboard: N), then click the second frame -- that's it. If you have a third or more frames to also link, continue clicking to continue linking further frames. Remember that the links go in the order that you click from one to the next.
Note that frames can be linked before or after they have any content.
Levels & Layers
Frames in general, not just text frames, represent a two-dimensional space that you manipulate and move around your workspace, much like a small note you can attach and detach. Like small physical notes, they are laid down, one by one, on the page, new ones on a layer over the previous ones. The small box labeled Level in the XYZ tab of Properties allows you to move the selected frame up or down layers; the arrows with bars will move all the way to the top or bottom. Since the background of your frame may be opaque or transparent, the level the frame is at will affect how much of the frame can be visible in relationship to other overlapping or underlying frames.
XYZ Tab: The Rest
The remaining buttons in the XYZ tab do the following:
- Flip the selected frame horizontally or vertically
- Lock a frame in place. Everything about your frame is locked -- size, position, contents. Copying and pasting a locked frame may produce unexpected results.
- Lock the size of the frame only. Note that the editing tabs disappear from the corners and sides.
- Enable/disable printing of the frame. Why? You may want to have a frame on the page that's a message to yourself or someone else, yet not be part of the printed finished work. Or the frame may just be a space-saver for some other purpose.
Properties: Shape Tab
Let's start with the Shape tab in Properties. Near the top is a button with a square in the center. If you click that button, you may quickly switch to one of a group of set shapes from your original rectangle. In addition, if you click Edit Shape, you now have full vector-editing control of your shape.
Another angle on shapes and text frames:
You may also use the Polygon tool on the toolbar (use will be described in detail in another section) to create a regular polygon, which may then be converted using the Context Menu (right-click in the polygon) to Convert To > Text Frame. Note that before you enter text, you may want to change the background color of the frame.
Round Corners (depends on Scribus version)
Causes an adjustable degree of rounding of the Text Frame corners. Also note the effect of negative values.
Distance of Text
Columns, Gap: Set the number of columns inside the frame and the gap between columns.
Top, Bottom, Left, and Right adjust the space from the edge of the frame to the text inside.
Tabulators (depends on Scribus version): For setting tab stops within your frame.
Text Flows Around Frame
Use this to determine what happens with text underneath the selected frame.
Properties: Text Tab
The top two buttons are straightforward: font face and style. Remember that if you are in Select Item mode, as opposed to Edit Contents mode, changes in the font settings will change all the text in the frame. To modify only some of the text, switch to Edit Contents mode (keyboard: E), then highlight the text you wish to modify.
Next is a block of six requestors with number values:
- Left top is font size
- Left middle is the space between lines of text. When you are in Select Item mode, this will automatically change as you adjust font size (but can be adjusted afterward independently), in Edit Contents mode it will not.
- Left bottom is the width of characters -- note that height remains constant
- Right top raises (positive values) or lowers selected characters from the baseline
- Right middle is kerning: the distance between characters
- Right bottom adjusts height of characters -- note that width remains constant, and that characters remain on the baseline.
There are two color buttons next, the top referring to the outline and/or shadow if selected (see below), and the bottom to the fill color. Aside from the hue, you may also adjust saturation - click on the number for a list of choices.
A row of buttons follows, so from left to right:
- Underline, including spaces between words.
- Underline, characters only.
- Subscript. You may also want or need to adjust size.
- Superscript. Size is separately adjusted.
- All caps. Applies to letters.
- All small caps. Letters only; sizes of other characters and capitalized letters not affected.
- Strikethrough. Line width and position adjustable.
- Adds an outline to the font, width adjustable.
- Creates a shadow, in essence a duplication of the character, just "behind" it, position adjustable. You may have both an outline and a shadow, but both with have the same color and shade.
- Reverse (horizontal mirror image) of selected letters.
The next row of buttons selects justification. The rightmost button forces every line to be fully justified, which can produce unexpected results.
The Style button allows for easy application of a set of font features. There are no default styles, these are user-created. See the Menu item Edit > Paragraph Styles... or Edit > Line Styles... to create a New style, or Save and Import styles.
Lastly, the Language button chooses a language for automatic hyphenation.
Properties: Line Tab
The Line of a Text Frame refers to the border of the frame. The first thing to be aware of is that the default setting for Line Color is None, so regardless of the settings in the Line Tab, nothing will show until the Line Color is set.
Otherwise, the various settings for Line are straightforward. If a setting is greyed-out, it does not apply to frames.
Properties: Color Tab
As noted above, the Line Color refers to the border of the frame, with the default being None.
Fill Color means background color of the frame. None for a Fill Color means that the background is transparent. Text Color can be set in the Text Tab in Properties, or in Story Editor.
Shade refers to saturation of the color, so that 0% should represent a neutral grey color. Opacity refers to the relative opacity/transparency, with 100% being totally opaque, 0% totally transparent. It is worth noting at this point that some PDF versions and some PDF viewers do not support transparency.