summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Thoeny <web-hurd@gnu.org>1999-08-09 06:38:25 +0000
committerPeter Thoeny <web-hurd@gnu.org>1999-08-09 06:38:25 +0000
commite1d83a61325bf76736d5430dc45253db7cf42994 (patch)
tree7dabc97411ff3d4ac3d5c5f52e7b0caf48c1251b
parent580c9b6a29e9dac1f613521167a10242a5dac8c6 (diff)
none
-rw-r--r--TWiki/TextFormattingFAQ.mdwn33
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 &lt;CODE&gt; and &lt;/CODE&gt; 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 &lt;PRE&gt; tags.
+1. Use Wiki rule with "|" vertical bars.
2. Use HTML tables with &lt;TABLE&gt;, &lt;TR&gt;, &lt;TD&gt; tags.
+3. Use preformatted text with &lt;PRE&gt; tags.
-**\_1. Use preformatted text with &lt;PRE&gt; 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 &lt;TABLE&gt;, &lt;TR&gt;, &lt;TD&gt; tags\_**
@@ -132,6 +145,10 @@ You can copy the example from &lt;TABLE&gt; to &lt;/TABLE&gt; 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 &lt;PRE&gt; 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 &lt;FONT COLOR="colorCode"&g
----
--- [[Main/PeterThoeny]] - 26 Oct 1998
+-- [[Main/PeterThoeny]] - 08 Aug 1999