ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Using the margin for two purposes
@ 2014-05-18  0:12 Matthias Weber
  2014-05-18  0:21 ` Rik Kabel
  0 siblings, 1 reply; 12+ messages in thread
From: Matthias Weber @ 2014-05-18  0:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1370 bytes --]

Dear All,

I would like to use the margin for two different purposes: For brief notes, using
\inmargin, and to mark entire paragraphs sections of the text with vertical lines.

So, I’d like to be able to something like this

\starttext

\startsquigglyline
\inmargin{read \\ this \\ first}
\input{knuth} 
\stopsquigglyline

\startthinline
\inmargin{read \\ this \\ next}
\input{tufte}
\stopthinline

\stoptext


I know I could use frames to accomplish the vertical features within in the text area, but I’d prefer to use the margin so that framing paragraphs doesn’t
indent the paragraphs compared to the unframed portions. 
But I also want to have the \inmargin notes to be lined up properly. So it looks like I would need to divide the margin into two horizontally
separate regions. On left pages, the left region would be used for the \inmargin notes, and the (very thin) right region would be used for the
vertical features (squigglyline and thinline). For right pages the other way around. Of course I’d also like the vertical features to extend across pages, if needed.
Like so:


 Left Page						Right Page

read	( 	Knuth					Tufte	|	read
this	)	Knuth					Tufte	|	this
first	(	Knuth					Tufte	|	next
	)	Knuth					Tufte	|
	(	Knuth					Tufte	|

Is there a mechanism in place for that? 
Thanks for any hints!

Matthias




[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 842 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-05-20  0:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-18  0:12 Using the margin for two purposes Matthias Weber
2014-05-18  0:21 ` Rik Kabel
2014-05-18 13:50   ` Matthias Weber
2014-05-18 14:19     ` Aditya Mahajan
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

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).