Thank Bronwen Dekker for telling me Textism, a product of TextPattern. Now I have I believe the most complete list of formatting skills. The following instruction requires a basic knowledge of HTML or other marked-up language.
-
On The Road
A Soldier's Song
-
Textism - A better guide to formatting in Nature Network
- Date:
- Sunday, 09 Sep tember 2007 - 19:24 UTC
1. Blocks
Note:
- All block modifiers are ended with a dot;
- An empty line should be added both before and after a block to separate the style with the rest of the text.
h4. Header 4Header 4
Note:
- You can have up to 6 levels of headers (h1. to h6.)
- Headers can be alternatively defined by # symbol. See the former post.
——
p. paragraphparagraph
Note: Applied by default.
——
bq. block quotationblock quotation
bq.:http://citation.url Text...Text…
Note: Like adding a cite attribute to the blockquote tag
——
Ref[1]
Ref1fn1. Footnote 11 Footnote 1
Note:
- Try clicking the reference superscript.
- You can have up to 100 items of footnotes.
——
# Numeric List
## Numeric List- Numeric List
- Numeric List
——
* Bullet List
** Bullet List- Bullet List
- Bullet List
2. Applying Attributes
In HTML coding, block tags such as p and span can have attributes assigned. The block modifiers above can also have some attributes corresponding to HTML coding.
2.1 Class and ID
Plain parentheses () inserted between block syntax and the closing dot-space indicate classes and ids:
p(hector). paragraph
Adding a class named hector to the p tag.
——
p(#fluid). paragraph
Adding an id named fluid to the p tag.
——
p(hectorfluid). paragraph@
Adding both at the same time.2.2 Style
Curly brackets {} insert arbitrary CSS style.
p{color:red}. paragraphparagraph
——
#{color:blue} one
# two- one
- two
——
%{color:green}style a phrase%
style a phrase
The % modifier defines a span tagNote: Only some style syntaxes are supported.
2.3 Language
Square brackets [] insert language attributes.
%[fr]phrase
phrase
This modifier adds a lang attribute whose value equal to fr to the span tag.3. Tables
Separate different cells in a row with |. Each line defines a row. The width of each column is defined by the widest cell in it. The width of the table is defined by the sum of all columns. You can have different number of cells between rows, but you cannot defined an empty cell for space holder.
@ |a|simple|table|row| @
@ |And|Another|(oops an additional cell)|table|row|@
|a|simple|table||row|
|And|Another|(oops an additional cell)|table|row|——
A table header row A simple table row|_. A|_. table|_. header|_.row|
|A|simple|table|row|Each cell of the header row is defined by a block modifier with an ending dot, so an empty line is needed before the table.
4. Phrase modifiers
_emphasis_
emphasis——
__italic__
italic——
*strong*
strong——
**bold**
bold——
??citation??
citation
This modifier adds a cite tag——
-deleted text-
-deleted text-——
+inserted text+
inserted text——
^13^C NMR
^13^C NMR——
H~2~O
H~2~O——
==*no text tile*==
*no text tile*——
The result of:
"Nature(hover tooltip)":http://www.nature.com
is:
Nature
A plain parentheses define the tooltip showing when you hover the link. It is optional.——
The result of:
!http://network.nature.com/images/topnav_global_bg.gif(Nature Network)!:http://network.nature.com
is:

The parentheses and the link are optional.5. Symbols
A limited number of HTML tag is supported directly, so at least you can type all the >HTML 4.0 Entities.
@ Inclusion complex of poly(ε-caprolactone) and α-cyclodextrin @
Inclusion complex of poly(ε-caprolactone) and α-cyclodextrin——
@ Temperature was controlled at 70±0.1°C @
Temperature was controlled at 70±0.1°C6. Final Words
Not all syntax of Textism is available in Nature Network. For example, all text alignment definition s are not supported in NN. However, some syntax such as the # method to define header are not of Textism, so it seems that NN uses a combined text formatting system. There are still much to exploit.
Last updated: Sunday, 09 Sep 2007 - 19:24 UTC
-
Comments
-
The ^13^C NMR example does not properly show up in the example… but it does in the preview of this item, though.
Oh, what about applets, like Jmol ?
Thank you for pointing out the problem. It is fixed now.
The Java applets as well as ActiveX and Flash media need allowance of the object tag which is not available in the current formatting system. The limited/non HTML editors implemented here and some other blogging system like MSN Spaces are believed to help conserving the tidiness and safety of the website. So if the system doesn’t provide an ‘insert’ button for theses objects you cannot add them by code pasting.
Thanks for this reference, Andrew!
The Textism site also has a useful preview feature with a quick list of abbreviations on the right.
Totally useful – long after the initial post. ’Twill be my reference. Thanks.
Can you tell me how to divide a text to several paragraphs? “p.paragraph” seems doesn’t work
Hi again Lei – this may be a bug so I have reported it in the “what’s wrong forum”: http://network.nature.com/groups/whats-wrong/forum/topics