Difference between revisions of "Command/setupfillinlines"

From Wiki
Jump to navigation Jump to search
(Create reference page)
 
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
 
|name=setupfillinlines
 
|name=setupfillinlines
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>setupfillinlines</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 12: Line 13:
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
     <td class="cmd">[[Reference/en/keyword:width|width]]</td>
+
     <td class="cmd">[[Command/keyword:width|width]]</td>
     <td>[[Reference/en/value:dimension|dimension]] </td>
+
     <td>[[Command/value:dimension|dimension]] width of the line</td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
     <td class="cmd">[[Reference/en/keyword:margin|margin]]</td>
+
     <td class="cmd">[[Command/keyword:margin|margin]]</td>
     <td>[[Reference/en/value:dimension|dimension]] </td>
+
     <td>[[Command/value:dimension|dimension]] distance from right margin</td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
     <td class="cmd">[[Reference/en/keyword:distance|distance]]</td>
+
     <td class="cmd">[[Command/keyword:distance|distance]]</td>
     <td>[[Reference/en/value:dimension|dimension]] </td>
+
     <td>[[Command/value:dimension|dimension]] extra distance to field label (there is already some by default)</td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
     <td class="cmd">[[Reference/en/keyword:before|before]]</td>
+
     <td class="cmd">[[Command/keyword:before|before]]</td>
     <td>[[Reference/en/value:command|command]] </td>
+
     <td>[[Command/value:command|command]] </td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
     <td class="cmd">[[Reference/en/keyword:after|after]]</td>
+
     <td class="cmd">[[Command/keyword:after|after]]</td>
     <td>[[Reference/en/value:command|command]] </td>
+
     <td>[[Command/value:command|command]] </td>
 
   </tr>
 
   </tr>
 
</table>
 
</table>
  
 +
== Description ==
 +
Declare the default setup for {{cmd|fillinline}}.
 +
 +
== Example ==
 +
<context source=yes>
 +
\setuppapersize[A7]
 +
\showframe
 +
 +
(Default)
 +
\fillinline{Name:}
  
== Description ==
+
(Margin 1cm, 2cm)
 +
\fillinline[margin=1cm]{Name:}
 +
\fillinline[margin=2cm]{Name:}
  
 +
(Declare margin=0.5cm)
 +
\setupfillinlines[margin=0.5cm]
  
 +
(Width 1cm, 2cm)
 +
\fillinline[width=1cm]{Name:}
 +
\fillinline[width=2cm]{Name:}
  
== Example ==
+
(Distance 0cm, 1cm, 2cm)
<!-- Please fill in an example if you can -->
+
\fillinline[distance=0cm]{Name:}
 +
\fillinline[distance=1cm]{Name:}
 +
\fillinline[distance=2cm]{Name:}
 +
 
 +
</context>
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
* {{cmd|setupfillinrules}}
 +
* {{cmd|fillinrules}}
 +
* {{cmd|setupfillinlines}}
 +
* {{cmd|fillinline}}
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|setupfillinlines]]
+
[[Category:Command/Rules|setupfillinlines]]

Latest revision as of 18:23, 19 November 2019

\setupfillinlines

Syntax (autogenerated)

\setupfillinlines[...=...,...]
beforecommand
aftercommand
margindimension
widthdimension
distancedimension
rulethicknessdimension
colorcolor


Syntax

\setupfillinlines[...,...=...,...]
width dimension width of the line
margin dimension distance from right margin
distance dimension extra distance to field label (there is already some by default)
before command
after command

Description

Declare the default setup for \fillinline.

Example

\setuppapersize[A7]
\showframe

(Default)
\fillinline{Name:}

(Margin 1cm, 2cm)
\fillinline[margin=1cm]{Name:}
\fillinline[margin=2cm]{Name:}

(Declare margin=0.5cm)
\setupfillinlines[margin=0.5cm]

(Width 1cm, 2cm)
\fillinline[width=1cm]{Name:}
\fillinline[width=2cm]{Name:}

(Distance 0cm, 1cm, 2cm)
\fillinline[distance=0cm]{Name:}
\fillinline[distance=1cm]{Name:}
\fillinline[distance=2cm]{Name:}

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: