From Wiki
Jump to navigation Jump to search



The command \inline is used to refer to numbered lines




The command \inline inserts a reference to one or multiple lines inside a typing that has been marked with a label. The curly braces are optional and may contain a text prefix. The default prefix is "line" or "lines" (with \mainlanguage[en]) depending on the number of referenced lines.


Example 1

See \inline[myline] and also \inline[myrange].\crlf
See \inline{typeline}[myline] and also \inline{typelines}[myrange].

% escape=yes enables /BTEX.../ETEX
"do i remember a girl with blue-/BTEX\startline[myrange]/ETEX
    sky eyes and sun-yellow hair?"
"do you?"/BTEX\stopline[myrange]/ETEX

     "that's very odd,
for i've never forgotten one frecklefaced lad"/BTEX\someline[myline]/ETEX

"what could have happened to her and him?"
"maybe they walked and called it a dream"
\rightaligned{---E.E. Cummings, excerpt from untitled poem}


Example 2

First line\crlf
Some text\someline[demo]\crlf
Another line


See \inline[demo] for some text


See also

Help from ConTeXt-Mailinglist/Forum

All issues with: