HomeText stylingFootnotesText colors
User Manual UDO > The UDO syntax > Text styling Index

Text styles

UDO enables you to set text styles right inside the source file.

Currently UDO supports bold, italic, underlined, preformatted, non-proportional text, subscript, and superscript.

If you want to display a single word or some words in a certain text style you have to use them between the according placeholders. Look, how the upper paragraph was made:

Currently UDO supports
(!T)non-proportional text(!t),
(!SUB)subscript(!sub), and

In this table you will see in which way the placeholders will be replaced:

(!B) * @{B} {\bf {\b {\b
(!b) * @{b} } } }
(!I) / @{I} {\it {\i {\i
(!i) / @{i} } } }
(!U) _ @{U} {\underline {\ul {\ul
(!u) _ @{u} } } }
(!V) \verb+ {\f1 {\f1
(!v) + } }
(!T) {\tt {\f1 {\f1
(!t) } } }
(!SUB) $_{\mbox{ \sub
(!sub) }}${ \nosupersub
(!SUP) $^{\mbox{ \super
(!sup) }}${ \nosupersub

As you see here for the ASCII format there will be used the text style commands as they are used in Usenet. If you don't like them you can use the switch called !no_effects to suppress them. Use !no_effects [asc] to suppress the text style commands when converting to ASCII.


Definitions are great for programming user-defined text styles. It is for sure that you need some knowledge about the destination forma to do this. The following example shows how to use ghosted text which is available for the ST-Guide:

!ifdest [stg]
  !define G @{G}
  !define g @{g}
  !define G
  !define g

Normal and (!G)ghosted(!g).

Copyright © www.udo-open-source.org (Contact)
Last updated on May 19, 2014

HomeText stylingFootnotesText colors