Help - Old:Document formats (until 2.0.24)

From TreeGraph help
ArticleOnOlderVersion.png This article describes this feature for TreeGraph 2.0.24 or (not necessaryly all) earlier versions. See here for the article on the latest version and a list on other available article versions.


Document formats affect the whole document and are not specific for a single document element. To change them you can select Document formats from the format menu (or from the context menu, the tool bar or use the keyboard shortcut F5) which displays the document formats dialog.

There are several different document formats which can be accessed by the tabs of the document formats dialog.

Tabs of the document formats dialog

Document

In this tab you can adjust the margin of the document which means how much empty space shall be between the document elements and e.g. the borders of the exported graphic.

Branches and labels

This tab contains all document formats that effect the positioning and the size of branches and their labels.

Distance per branch length unit

Here you can specify a value in millimeters or points which defines the length of a branch length unit. (If you have a branch with a stored length of 10 and specify a value of 5 mm here, the branch will be displayed 50 mm long.) Branch lengths are only displayed in the respective view mode.

Show scale bar

If you check this option a scale bar will be displayed below the tree which can than be customized with the element formats dialog. You can also access this option directly with a tool bar button without opening this dialog.

Show rooted tree

Check this option if you want the root branch to be displayed or uncheck it if you want the tree to be displayed unrooted. If you uncheck this option the root branch and its labels are not shown anymore but they are not deleted, which means you can make them visible again at any time later. You can also access this option directly with a tool bar button without opening this dialog.

Horizontal label spacing

Defines the space that is left between two lines of a label block.

Vertical label spacing

Defines the space that is left between two labels in a line.

Label block distance

Defines the space that is left between a label block ans the branch that is carrying the labels. This format is offered additionally to label block margin to define the distance to the branch independent from the position of the label block to the branch (above or below).

Label block margin

You can specify the space that should be left around a label block here. Note that the label block distance is added to the bottom-value of the upper and the top-value of the lower label block.

Nodes

Internal node margin

Leaf margin

Defines the space that should be left around terminal nodes (e.g. taxon names).

Legends

Legend spacing

Defines the space that is left between the tree and the left most legend.

Legend margin

Defines how much space should be left around a legend.

Background color

You can select a background color here. Note that you can also choose to have transparent background when you export your document to certain graphic formats (e.g. SVG or PNG). (See Exporting trees as graphics for details.)

See also