#T operator

Build 1501 on 14/Nov/2017  This topic last edited on: 24/Oct/2016, at 14:39

#T operator is used for:

Multi-part (nested or cascading) paragraph styles operator

Placeholder for XML output.

Cascading paragraph style operator

Each #T operator in a cascading style delimits a style part.

Let's examine a cascading paragraph style >fc< which contains following tags:

>f 9011<#T>h 22<>f 9014<>co Red<

When you apply it in Ted4 or Fred4, and type some text, what you types is formatted by the part of the style before #T operator, e.g. it is in the font 9011. So far, everything is the same as with normal paragraph styles. But if you insert a Bell character, as:

>fc<All@you need is love

the you need is love is formatted with >h 22<>f 9014<>co Red<, i.e the tags after the #T operator.

You can define as much as you want cascading operators, for example as in style >fc2< that has three operators:

>f 9011<#T>h 22<>f 9014<>co Red<#T>h 10<>co Y<#T>co C<

In this case, All is formatted with font 9011 in the default format size, while you is formatted as 22pt in font 9014 in red, and need is appears in 10pt yellow text, while love appears in cyan color.

>fc<All@you@need is@love

#T as placeholder for XML output

This is explained in Syntax of XML output tags.