ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Using the margin for two purposes
Date: Sun, 18 May 2014 10:19:23 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.02.1405181014220.16710@nqv-guvaxcnq> (raw)
In-Reply-To: <F5F935AC-61CB-4DE2-8008-A804A810BE95@indiana.edu>

On Sun, 18 May 2014, Matthias Weber wrote:

> iii) Dream: Instead of solid margin rules I would love to have other options, like squiggly lines, dashed, dotted.

I don't have time to post a complete working example, but the normal way 
to achieve such features is to textbackground and let Metapost take care 
of the drawing.  See the metafun manual for examples.

Also see this answer at tex.sx http://tex.stackexchange.com/a/125486/323 
for some implementation ideas.

If you just need margin rules, you can also use background which are 
slightly simpler (less powerful but easier to work with) than 
textbackgrounds.

Aditya
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2014-05-18 14:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-18  0:12 Matthias Weber
2014-05-18  0:21 ` Rik Kabel
2014-05-18 13:50   ` Matthias Weber
2014-05-18 14:19     ` Aditya Mahajan [this message]
2014-05-18 15:56       ` Matthias Weber
2014-05-19  3:42     ` Rik
2014-05-19 16:41       ` Matthias Weber
2014-05-19 19:59         ` Rik Kabel
2014-05-19 21:36           ` Hans Hagen
2014-05-19 23:24             ` Matthias Weber
2014-05-19 23:50               ` Rik
2014-05-20  0:18                 ` Matthias Weber

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=alpine.DEB.2.02.1405181014220.16710@nqv-guvaxcnq \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /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).