All Practical Guides
ENTOMOLABELS | PRACTICAL GUIDES | 05

Working with Lines and Rectangles

Designing Label Structure and Borders

Learn how to design label structures and borders using lines and rectangles.

EntomoLabels WEB 9.0

01Introduction

Lines and rectangles help organize label information, separate sections, create borders and highlight important text with color. Like Text and TextBox, they are independent template elements.

In the previous guide Working with Text – Formatting Label Content we discussed text formatting. We will now combine it with graphical elements to create two examples of scientific labels. All screenshots are from EntomoLabels WEB 9.0; the diagrams are illustrative.

Colored header on a type specimen label.
Fig. 1. Colored header on a type specimen label.
A label divided into three sections.
Fig. 2. A label divided into three sections.

02Line and Rectangle

In the Object section, choose the appropriate type from the Add list (Line or Rectangle), then use the add-object button next to the list. Select the element on the Canvas or from the Select list.

PropertyLineRectangle
GeometryX1, Y1, X2, Y2X, Y, W, H
Outline thickness, style and colorYesYes
FillNoYes
Rounded cornersNoYes

The controls for the selected element are located in the Line / Rectangle and Objectsections. Geometric coordinates and dimensions are expressed in millimeters.

Line controls.
Fig. 3. Line controls.
Rectangle controls.
Fig. 4. Rectangle controls.

03Working with Lines

A line is defined by two endpoints: (X1, Y1) and (X2, Y2). X increases to the right and Y increases downward from the upper-left corner of the label. Select the line and drag either green handle on the Canvas to move the corresponding endpoint. Alternatively, enter precise values in the Object section.

Selected horizontal line: Y1 = Y2 = 5.1 mm.
Fig. 5. Selected horizontal line: Y1 = Y2 = 5.1 mm.

For a perfectly horizontal line, set Y1 and Y2 to the same value. For a vertical line, set X1 = X2. If both X and Y differ between endpoints, the line is diagonal. The endpoints must be distinct for the line to have a nonzero length.

Diagram showing how line direction is defined.
Fig. 6. Diagram showing how line direction is defined.
Diagonal line: X1 = 17, Y1 = 9.3, X2 = 27.8, Y2 = 13.5 mm.
Fig. 7. Diagonal line: X1 = 17, Y1 = 9.3, X2 = 27.8, Y2 = 13.5 mm.

04Formatting Lines

Thickness

Select a line and change the thickness value in the Line / Rectangle section. A higher value produces a thicker line. Match the thickness to the label size and the purpose of the line: for example, use a fine line as a separator and a more prominent line as a section boundary.

Illustrative comparison of relative line thicknesses; not shown at actual print scale.
Fig. 8. Illustrative comparison of relative line thicknesses; not shown at actual print scale.

Style

The Style list offers seven options: one solid, three dotted and three dashed variants. Choose a style suited to the purpose of the line.

The actual Style list.
Fig. 9. The actual Style list.
Illustrative appearance of the seven styles; spacing is schematic.
Fig. 10. Illustrative appearance of the seven styles; spacing is schematic.

Color (Outline)

Open the Outline palette. Choose from Type colors or Other colors, or define your own color using Custom... . Type colors makes it easier to select colors used for type specimen labels. Follow the conventions of your own collection; do not assume that a color has the same meaning everywhere.

Black, red and blue lines and the Outline palette.
Fig. 11. Black, red and blue lines and the Outline palette.

05Working with Rectangles

A rectangle has four geometric parameters: X and Y specify the upper-left corner of its area, W is its width and H is its height. Select the rectangle and drag the handles on the Canvas or enter values in the Object section. Numerical values allow precise placement of a border relative to the label dimensions.

A 28 × 13 mm rectangle on a 30 × 15 mm label.
Fig. 12. A 28 × 13 mm rectangle on a 30 × 15 mm label.

Rounded Corners

The corner-rounding control in the Line / Rectangle section changes the shape of the corners without changing the rectangle dimensions. A value of 0 produces square corners; the second example uses 3.2.

Square corners (0).
Fig. 13. Square corners (0).
Rounded corners (3.2).
Fig. 14. Rounded corners (3.2).

06Formatting Rectangles

The rectangle outline has its own thickness, style and color (Outline). Set the fill independently using the Fillpalette. This allows you to create a border, a colored area or a combination of both.

Green outline, pale yellow fill and the Fill palette.
Fig. 15. Green outline, pale yellow fill and the Fill palette.

White vs. Transparent Fill

The Transparent option in the Fill palette means there is no opaque background. White fill is different: if a rectangle is above text, white can conceal it just like any other opaque color.

