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
(!B)bold(!b),
(!I)italic(!i),
(!U)underlined(!u),
(!V)preformatted(!v),
(!T)non-proportional text(!t),
(!SUB)subscript(!sub), and
(!SUP)superscript(!sup).

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

UDO ASCII ST-Guide LaTeX RTF WinHelp HTML
(!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.

Hint:

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}
!else
  !define G
  !define g
!endif

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

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

HomeText stylingFootnotesText colors