NovaRoma:Advanced Wiki Editing for Romans

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(to create non-automatic section numbering/lettering.: forced numbering)
(heading for next topic: templates for leges)
Line 96: Line 96:
 
:#The first subsection
 
:#The first subsection
 
:#The second subsection
 
:#The second subsection
 +
 +
 +
===Special Templates===

Revision as of 02:54, 18 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.

Arbitrary section numbering or lettering can be done by using the colon indent. Note, however, that the number or letter will not have a "hanging indent"; it will be flush with the left text margin. Bolding (surround with sets of three single quote marks) might be used to set off the symbol.

A. When using colon-indenting to create custom, non-automatic lettering or numbering of sections, the letter or number will be flush left with the text, not hanging out past the left margin. Just as this example is intended to show.

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


Special Templates

Personal tools