Difference between revisions of "Command/ starttabulate"

From Wiki
Jump to navigation Jump to search
(Replace tilde with \unit command and fix typo)
 
Line 37: Line 37:
 
<context source="yes">
 
<context source="yes">
 
\startfact
 
\startfact
\fact velocity \\ v \\ 10˜m/s \\
+
\fact velocity     \\ v \\ \unit{10 m/s\\
\fact accelaration \\ a \\ - 3˜m/sˆ2 \\
+
\fact acceleration \\ a \\ \unit{-3 m/s^2} \\
\fact time \\ t \\ 3˜s \\
+
\fact time         \\ t \\ \unit{3 s}      \\
 
\stopfact
 
\stopfact
 
</context>
 
</context>
  
 
The two last columns are in mathematical mode, the last column displays text in the
 
The two last columns are in mathematical mode, the last column displays text in the
normal font. The ˜ is obligatory, because spaces are ignored in mathematical mode.
+
normal font.
 
</cd:example></cd:examples>
 
</cd:example></cd:examples>
 
<cd:notes></cd:notes>
 
<cd:notes></cd:notes>

Latest revision as of 20:30, 29 August 2020


\starttabulate ... \stoptabulate

Summary

The instances of \starttabulate ... \stoptabulate are used for special tabulated material.

Instances

\startlegend ... \stoplegend
\startfact ... \stopfact

Settings instance

\startTABULATE[...][...=...,...] ... \stopTABULATE
[...]name
...=...,...inherits from \setuptabulate

Description

Examples

Legends

\startlegend
\leg Lemma\\Symbol\\Word\\
\leg Dilemma\\Prince\\Foo bar baz\\
\stoplegend


Facts

Complementary to legends is a command that displays facts in a consistent way when formulae are used for calculations.

\startfact
\fact velocity     \\ v \\ \unit{10 m/s}   \\
\fact acceleration \\ a \\ \unit{-3 m/s^2} \\
\fact time         \\ t \\ \unit{3 s}      \\
\stopfact

The two last columns are in mathematical mode, the last column displays text in the normal font.

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: