Difference between revisions of "Command/fillinline"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \fillinline")
 
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
</cd:variants>
 
</cd:variants>
 
<cd:description>A line on which the reader may fill in an answer.
 
<cd:description>A line on which the reader may fill in an answer.
</cd:description>
+
 
<cd:examples><cd:example title=""><context source="yes" text="This gives:">
+
Typically each fill-in line should be its own paragraph, because it behaves a bit oddly: it pushes the actual fill-in field to the end of the paragraph while also keeping the required width on that side free.</cd:description>
 +
<cd:examples><cd:example title=""><context source="yes" mode="mkiv" text="This gives:">
 +
\setuppapersize[A7,landscape]
 
\starttext
 
\starttext
\noindent
+
\fillinline[width=2cm]{\it name}\par
\fillinline[width=2cm]{name}
+
\fillinline[width=2cm]{\it Which quote is this?} \input ward\par
\fillinline[width=4cm]{address}\par
 
 
 
\noindent
 
\fillinline[width=2cm]{name}\crlf
 
\fillinline[width=4cm]{address}\par
 
 
 
 
\stoptext
 
\stoptext
 
</context></cd:example></cd:examples>
 
</context></cd:example></cd:examples>

Latest revision as of 14:49, 16 November 2021


\fillinline

Summary

The command \fillinline creates fill-in lines.

Settings

\fillinline[...=...,...]
...=...,...inherits from \setupfillinlines

Description

A line on which the reader may fill in an answer.

Typically each fill-in line should be its own paragraph, because it behaves a bit oddly: it pushes the actual fill-in field to the end of the paragraph while also keeping the required width on that side free.

Examples

Example 1

\setuppapersize[A7,landscape]
\starttext
\fillinline[width=2cm]{\it name}\par
\fillinline[width=2cm]{\it Which quote is this?} \input ward\par
\stoptext

This gives:

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: