# 8.6.1.7 Adding Graph Page Title/ Layer Title

From Origin 2023, Mini toolbar button supports to add Graph page title (for multi-layer graph) or Layer title. And there is a easy way to custom the width of the title.

## Graph Page Title

In the multi-panel graph, click the Add Page Title button in the Graph Page Mini Toolbar to add the title.

• The page title box is center aligned horizontally and wrap text is on. The size of the box is defined, not based wrap text result, so even change the font size, title box width will be kept.
• By default the page title box size is 70% of page width. Click it and use Mini toolbar button to change width.
• The page title name is _PTITLE. You also can use Labtalk script to custom the width of page title box.
_PTITLE.box=80
//Run this script. It can set page title box size to 80% of page width.

_PTITLE.box=1
//Run this script. The page title box can drag the handles around box to resize it.

_PTITLE.box=0
//Run this script. It will return to old text object behavior.  The size of text box will be decided by wrap result.

## Layer Title

To add layer title, click Add Layer Title button in the Layer Mini Toolbar.

• The layer title box is center aligned horizontally and wrap text is on. The size of the box is defined, not based wrap text result, so even change the font size, title box width will be kept.
• By default the layer title box size is 80% of page width. Click it and use Mini toolbar button to change width.
• The layer title name is _TITLE. You also can use Labtalk script to custom the width of layer title box.
_TITLE.box=60
//Run this script. It can set layer title box size to 60% of layer width.

_TITLE.box=1
//Run this script. The layer title box can drag the handles around box to resize it.

_TITLE.box=0
//Run this script. It will return to old text object behavior. The size of text box will be decided by wrap result.
<lt>