tcr#
Summary
- Description
-
Table cell - right aligned.
-
The variable
#
represents the table column number.
-
Syntax notes
In USFM, a table is composed by a series of paragraphs marked with \tr. The content for cells is marked with character types for tables, such as \th#. In USX the sequence of \tr rows is composed within a |
- Syntax
-
-
USFM:
\tcr#
content-
Use a dash
-
between a range of column numbers to indicate that the columns should be spanned. Example:\tcr1-2
-
-
USX:
<cell style="tcr#"
@colspan @align>
content</cell>
- colspan
-
Column spanning is indicated with an optional
colspan
attribute. Example:<cell style="tcr1" colspan="2" align="start">
- align
-
Cell alignment =
start
|center
|end
. Represents 'left', 'center', and 'right' respectively in left-to-right direction texts, and 'right', 'center', 'left' in right-to-left direction texts. - content
-
The cell text.
-
- Style Type
- Valid In
-
[Table]
- Added
-
1.0
Examples
-
USFM
-
USX
-
USJ
\id NUM
\c 2
\p
\v 3-9 On the east side, those under the banner of the division of Judah
shall camp in their groups, under their leaders, as follows:
\tr \th1 Tribe \th2 Leader \thr3 Number
\tr \tc1 Judah \tc2 Nahshon son of Amminadab \tcr3 74,600
\tr \tc1 Issachar \tc2 Nethanel son of Zuar \tcr3 54,400
\tr \tc1 Zebulun \tc2 Eliab son of Helon \tcr3 57,400
\tr \tcr1-2 Total: \tcr3 186,400
<usx version="3.1">
<book code="NUM" style="id"/>
<chapter number="2" style="c" sid="NUM 2"/>
<para style="p">
<verse number="3-9" style="v" sid="NUM 2:3-9"/>On the east side, those under the
banner of the division of Judah shall camp in their groups, under their leaders,
as follows:</para>
<table>
<row style="tr">
<cell style="th1" align="start">Tribe </cell>
<cell style="th2" align="start">Leader </cell>
<cell style="thr3" align="end">Number</cell>
</row>
<row style="tr">
<cell style="tc1" align="start">Judah </cell>
<cell style="tc2" align="start">Nahshon son of Amminadab </cell>
<cell style="tcr3" align="end">74,600</cell>
</row>
<row style="tr">
<cell style="tc1" align="start">Issachar </cell>
<cell style="tc2" align="start">Nethanel son of Zuar </cell>
<cell style="tcr3" align="end">54,400</cell>
</row>
<row style="tr">
<cell style="tc1" align="start">Zebulun </cell>
<cell style="tc2" align="start">Eliab son of Helon </cell>
<cell style="tcr3" align="end">57,400</cell>
</row>
<row style="tr">
<cell style="tcr1" align="end" colspan="2">Total: </cell>
<cell style="tcr3" align="end">186,400</cell>
</row>
...
</table>
</usx>
{
"type": "USJ",
"version": "3.1",
"content": [
{
"type": "book",
"marker": "id",
"code": "NUM",
"content": []
},
{
"type": "chapter",
"marker": "c",
"number": "2",
"sid": "NUM 2"
},
{
"type": "para",
"marker": "p",
"content": [
{
"type": "verse",
"marker": "v",
"number": "3-9",
"sid": "NUM 2:3-9"
},
"On the east side, those under the banner of the division of Judah shall camp in their groups, under their leaders, as follows:"
]
},
{
"type": "table",
"content": [
{
"type": "table:row",
"marker": "tr",
"content": [
{
"type": "table:cell",
"marker": "th1",
"align": "start",
"content": ["Tribe "]
},
{
"type": "table:cell",
"marker": "th2",
"align": "start",
"content": ["Leader "]
},
{
"type": "table:cell",
"marker": "thr3",
"align": "end",
"content": ["Number"]
}
]
},
{
"type": "table:row",
"marker": "tr",
"content": [
{
"type": "table:cell",
"marker": "tc1",
"align": "start",
"content": ["Judah "]
},
{
"type": "table:cell",
"marker": "tc2",
"align": "start",
"content": ["Nahshon son of Amminadab "]
},
{
"type": "table:cell",
"marker": "tcr3",
"align": "end",
"content": ["74,600"]
}
]
},
{
"type": "table:row",
"marker": "tr",
"content": [
{
"type": "table:cell",
"marker": "tc1",
"align": "start",
"content": ["Issachar "]
},
{
"type": "table:cell",
"marker": "tc2",
"align": "start",
"content": ["Nethanel son of Zuar "]
},
{
"type": "table:cell",
"marker": "tcr3",
"align": "end",
"content": ["54,400"]
}
]
},
{
"type": "table:row",
"marker": "tr",
"content": [
{
"type": "table:cell",
"marker": "tc1",
"align": "start",
"content": ["Zebulun "]
},
{
"type": "table:cell",
"marker": "tc2",
"align": "start",
"content": ["Eliab son of Helon "]
},
{
"type": "table:cell",
"marker": "tcr3",
"align": "end",
"content": ["57,400"]
}
]
},
{
"type": "table:row",
"marker": "tr",
"content": [
{
"type": "table:cell",
"marker": "tcr1",
"align": "end",
"colspan": "2",
"content": ["Total: "]
},
{
"type": "table:cell",
"marker": "tcr3",
"align": "end",
"content": ["186,400"]
}
]
},
" ... "
]
}
]
}
