Mark class names with monospace font.

This commit is contained in:
Kolan Sh 2014-07-25 18:30:55 +04:00
parent 592e75d484
commit cd955915a9
14 changed files with 61 additions and 61 deletions

View File

@ -16,7 +16,7 @@ namespace LAview {
public string height = ""; public string height = "";
/** /**
* Constructs a new //AddSpace// based on value. * Constructs a new ``AddSpace`` based on value.
* *
* @param height [0-9]+{bp,cc,cm,dd,em,ex,in,mm,pc,pt,sp} <<BR>> * @param height [0-9]+{bp,cc,cm,dd,em,ex,in,mm,pc,pt,sp} <<BR>>
* or [0-9]+.[0-9][0-9]{\textwidth,columnwidth,paperwidth,linewidth,textheight,paperheight} * or [0-9]+.[0-9][0-9]{\textwidth,columnwidth,paperwidth,linewidth,textheight,paperheight}
@ -28,14 +28,14 @@ namespace LAview {
private AddSpace () {} private AddSpace () {}
/** /**
* Gets a copy of the //AddSpace//. * Gets a copy of the ``AddSpace``.
*/ */
public override IDoc copy () { public override IDoc copy () {
return new AddSpace.with_params (height); return new AddSpace.with_params (height);
} }
/** /**
* Generates LaTeX string for the //AddSpace//. * Generates LaTeX string for the ``AddSpace``.
*/ */
public override string generate () { public override string generate () {
return height; return height;

View File

@ -29,14 +29,14 @@ namespace LAview {
public Style style = Style.DEFAULT; public Style style = Style.DEFAULT;
/** /**
* Constructs a new empty //AddSpaces//. * Constructs a new empty ``AddSpaces``.
*/ */
public AddSpaces () {} public AddSpaces () {}
protected override ADocList create_default_instance () { return new AddSpaces (); } protected override ADocList create_default_instance () { return new AddSpaces (); }
/** /**
* Gets a copy of the //AddSpaces//. * Gets a copy of the ``AddSpaces``.
*/ */
public override IDoc copy () { public override IDoc copy () {
var clone = base.copy () as AddSpaces; var clone = base.copy () as AddSpaces;
@ -45,7 +45,7 @@ namespace LAview {
} }
/** /**
* Generates LaTeX string for the //AddSpaces//. * Generates LaTeX string for the ``AddSpaces``.
*/ */
public override string generate () { public override string generate () {
var result = new StringBuilder (); var result = new StringBuilder ();

View File

@ -97,7 +97,7 @@ namespace LAview {
} }
/** /**
* Constructs a new //Cell// based on it's properties. * Constructs a new ``Cell`` based on it's properties.
*/ */
public Cell.with_params (Multitype multitype, uint ncells, uint nllines, string align, public Cell.with_params (Multitype multitype, uint ncells, uint nllines, string align,
uint nrlines, uint noverlines, uint nunderlines, uint nrlines, uint noverlines, uint nunderlines,
@ -117,7 +117,7 @@ namespace LAview {
private Cell () {} private Cell () {}
/** /**
* Gets a copy of the //Cell//. * Gets a copy of the ``Cell``.
*/ */
public override IDoc copy () { public override IDoc copy () {
return new Cell.with_params (multitype, ncells, nllines, align, nrlines, return new Cell.with_params (multitype, ncells, nllines, align, nrlines,
@ -125,7 +125,7 @@ namespace LAview {
} }
/** /**
* Generates LaTeX string for the //Cell//. * Generates LaTeX string for the ``Cell``.
*/ */
public override string generate () { public override string generate () {
var result = new StringBuilder (before), var result = new StringBuilder (before),

View File

@ -25,7 +25,7 @@ namespace LAview {
public uint nrlines; public uint nrlines;
/** /**
* Constructs a new //ColParam// by it's properties. * Constructs a new ``ColParam`` by it's properties.
*/ */
public ColParam.with_params (uint nllines = 1, public ColParam.with_params (uint nllines = 1,
string align = "c", string align = "c",
@ -38,14 +38,14 @@ namespace LAview {
private ColParam () {} private ColParam () {}
/** /**
* Gets a copy of the //ColParam//. * Gets a copy of the ``ColParam``.
*/ */
public override IDoc copy () { public override IDoc copy () {
return new ColParam.with_params (nllines, align, nrlines); return new ColParam.with_params (nllines, align, nrlines);
} }
/** /**
* Generates LaTeX string for the //ColParam//. * Generates LaTeX string for the ``ColParam``.
*/ */
public override string generate () { public override string generate () {
var result = new StringBuilder (); var result = new StringBuilder ();

View File

@ -10,7 +10,7 @@ namespace LAview {
protected override ADocList create_default_instance () { return new ColParams (); } protected override ADocList create_default_instance () { return new ColParams (); }
/** /**
* Constructs a new empty //ColParams//. * Constructs a new empty ``ColParams``.
*/ */
public ColParams () {} public ColParams () {}
} }

View File

@ -6,12 +6,12 @@ namespace LAview {
public interface IDoc : Object { public interface IDoc : Object {
/** /**
* Gets a copy of the //IDoc//. * Gets a copy of the ``IDoc``.
*/ */
public abstract IDoc copy (); public abstract IDoc copy ();
/** /**
* Generates LaTeX string for the //IDoc//. * Generates LaTeX string for the ``IDoc``.
*/ */
public abstract string generate (); public abstract string generate ();
} }
@ -24,14 +24,14 @@ namespace LAview {
protected ADoc () {} protected ADoc () {}
/** /**
* Gets a copy of the //ADoc//. * Gets a copy of the ``ADoc``.
*/ */
public virtual IDoc copy () { public virtual IDoc copy () {
return Object.new (this.get_type ()) as IDoc; return Object.new (this.get_type ()) as IDoc;
} }
/** /**
* Generates LaTeX string for the //ADoc//. * Generates LaTeX string for the ``ADoc``.
*/ */
public virtual string generate () { return ""; } public virtual string generate () { return ""; }
} }
@ -49,7 +49,7 @@ namespace LAview {
protected abstract ADocList create_default_instance (); protected abstract ADocList create_default_instance ();
/** /**
* Gets a copy of the //ADocList//. * Gets a copy of the ``ADocList``.
*/ */
public virtual IDoc copy () { public virtual IDoc copy () {
var clone = create_default_instance (); var clone = create_default_instance ();
@ -61,7 +61,7 @@ namespace LAview {
} }
/** /**
* Generates LaTeX string for the //ADocList//. * Generates LaTeX string for the ``ADocList``.
*/ */
public virtual string generate () { public virtual string generate () {
var result = new StringBuilder (); var result = new StringBuilder ();

View File

@ -8,7 +8,7 @@ namespace LAview {
protected override ADocList create_default_instance () { return new Glob (); } protected override ADocList create_default_instance () { return new Glob (); }
/** /**
* Constructs a new empty //Glob//. * Constructs a new empty ``Glob``.
*/ */
public Glob () {} public Glob () {}
} }

View File

@ -50,7 +50,7 @@ namespace LAview {
public string height_unit = ""; public string height_unit = "";
/** /**
* Constructs a new //Graphics// by it's properties. * Constructs a new ``Graphics`` by it's properties.
* *
* @param path path to the image on the disk. * @param path path to the image on the disk.
*/ */
@ -61,7 +61,7 @@ namespace LAview {
private Graphics () {} private Graphics () {}
/** /**
* Gets a copy of the //Graphics//. * Gets a copy of the ``Graphics``.
*/ */
public override IDoc copy () { public override IDoc copy () {
var clone = new Graphics.with_params (path); var clone = new Graphics.with_params (path);
@ -74,7 +74,7 @@ namespace LAview {
} }
/** /**
* Generates LaTeX string for the //Graphics//. * Generates LaTeX string for the ``Graphics``.
*/ */
public override string generate () { public override string generate () {
var str = new StringBuilder ("\\includegraphics["); var str = new StringBuilder ("\\includegraphics[");

View File

@ -10,19 +10,19 @@ namespace LAview {
public class Longtable : ATable { public class Longtable : ATable {
/** /**
* Constructs a new //Longtable// with default parameters. * Constructs a new ``Longtable`` with default parameters.
*/ */
public Longtable () {} public Longtable () {}
/** /**
* Gets a copy of the //Longtable//. * Gets a copy of the ``Longtable``.
*/ */
public override IDoc copy () { public override IDoc copy () {
return base.copy (); return base.copy ();
} }
/** /**
* Generates LaTeX string for the //Longtable//. * Generates LaTeX string for the ``Longtable``.
*/ */
public override string generate () { public override string generate () {
var s = new StringBuilder (); var s = new StringBuilder ();

View File

@ -18,28 +18,28 @@ namespace LAview {
DEFAULT = 0, DEFAULT = 0,
/** /**
* Formal style for the first //Row// in the {@link Subtable}. * Formal style for the first ``Row`` in the {@link Subtable}.
*/ */
FORMAL_FIRST, FORMAL_FIRST,
/** /**
* Formal style for the middle //Row// in the {@link Subtable}. * Formal style for the middle ``Row`` in the {@link Subtable}.
*/ */
FORMAL_REST, FORMAL_REST,
/** /**
* Formal style for the last //Row// in the {@link Subtable}. * Formal style for the last ``Row`` in the {@link Subtable}.
*/ */
FORMAL_LAST, FORMAL_LAST,
/** /**
* Formal style for a single //Row// in the {@link Subtable}. * Formal style for a single ``Row`` in the {@link Subtable}.
*/ */
FORMAL_SINGLE FORMAL_SINGLE
} }
/** /**
* Style of any operation on {@link ATable}/{@link Subtable} or //Row// * Style of any operation on {@link ATable}/{@link Subtable} or ``Row``
* for lines preserving/creation. * for lines preserving/creation.
*/ */
public enum OpLineStyle { public enum OpLineStyle {
@ -86,12 +86,12 @@ namespace LAview {
} }
/** /**
* Any text before the //Row//. * Any text before the ``Row``.
*/ */
public string before = ""; public string before = "";
/** /**
* Style of any operation on {@link ATable}/{@link Subtable} or //Row// * Style of any operation on {@link ATable}/{@link Subtable} or ``Row``
* for lines preserving/creation. * for lines preserving/creation.
*/ */
public Style style; public Style style;
@ -112,35 +112,35 @@ namespace LAview {
public AddSpaces between = new AddSpaces (); public AddSpaces between = new AddSpaces ();
/** /**
* Type of horizontal lines for the //Row//. * Type of horizontal lines for the ``Row``.
*/ */
public enum LinesType { public enum LinesType {
/** /**
* //Row// has no horizontal lines. * ``Row`` has no horizontal lines.
*/ */
NONE = 0, NONE = 0,
/** /**
* //Row// has continuous horizontal line on the top. * ``Row`` has continuous horizontal line on the top.
*/ */
HLINE, HLINE,
/** /**
* //Row// has noncontinuous horizontal line on the top. * ``Row`` has noncontinuous horizontal line on the top.
*/ */
CLINES CLINES
} }
/** /**
* Constructs a new empty //Row//. * Constructs a new empty ``Row``.
*/ */
public Row () {} public Row () {}
protected override ADocList create_default_instance () { return new Row (); } protected override ADocList create_default_instance () { return new Row (); }
/** /**
* Gets a copy of the //Row//. * Gets a copy of the ``Row``.
*/ */
public override IDoc copy () { public override IDoc copy () {
var clone = base.copy () as Row; var clone = base.copy () as Row;
@ -315,7 +315,7 @@ namespace LAview {
} }
/** /**
* Removes a {@link Cell} from the //Row//. * Removes a {@link Cell} from the ``Row``.
* *
* @param cell {@link Cell} to remove. * @param cell {@link Cell} to remove.
* @param line_style {@link Row.OpLineStyle} of the operation. * @param line_style {@link Row.OpLineStyle} of the operation.
@ -328,7 +328,7 @@ namespace LAview {
} }
/** /**
* Removes a {@link Cell} from the //Row// at specified position. * Removes a {@link Cell} from the ``Row`` at specified position.
* *
* @param index position of the {@link Cell} to remove. * @param index position of the {@link Cell} to remove.
* @param line_style {@link Row.OpLineStyle} of the operation. * @param line_style {@link Row.OpLineStyle} of the operation.
@ -362,7 +362,7 @@ namespace LAview {
} }
/** /**
* Inserts a {@link Cell} to the //Row// to specified position. * Inserts a {@link Cell} to the ``Row`` to specified position.
* *
* @param index position to insert the {@link Cell}. * @param index position to insert the {@link Cell}.
* @param cell {@link Cell} to insert. * @param cell {@link Cell} to insert.
@ -374,7 +374,7 @@ namespace LAview {
} }
/** /**
* Adds a {@link Cell} to the //Row//. * Adds a {@link Cell} to the ``Row``.
* *
* @param cell {@link Cell} to add. * @param cell {@link Cell} to add.
* @param line_style {@link Row.OpLineStyle} of the operation. * @param line_style {@link Row.OpLineStyle} of the operation.
@ -385,7 +385,7 @@ namespace LAview {
} }
/** /**
* Generates LaTeX string for the //Row//. * Generates LaTeX string for the ``Row``.
*/ */
public override string generate () { public override string generate () {
var s = new StringBuilder (); var s = new StringBuilder ();

View File

@ -13,12 +13,12 @@ namespace LAview {
public string caption = ""; public string caption = "";
/** /**
* Any text before the //Subtable//. * Any text before the ``Subtable``.
*/ */
public string before = ""; public string before = "";
/** /**
* Any text after the //Subtable//. * Any text after the ``Subtable``.
*/ */
public string after = ""; public string after = "";
@ -30,12 +30,12 @@ namespace LAview {
protected override ADocList create_default_instance () { return new Subtable (); } protected override ADocList create_default_instance () { return new Subtable (); }
/** /**
* Constructs a new empty //Subtable//. * Constructs a new empty ``Subtable``.
*/ */
public Subtable () {} public Subtable () {}
/** /**
* Gets a copy of the //Subtable//. * Gets a copy of the ``Subtable``.
*/ */
public override IDoc copy () { public override IDoc copy () {
var clone = base.copy () as Subtable; var clone = base.copy () as Subtable;
@ -210,7 +210,7 @@ namespace LAview {
} }
/** /**
* Removes {@link Row} from from //Subtable//. * Removes {@link Row} from from ``Subtable``.
* *
* @param row {@link Row} to remove. * @param row {@link Row} to remove.
* @param line_style {@link Row.OpLineStyle} of the operation. * @param line_style {@link Row.OpLineStyle} of the operation.
@ -223,7 +223,7 @@ namespace LAview {
} }
/** /**
* Removes a {@link Row} from the //Subtable// at specified position. * Removes a {@link Row} from the ``Subtable`` at specified position.
* *
* @param index position of the {@link Row} to remove. * @param index position of the {@link Row} to remove.
* @param line_style {@link Row.OpLineStyle} of the operation. * @param line_style {@link Row.OpLineStyle} of the operation.
@ -245,7 +245,7 @@ namespace LAview {
} }
/** /**
* Inserts a {@link Row} to the //Subtable// to specified position. * Inserts a {@link Row} to the ``Subtable`` to specified position.
* *
* @param index position to insert the {@link Row}. * @param index position to insert the {@link Row}.
* @param row {@link Row} to insert. * @param row {@link Row} to insert.
@ -257,7 +257,7 @@ namespace LAview {
} }
/** /**
* Adds a {@link Row} to the //Subtable//. * Adds a {@link Row} to the ``Subtable``.
* *
* @param row {@link Row} to add. * @param row {@link Row} to add.
* @param line_style {@link Row.OpLineStyle} of the operation. * @param line_style {@link Row.OpLineStyle} of the operation.
@ -309,7 +309,7 @@ namespace LAview {
} }
/** /**
* Generates LaTeX string for the //Subtable//. * Generates LaTeX string for the ``Subtable``.
*/ */
public override string generate () { public override string generate () {
var s = new StringBuilder (); var s = new StringBuilder ();

View File

@ -55,7 +55,7 @@ namespace LAview {
protected ATable () {} protected ATable () {}
/** /**
* Gets a copy of the //Table//. * Gets a copy of the ``ATable``.
*/ */
public override IDoc copy () { public override IDoc copy () {
var clone = Object.new (this.get_type ()) as ATable; var clone = Object.new (this.get_type ()) as ATable;
@ -73,7 +73,7 @@ namespace LAview {
} }
/** /**
* Generates LaTeX string for the //Table//. * Generates LaTeX string for the ``ATable``.
*/ */
public override string generate () { public override string generate () {
assert (false); assert (false);

View File

@ -10,7 +10,7 @@ namespace LAview {
public class Tabular : ATable { public class Tabular : ATable {
/** /**
* Constructs a new //Tabular// with default parameters. * Constructs a new ``Tabular`` with default parameters.
*/ */
public Tabular () {} public Tabular () {}
@ -24,7 +24,7 @@ namespace LAview {
public string width = ""; public string width = "";
/** /**
* Gets a copy of the //Tabular//. * Gets a copy of the ``Tabular``.
*/ */
public override IDoc copy () { public override IDoc copy () {
var clone = base.copy () as Tabular; var clone = base.copy () as Tabular;
@ -33,7 +33,7 @@ namespace LAview {
} }
/** /**
* Generates LaTeX string for the //Tabular//. * Generates LaTeX string for the ``Tabular``.
*/ */
public override string generate () { public override string generate () {
var s = new StringBuilder (); var s = new StringBuilder ();

View File

@ -11,7 +11,7 @@ namespace LAview {
public string text = ""; public string text = "";
/** /**
* Constructs a new //Text//. * Constructs a new ``Text``.
* *
* @param text UTF-8 string. * @param text UTF-8 string.
*/ */
@ -20,14 +20,14 @@ namespace LAview {
} }
/** /**
* Gets a copy of the //Text//. * Gets a copy of the ``Text``.
*/ */
public override IDoc copy () { public override IDoc copy () {
return new Text (text); return new Text (text);
} }
/** /**
* Generates LaTeX string for the //Text//. * Generates LaTeX string for the ``Text``.
*/ */
public override string generate () { public override string generate () {
return text; return text;