Procházka Lukáš Ing. mailto:LPr@pontex.cz 10. August 2016 um 09:04 Hello,
I need to create a double "sign-here" form, with the space for the signature underlined with dots.
The code bellow works fine and does exactly what I need. The potential question is whether there is a simpler way to achieve this, even without MP code, e.g. with only \leaders or what.
---- \installbottomframerenderer{dot} { \startMPcode picture p; p := dashpattern(on 0.1mm off 0.9mm); draw (0,0) -- (OverlayWidth,0) dashed p withpen pencircle scaled 0.1mm; \stopMPcode }
\def\T{\framed[height=15mm,width=.4\textwidth,frame=off,bottomframe=dot]{}}
\starttext Some text
\noindent \starttabulate[|lw(.5\textwidth)|lw(.5\textwidth)|] \NC\T\NC\T\NC\NR \NC Pepa \NC Depa \NC\NR \stoptabulate \stoptext ---- \definefiller [DotFill] [alternative=symbol, symbol=., width=.5em, style=\txx]
\define\DotFill {\simplealignedbox{.4\textwidth}{flushleft}{\filler[DotFill]}} %\showframe[text][text] \starttext \starttabulate[|lw(.5\textwidth)|lw(.5\textwidth)|] \NC \DotFill \NC \DotFill \NC\NR \NC Pepa \NC Depa \NC\NR \stoptabulate \stoptext Wolfgang