From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: numbered exercises
Date: Tue, 24 Aug 2021 22:07:24 +0200 [thread overview]
Message-ID: <690FED3A-F356-4CE2-B485-2F5858B13220@fiee.net> (raw)
In-Reply-To: <190840A6-7D6F-45CD-8AE4-D6B94FE849A8@fiee.net>
[-- Attachment #1.1: Type: text/plain, Size: 709 bytes --]
Here’s what I have now (result attached):
\define[1]\ÜbungNrCmd{\inmargin{\offset[y=3em]{\rotate[rotation=90]{\SectionFont #1}}}}
\defineenumeration[Übung][
text=Übung,
title=yes,
titleleft=,
titleright=,
titledistance=-1em,
titlestyle=\SectionFont,
%numberstyle=\SectionFont,
numbercommand=\ÜbungNrCmd,
way=bytext,
margin=1em,
before={\blank[2*line]},
]
Now I’d like to have a vertical line beside the text, starting below the title.
And because I want to use the “sketchy“ lines we discussed a while ago (I needed them for the same book), it must be a MetaPost-drawn line.
What’s the right approach? Overlay? Textbackground?
Hraban
[-- Attachment #1.2.1: Type: text/html, Size: 1523 bytes --]
[-- Attachment #1.2.2: PastedGraphic-1.png --]
[-- Type: image/png, Size: 32269 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2021-08-24 20:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-24 18:31 Henning Hraban Ramm via ntg-context
2021-08-24 19:17 ` Wolfgang Schuster via ntg-context
2021-08-24 19:26 ` Henning Hraban Ramm via ntg-context
2021-08-24 19:34 ` Wolfgang Schuster via ntg-context
2021-08-24 19:46 ` Henning Hraban Ramm via ntg-context
2021-08-24 20:07 ` Henning Hraban Ramm via ntg-context [this message]
2021-08-24 19:43 ` Gavin via ntg-context
2021-08-24 22:19 ` Aditya Mahajan via ntg-context
2021-08-25 8:03 ` Henning Hraban Ramm 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=690FED3A-F356-4CE2-B485-2F5858B13220@fiee.net \
--to=ntg-context@ntg.nl \
--cc=texml@fiee.net \
/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).