Home Emphasizing text Footnotes Schriftfarben
 The guide of UDO
 The syntax of UDO
 Emphasizing text

Text styles

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

At the moment UDO supports bold, italic, underlined, preformatted and non-proportional text.

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:

At the moment UDO supports
(!B)bold(!b),
(!I)italic(!i),
(!U)underlined(!u),
(!V)preformatted(!v) and
(!T)non-proportional text(!t).

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) * @{b} } } } </B>
(!I) / @{I} {\it {\i {\i <I>
(!i) / @{i} } } } </I>
(!U) _ @{U} {\underline {\ul {\ul <U>
(!u) _ @{u} } } } </U>
(!V) \verb+ {\f1 {\f1 <PRE>
(!v) + } } </PRE>
(!T) {\tt {\f1 {\f1 <TT>
(!t) } } } </TT>

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.

Please note:

Definitions are great for programming user-defined text styles. It's 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
Last updated on November 5, 2006

Home Emphasizing text Footnotes Schriftfarben