NovaRoma:Advanced Wiki Editing for Romans

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(more rant about proper nesting)
(colon indents with automatic lists)
Line 19: Line 19:
  
  
===Using the colon indent===
+
===Using the colon indent...===
 +
 
 +
A colon placed as ''the first character on a new line'' will indent everything until the next line break.
 +
 
 +
'''Do not use colons in an arbitrary manner!''' Colons are not a page decoration tool. A two-colon-indent element should be contained only in a one-colon-indent element and should contain only three-colon-indent elements. Resist the temptation to use arbitrary numbers of colons to make an article "look good". It will only "look good" on your computer. Other users with other systems/browsers/display sizes will see the page differently and it ''will not look good'' to them.
 +
 
 +
 
 +
====to indent text.====
  
 
Use a colon at the beginning of a line to indent a line or paragraph.
 
Use a colon at the beginning of a line to indent a line or paragraph.
Line 31: Line 38:
 
::Use additional colons to create deeper nests of indents.
 
::Use additional colons to create deeper nests of indents.
  
'''Do not use colons in an arbitrary manner!''' Colons are not a page decoration tool. A two-colon-indent element should be contained only in a one-colon-indent element and should contain only three-colon-indent elements. Resist the temptation to use arbitrary numbers of colons to make an article "look good". It will only "look good" on your computer. Other users with other systems/browsers/display sizes will see the page differently and it ''will not look good'' to them.
+
 
 +
====to create non-automatic section numbering/lettering.====
 +
 
 +
...
 +
 
 +
 
 +
====with bullet and number lists.====
 +
 
 +
Normally, automatic lists indent themselves, as in this example:
 +
 
 +
<nowiki>#A section </nowiki>
 +
<nowiki>#A section with two subsections </nowiki>
 +
<nowiki>##The first subsection </nowiki>
 +
<nowiki>##The second subsection </nowiki>
 +
 
 +
#A section
 +
#A section with two subsections
 +
##The first subsection
 +
##The second subsection
 +
 
 +
 
 +
But using lettered sections with numbered subsections creates a problem. Either we get no subsection indenting:
 +
 
 +
<nowiki>:A. The first section </nowiki>
 +
<nowiki>:B. The second section has two numbered subsections: </nowiki>
 +
<nowiki>#The first subsection </nowiki>
 +
<nowiki>#The second subsection </nowiki>
 +
 
 +
:A. The first section
 +
:B. The second section has two numbered subsections:
 +
#The first subsection
 +
#The second subsection
 +
 
 +
Or we get a superfluous digit:
 +
 
 +
<nowiki>:A. The first section </nowiki>
 +
<nowiki>:B. The second section has two numbered subsections: </nowiki>
 +
<nowiki>##The first subsection </nowiki>
 +
<nowiki>##The second subsection </nowiki>
 +
 
 +
:A. The first section
 +
:B. The second section has two numbered subsections:
 +
##The first subsection
 +
##The second subsection
  
  
===Using the colon indent to create non-automatic section numbering/lettering===
+
The solution is to use colon indents with the automatic lists (either number or bullet):
  
 +
<nowiki>:A. The first section </nowiki>
 +
<nowiki>:B. The second section has two numbered subsections: </nowiki>
 +
<nowiki>:#The first subsection </nowiki>
 +
<nowiki>:#The second subsection </nowiki>
  
===Using the colon indent with bullet and number lists.===
+
:A. The first section
 +
:B. The second section has two numbered subsections:
 +
:#The first subsection
 +
:#The second subsection

Revision as of 03:40, 17 June 2006

Advanced topics will be added here shortly.


Contents

Formatting Leges

Leges, edicta and similar documents need special treatment.

Special class "scriptum" marks special text.

The actual text of leges (and edicta) should not be subject to edits. This text is marked in this Wiki by containing it in a "division" that gives it a special color and border. The division uses a class called "scriptum". Here is an example:

<div class="scriptum">
Text that we want to mark as unchangable.
</div>

Text that we want to mark as unchangable.


Using the colon indent...

A colon placed as the first character on a new line will indent everything until the next line break.

Do not use colons in an arbitrary manner! Colons are not a page decoration tool. A two-colon-indent element should be contained only in a one-colon-indent element and should contain only three-colon-indent elements. Resist the temptation to use arbitrary numbers of colons to make an article "look good". It will only "look good" on your computer. Other users with other systems/browsers/display sizes will see the page differently and it will not look good to them.


to indent text.

Use a colon at the beginning of a line to indent a line or paragraph.

A normal line of text.
:A line of text with a colon in the first position.
::Use additional colons to create deeper nests of indents.

A normal line of text.

A line of text with a colon in the first position.
Use additional colons to create deeper nests of indents.


to create non-automatic section numbering/lettering.

...


with bullet and number lists.

Normally, automatic lists indent themselves, as in this example:

#A section 
#A section with two subsections 
##The first subsection 
##The second subsection 
  1. A section
  2. A section with two subsections
    1. The first subsection
    2. The second subsection


But using lettered sections with numbered subsections creates a problem. Either we get no subsection indenting:

:A. The first section 
:B. The second section has two numbered subsections: 
#The first subsection 
#The second subsection 
A. The first section
B. The second section has two numbered subsections:
  1. The first subsection
  2. The second subsection

Or we get a superfluous digit:

:A. The first section 
:B. The second section has two numbered subsections: 
##The first subsection 
##The second subsection 
A. The first section
B. The second section has two numbered subsections:
    1. The first subsection
    2. The second subsection


The solution is to use colon indents with the automatic lists (either number or bullet):

:A. The first section 
:B. The second section has two numbered subsections: 
:#The first subsection 
:#The second subsection 
A. The first section
B. The second section has two numbered subsections:
  1. The first subsection
  2. The second subsection
Personal tools