Difference between revisions of "Command/setuplinenumbering"

From Wiki
Jump to navigation Jump to search
(→‎Description: mention style=\tfxx for small line numbers)
(autosyntax)
Line 5: Line 5:
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
 
  <tr>
 
    <td colspan="2" class="cmd">\setuplinenumbering<span class="first" >[...,...=...,...]</span></td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:conversion|conversion]]</td>
 
    <td>[[Command/value:numbers|numbers]] [[Command/value:characters|characters]] [[Command/value:Characters|Characters]] [[Command/value:romannumerals|romannumerals]] [[Command/value:Romannumerals|Romannumerals]] [[Command/value:text|text]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:start|start]]</td>
 
    <td>[[Command/value:number|number]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:step|step]]</td>
 
    <td>[[Command/value:number|number]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:width|width]]</td>
 
    <td>[[Command/value:dimension|dimension]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:location|location]]</td>
 
    <td>[[Command/value:intext|intext]] [[Command/value:inmargin|inmargin]] </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:prefix|prefix]]</td>
 
    <td>[[Command/value:text|text]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:referencing|referencing]]</td>
 
    <td>[[Command/value:on|on]] [[Command/value:off|off]] </td>
 
  </tr>
 
</table>
 
  
 +
<syntax>setuplinenumbering</syntax>
 +
 +
* name: optional, for {{cmd|definelinenumbering}}
 +
* conversion: e.g. numbers characters Characters romannumerals Romannumerals text
 +
* step: only number every nth line
 +
* continue: continue numbering from previous linenumbering block
  
 
== Description ==
 
== Description ==
Line 57: Line 26:
 
== See also ==
 
== See also ==
 
<!-- something like {{cmd|goto}} -->
 
<!-- something like {{cmd|goto}} -->
 +
* {{cmd|setuptyping}}
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 19:55, 19 October 2019

\setuplinenumbering

Syntax

\setuplinenumbering[...,...][...=...,...]
[...,...]name
startnumber
stepnumber
methodpage first next
conversionname
continueyes no
locationtext begin end default left right inner outer inleft inright margin inmargin
distancedimension
aligninner outer flushleft flushright left right middle auto
commandoneargument
leftcommand
rightcommand
margindimension
widthmargin dimension
stylestyle command
colorcolor


  • name: optional, for \definelinenumbering
  • conversion: e.g. numbers characters Characters romannumerals Romannumerals text
  • step: only number every nth line
  • continue: continue numbering from previous linenumbering block

Description

For example, to print the line numbers in a tiny font, not at normal text size:

\setuplinenumbering[style=\tfxx]

Example

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: