Changes

Jump to navigation Jump to search
636 bytes added ,  04:36, 28 February 2014
m
Created page with "== Description == The {{cmd|textwidth}} command contains a value that represents the width of the current line on the page. The value is contextual in that if the current line i..."
== Description ==

The {{cmd|textwidth}} command contains a value that represents the width of the current line on the page. The value is contextual in that if the current line is within a columnar environment, then {{cmd|textwidth}} returns the value of the current column width.

== Example ==

The following example scales a long line of text to prevent it from breaking over multiple lines.

<context src=yes>
\starttext
\startcolumns[rule=on,]
\scale[maxwidth=\textwidth]{
This line uses the scaled command to fit within a column's width.
}
\stopcolumns
\stoptext
</context>

== See Also ==

* {{cmd|makeupwidth}}
419

edits

Navigation menu