diff options
-rw-r--r-- | TWiki/TextFormattingFAQ.mdwn | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/TWiki/TextFormattingFAQ.mdwn b/TWiki/TextFormattingFAQ.mdwn index 84d731bd..6f2b06b7 100644 --- a/TWiki/TextFormattingFAQ.mdwn +++ b/TWiki/TextFormattingFAQ.mdwn @@ -62,10 +62,10 @@ If you do not intend to create a topic for a valid TWiki topic name, you can pre <a name="fixe">Q:</a> **How can I write fixed font text?** -Enclose text in <CODE> and </CODE> HTML tags. +Enclose text in "=" equal signs. -* Example text: <br />`Proportional text, <CODE> fixed font text, </CODE> proportional again.` -* Example output: <br /> Proportional text, ` fixed font text, ` proportional again. +* Example text: <br /><code>Proportional text, =fixed font text= , proportional again.</code> +* Example output: <br /> Proportional text, `fixed font text` , proportional again. Alternatively you could also use preformatted text, see next question for details. @@ -88,14 +88,27 @@ It is recommended to use preformatting for tables and source code. <a name="tabl">Q:</a> **How do I create tables?** -There are two possibilities: +There are three possibilities: -1. Use preformatted text with <PRE> tags. +1. Use Wiki rule with "|" vertical bars. 2. Use HTML tables with <TABLE>, <TR>, <TD> tags. +3. Use preformatted text with <PRE> tags. -**\_1. Use preformatted text with <PRE> tags\_** +**\_1. Use Wiki rule with "|" vertical bars\_** -See [Q:](#wrap) Text I enter gets wrapped around. How can I keep the formatting as it is? +* Example text: <br />`| cell A1 | cell B1 | cell C1 |`<br />`| cell A2 | cell B2 | cell C2 |` +* Example output: <table border="1" cellpadding="1" cellspacing="0"> + <tr> + <td> cell A1 </td> + <td> cell B1 </td> + <td> cell C1 </td> + </tr> + <tr> + <td> cell A2 </td> + <td> cell B2 </td> + <td> cell C2 </td> + </tr> +</table> **\_2. Use HTML tables with <TABLE>, <TR>, <TD> tags\_** @@ -132,6 +145,10 @@ You can copy the example from <TABLE> to </TABLE> and change it to y More information about HTML tables can be found at <http://www.htmlhelp.com/reference/wilbur/table/table.html> +**\_3. Use preformatted text with <PRE> tags\_** + +See [Q:](#wrap) Text I enter gets wrapped around. How can I keep the formatting as it is? + ---- <a name="imag">Q:</a> **Can I include images and pictures?** @@ -210,4 +227,4 @@ Place text you would like to specify a color inside <FONT COLOR="colorCode"&g ---- --- [[Main/PeterThoeny]] - 26 Oct 1998 +-- [[Main/PeterThoeny]] - 08 Aug 1999 |