From: Jeong Dal via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Jeong Dal <haksan@mac.com>
Subject: [NTG-context] Row span in tabulate
Date: Sun, 29 Dec 2024 09:02:32 +0900 [thread overview]
Message-ID: <BB94BD2A-6AB4-435C-8293-8FCFCD8FBF06@mac.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 808 bytes --]
Sorry.
Here is a sample code.
Thank you.
Best regards,
Dalyoung
\startuseMPgraphic{recBox}{w,h,sx,sy,lColor}
numeric u; u := 1cm;
draw unitsquare xyscaled (\MPvar{w}, \MPvar{h}) shifted (\MPvar{sx},\MPvar{sy}) withpen pencircle scaled 3pt withcolor \MPvar{lColor};
\stopuseMPgraphic
\defineoverlay
[kBox]
[\useMPgraphic{recBox}{w=2u,h=LineHeight+4pt, sx=.8u,sy=LineHeight-2pt,lColor=darkred}]
\starttext
\framed[frame=on,background=kBox]{
\starttable[|cw(.7cm)|cw(.7cm)|cw(1cm)|cw(1cm)|]
\HL
\NC \NS[2][c] q \NC\AR
\NC p\NC \NC 00 \NC 01\NC\AR
\HL
\NC 1 \NC 2 \NC 3 \NC 4\NC\AR
\NC 1 \NC 2 \NC 3 \NC 4\NC\AR
\NC 1 \NC 2 \NC 3 \NC 4\NC\AR
\NC 1 \NC 2 \NC 3 \NC 4\NC\AR
\NC 1 \NC 2 \NC 3 \NC 4\NC\AR
\HL
\stoptable
}
\stoptext
[-- Attachment #1.2: Type: text/html, Size: 7298 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2024-12-29 0:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-29 0:02 Jeong Dal via ntg-context [this message]
2024-12-29 8:31 ` [NTG-context] " Florent Michel
2024-12-29 9:58 ` Jeong Dal via ntg-context
2024-12-29 11:07 ` Florent Michel
2024-12-29 18:32 ` Jeong Dal via ntg-context
-- strict thread matches above, loose matches on Subject: below --
2024-12-29 0:00 [NTG-context] " Jeong Dal via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BB94BD2A-6AB4-435C-8293-8FCFCD8FBF06@mac.com \
--to=ntg-context@ntg.nl \
--cc=haksan@mac.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).