Rectangle over text: transparent, white and colored fills (diagram).
Fig. 16. Rectangle over text: transparent, white and colored fills (diagram).
Tip: choose Transparent for borders surrounding content if you do not want to conceal the elements underneath.

07Element Stacking Order

Elements can occupy the same area of a label. Their stacking order determines what appears on top. To create a colored header, place a filled rectangle behind the TextBox. Select the rectangle and use the object-order controls in the Object section to change its position relative to the text.

Object section with the Select list and stacking-order controls.
Fig. 17. Object section with the Select list and stacking-order controls.
Rectangle behind the text: HOLOTYPE is visible.
Fig. 18. Rectangle behind the text: HOLOTYPE is visible.
Rectangle in front of the text: the text is concealed.
Fig. 19. Rectangle in front of the text: the text is concealed.

If an object is concealed, select it from the Select list. There is no need to delete the object on top. Then adjust the stacking order to restore the desired label appearance.

08Designing Label Borders

Example of a symmetrical border: for a 30 × 15 mm label with a 1 mm inset, set X = 1, Y = 1, W = 28 and H = 13. Set Fill to Transparent and choose an Outline color.

Geometry of a border inset 1 mm from the label edges (diagram).
Fig. 20. Geometry of a border inset 1 mm from the label edges (diagram).

General rule: subtract twice the desired inset from both the label width and height. Remember that the actual extent of the border also depends on line thickness. A border positioned exactly at the label edge requires particular care in Print Preview and when cutting.

Dynamic Layout: properly configured rectangles can change height, and lines can change position or, for vertical lines, length as the label layout changes. Configuration will be covered separately.

09Organizing Label Content

Example 1 – Colored Header Example

This 30 × 15 mm label combines a red rectangle with a white bold HOLOTYPE header, a separate field for the species name and author, and an identifier field. A fine horizontal line separates the identifier from the taxonomic data. The species name is italicized and the author is set in small caps.

Completed example label with a colored header.
Fig. 21. Completed example label with a colored header.

In the sample file, the header, taxonomic data and identifier are three independent TextBox elements. Change their content and formatting without changing the rectangle color. This is a demonstration, not a record of an actual type specimen.

Example 2 – Structured Label Example

This 40 × 20 mm label includes an outer border, a horizontal dotted line, a vertical solid line and three independent TextBox elements. Vertical text makes it possible to use a narrow side section for an identifier.

Template structure with three text fields.
Fig. 22. Template structure with three text fields.
The same structure after entering example data.
Fig. 23. The same structure after entering example data.

The downloadable template contains the text “Textbox” in each field. Replace it with your own content. Dividing the label into sections does not automatically resize the fields, so check that your data fits the available space.

10Printing Considerations

The Canvas is often highly magnified, so even a very fine line can look prominent. On a small printed label, its appearance depends on printer resolution, paper and print settings. There is no single thickness suitable for every application.

Before printing a large batch of labels, open Print Preview and check:

  • that lines and borders do not obscure text or extend beyond the label area;
  • that the background and text have sufficient contrast, including when printed in black and white;
  • that fine dotted and dashed lines remain legible;
  • that borders near the edges will not be cut off during trimming.

Make a test print at actual size (100% / Actual size, without fitting to the page) and assess it on the intended paper. Printing will be covered in detail in a separate guide.

11Saving Templates

When the design is complete, save the label as an ELT template using the tools in the Template section. The template retains geometry, colors, styles, stacking order and text content and formatting. Save a reusable structure before entering data for individual specimens so that you can use it repeatedly.

Example text in templates is actual content, not a placeholder that disappears automatically. Replace it before printing. For more information about saving and installing templates, see Understanding Templates.

12Download and Experiment

Download both sample templates. Neither requires external graphic files. Experiment with colors, thicknesses, styles, rounded corners and stacking order, and enter your own data.

30 × 15 mm
Fig. 24. 30 × 15 mm

Colored Header Example

Colored header, separator and formatted text.

Download ELT

Colored Header Example.elt

40 × 20 mm
Fig. 25. 40 × 20 mm

Structured Label Example

Border, two separators and three TextBox elements.

Download ELT

Structured Label Example.elt

How to use a downloaded template

  1. Save the ELT file in the Templates folder of the active Workspace or use Add Template File...
  2. If you copied the file manually, use Refresh Templates to update the list.
  3. Select the template and add a label to the document. Change the content and selected properties, then check Print Preview.

When saving your own variant, use a different name if you want to keep the original example.

13Summary

Lines divide a label into clear sections, while rectangles create borders and colored backgrounds. Precise coordinates, independent outline and fill properties, and stacking order allow you to build reusable templates. Combined with text formatting, these tools help you create labels suited to different scientific collections.

In the next guide, Working with Graphics we will discuss the use of graphic files on labels.