Difference between revisions of "Command/inline"

From Wiki
Jump to navigation Jump to search
Line 6: Line 6:
== [[Help:Reference|Syntax]] (autogenerated) ==
== [[Help:Reference|Syntax]] (autogenerated) ==
== [[Help:Reference|Syntax]] ==
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<table cellspacing="4" cellpadding="2" class="cmd">

Latest revision as of 20:46, 13 January 2020


Syntax (autogenerated)



{...} text


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.



(\type{escape=yes} and \type{numbering=line} don't work together on the wiki.)

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}


See also

Help from ConTeXt-Mailinglist/Forum

All issues with: