Macro Language Reference > PIs > Text > <?rbase>
  
<?rbase>
Description
Instructs PTC ALD that a piece of text is to form the base text of a ruby annotation.
 
This command is an alias of the <?rb> command.
 
Example 497. Denote base text for a ruby annotation
The example below shows how to specify a piece of base text. In this case, the base text is 'Base Text' and the ruby annotation before the base text is 'Annotation'.
<?ruby=1><?rb=1>Base Text<?rb=0><?rt=1>Annotation<?rt=0>
<?ruby=0>
This code will display as:
The next example is similar to the one above but specifies four different pieces of base text. In this case, the base texts are 'B1', 'B2', 'B3' and 'B4' and the ruby annotations before the base text are 'a 1', 'a 2', 'a 3', 'a 4'.
<?ruby=1><?rb=1>B1<?rb=1>B2<?rb=1>B3<?rb=1>B4<?rt=1>a 1
<?rt=1>a 2<?rt=1>a 3<?rt=1>a 4<?ruby=0>
This code will display as:
Each <?rb=1> specifies a new piece of base text.
 
There is no need to use the <?rb=0> command after specifying each new piece of base text. This is because when PTC ALD sees each <?rb=1> it assumes this is a new piece of base text.
Syntax
<?rbase on_off:o?>
<?rbase>
[no parameter]
The end of a piece of base text
on_off
0
The end of a piece of base text
1
The start of a new piece of base text
Related Links