[***SPAM***] Positioning of frames in a frame
Hello together, designing a card-game I use an overlay as background an a frame, with three parts, realized as three frames in the outer frame (which is simply the border of the card). See my try: \starttext \framed[width=4.55cm, height=7.4cm, frame=on, background=eslami]{% \framed[width=4.55cm, height=2cm]{Begriff} \framed[width=4.55cm, height=3cm]{Verbotener Begriff 1} \framed[width=4.55cm, height=2.4cm]{Erklärung} } \stoptext Two questions: 1. How can I control the distance between the inner frames? It should be: 0cm, so no distance. 2. The left border of the inner frames do not match with the left border of the outer frame, but they should. Howto? Thanks Huseyin
Am 16.05.2013 um 13:13 schrieb "H. Özoguz"
Hello together,
designing a card-game I use an overlay as background an a frame, with three parts, realized as three frames in the outer frame (which is simply the border of the card). See my try:
\starttext \framed[width=4.55cm, height=7.4cm, frame=on, background=eslami]{% \framed[width=4.55cm, height=2cm]{Begriff} \framed[width=4.55cm, height=3cm]{Verbotener Begriff 1} \framed[width=4.55cm, height=2.4cm]{Erklärung} } \stoptext
Two questions: 1. How can I control the distance between the inner frames? It should be: 0cm, so no distance.
You can set \setupinterlinespace[off] at the begin of the frame or you use a table (you can also use xtables) for the entries.
2. The left border of the inner frames do not match with the left border of the outer frame, but they should. Howto?
You need “offset=overlay” for the outer frame. \starttext \startframed[frame=off,width=fit,offset=overlay,align=middle,background=eslami]% \offinterlineskip \framed[width=4.55cm,height=2cm]{Begriff}\\ \framed[width=4.55cm,height=3cm]{Verbotener Begriff 1}\\ \framed[width=4.55cm,height=2.4cm]{Erklärung} \stopframed \blank[2*line] \startframed[frame=off,width=fit,offset=overlay,align=middle,background=eslami]% \bTABLE[width=4.55cm,align={middle,lohi}] \bTR\bTD[height=2cm] Begriff \eTD\eTR \bTR\bTD[height=3cm] Verbotener Begriff 1 \eTD\eTR \bTR\bTD[height=2.4cm] Erklärung \eTD\eTR \eTABLE \stopframed \stoptext Wolfgang
participants (2)
-
"H. Özoguz"
-
Wolfgang Schuster