Difference between revisions of "Command/setuptab"

From Wiki
Jump to navigation Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
m (Various bits of toying around)
Line 8: Line 8:
 
   <tr>
 
   <tr>
 
     <td colspan="2" class="cmd">\setuptab<span class="first" >[...,...=...,...]</span></td>
 
     <td colspan="2" class="cmd">\setuptab<span class="first" >[...,...=...,...]</span></td>
 +
  </tr>
 +
  <tr valign="top" class="first">
 +
    <td class="cmd">[[Command/keyword:headstyle|headstyle]]</td>
 +
    <td>'''[[Command/value:normal|normal]]''' [[Command/value:bold|bold]] [[Command/value:slanted|slanted]] [[Command/value:boldslanted|boldslanted]] [[Command/value:type|type]] [[Command/value:cap|cap]] [[Command/value:small...|small...]] [[Command/value:command|command]] </td>
 +
  </tr>
 +
  <tr valign="top" class="first">
 +
    <td class="cmd">[[Command/keyword:headcolor|headcolor]]</td>
 +
    <td>''color''</td>
 +
  </tr>
 +
  <tr valign="top" class="first">
 +
    <td class="cmd">[[Command/keyword:style|style]]</td>
 +
    <td>'''[[Command/value:normal|normal]]''' [[Command/value:bold|bold]] [[Command/value:slanted|slanted]] [[Command/value:boldslanted|boldslanted]] [[Command/value:type|type]] [[Command/value:cap|cap]] [[Command/value:small...|small...]] [[Command/value:command|command]] </td>
 +
  </tr>
 +
  <tr valign="top" class="first">
 +
    <td class="cmd">[[Command/keyword:color|color]]</td>
 +
    <td>''color''</td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
Line 15: Line 31:
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
 
     <td class="cmd">[[Command/keyword:width|width]]</td>
 
     <td class="cmd">[[Command/keyword:width|width]]</td>
     <td>[[Command/value:dimension|dimension]] </td>
+
     <td>[[Command/value:dimension|dimension]] default: broad</td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
     <td class="cmd">[[Command/keyword:headstyle|headstyle]]</td>
+
     <td class="cmd">[[Command/keyword:sample|sample]]</td>
     <td>[[Command/value:normal|normal]] [[Command/value:bold|bold]] [[Command/value:slanted|slanted]] [[Command/value:boldslanted|boldslanted]] [[Command/value:type|type]] [[Command/value:cap|cap]] [[Command/value:small...|small...]] [[Command/value:command|command]] </td>
+
     <td>[[Command/value:dimension|dimension]] default: \hskip4em</td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
 
     <td class="cmd">[[Command/keyword:location|location]]</td>
 
     <td class="cmd">[[Command/keyword:location|location]]</td>
     <td>[[Command/value:left|left]] [[Command/value:right|right]] </td>
+
     <td>'''left'''</td>
 
   </tr>
 
   </tr>
 
</table>
 
</table>
  
 +
== Description ==
  
== Description ==  
+
== Example ==
 +
<context source=yes>
 +
\setupwhitespace[big]
 +
 
 +
asdfx asdfx asdfx asdfx adsfx
 +
 
 +
\tab{11} asdfx asdfx
 +
 
 +
\setuptab[width=0cm, headstyle=slanted]
 +
\tab{11} asdfx asdfx
 +
 
 +
\setuptab[sample={asdfx asdfx}]
 +
\tab{11} asdfx asdfx
  
 +
\setuptab[sample=asdfx]
 +
\tab{11} asdfx asdfx
  
  
== Example ==
+
</context>
<!-- Please fill in an example if you can -->
 
  
 
== See also ==
 
== See also ==
Line 43: Line 73:
  
 
[[Category:Commands|setuptab]]
 
[[Category:Commands|setuptab]]
 +
/td>

Revision as of 22:34, 6 June 2012

\setuptab

Syntax

\setuptab[...,...=...,...]
headstyle normal bold slanted boldslanted type cap small... command
headcolor color
style normal bold slanted boldslanted type cap small... command
color color
sample text
width dimension default: broad
sample dimension default: \hskip4em
location left

Description

Example

\setupwhitespace[big]

asdfx asdfx asdfx asdfx adsfx

\tab{11} asdfx asdfx

\setuptab[width=0cm, headstyle=slanted]
\tab{11} asdfx asdfx

\setuptab[sample={asdfx asdfx}]
\tab{11} asdfx asdfx

\setuptab[sample=asdfx]
\tab{11} asdfx asdfx


See also

Help from ConTeXt-Mailinglist/Forum

All issues with:

/td>