Difference: TextFormattingFAQ (17 vs. 18)

Revision 182005-03-27 - Main.TWikiContributor

Line: 1 to 1
 

Text Formatting FAQ

The most frequently asked questions about text formatting are answered. Also, TextFormattingRules contains the complete TWiki shorthand system on one quick reference page.

Line: 63 to 63
  The pre tag is standard HTML; verbatim is a special TWiki tag that forces text to fixed font mode, and also prevents other tags and TWiki shortcuts from being expanded.
Added:
>
>
NOTE: VARIABLES are still Set within verbatim tags (this is a historical peculiarity)
 

How do I create tables?

Line: 73 to 75
  1. Use Wiki rule with "|" vertical bars
Changed:
<
<
  • Example text:
    | cell A1 | cell B1 | cell C1 |
>
>
  • Example text:
    | cell A1 | cell B1 | cell C1 |
  | cell A2 | cell B2 | cell C2 |
  • Example output:
    cell A1 cell B1 cell C1
Line: 119 to 121
 

Can I include images on a page?

Changed:
<
<
Yes. The easiest way is to attach a GIF, JPG or PNG file to a topic and then to place it with: %ATTACHURL%/myImage.gif. This works only for the page that the image is attached to.
>
>
Yes. The easiest way is to attach a GIF, JPG or PNG file to a topic and then to place it with: %ATTACHURL%/myImage.gif. This works only for the topic where the image is attached to.
 
Changed:
<
<
To place an image on any page, ther are two ways of including inline images.
>
>
To place an image on any topic, there are two ways of including inline images.
  1. Using URL ending in .gif, .jpg, .jpeg, .png

This is a simple and automatic way of including inline images. Simply write the URL of the image file, this will create the inline image for you. NOTE: The images must be accessible as a URL.

Changed:
<
<
  • You enter: TWiki http://lean.enst.fr/wiki/pub/TWiki/TWikiLogos/twikilogo88x31.gif logo.
    Result: TWiki twikilogo88x31.gif logo.
>
>
  • You enter: %PUBURL%/TWiki/TWikiLogos/T-logo-80x15.gif logo.
    Result: T-logo-80x15.gif logo.
  You can upload images directly to your server with FTP access. You can also attach image files to a topic - you could even create a dedicated image topic, like ImageLibrary - and then link to the images directly:
  • Attach pic.gif to Someweb.SomeTopic
Changed:
<
<
Display with http://lean.enst.fr/wiki/pub/Someweb/SomeTopic/pic.gif
>
>
Display with %PUBURL%/Someweb/SomeTopic/pic.gif
  2. Using <img> tag
Changed:
<
<
This is a manual process where you have more control over the rendering of the image. Use the <img> tag of HTML to include GIF, JPG and PNG files. Note: The display of the topic is faster if you include the WIDTH and HEIGHT parameters that have the actual image size. http://www.htmlhelp.com/reference/wilbur/special/img.html has more on inline images.
>
>
This is a manual process where you have more control over the rendering of the image. Use the <img> tag of HTML to include GIF, JPG and PNG files. Note: The rendering of the topic is faster if you include the width and height parameters that have the actual image size. http://www.htmlhelp.com/reference/wilbur/special/img.html has more on inline images.
 
Changed:
<
<
  • You enter: TWiki <img src="http://lean.enst.fr/wiki/pub/TWiki/TWikiLogos/twikilogo88x31.gif" width="88" height="31" border="0" alt="logo" /> logo.
    Result:
    TWiki logo logo.
>
>
  • You enter: <img src="%PUBURLPATH%/TWiki/TWikiLogos/T-logo-80x15.gif" width="80" height="15" border="0" alt="logo" /> logo.
    Result:
    logo logo.
 

Can I write colored text?

Line: 158 to 160
 
Deleted:
<
<
-- TWiki:Main.PeterThoeny - 15 Aug 2004
-- TWiki:Main.MikeMannix - 14 Sep 2001
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TextFormattingFAQ