ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Different width of marginblocks and margindata
@ 2013-05-03 10:05 Marco Patzer
  2013-05-03 10:19 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Patzer @ 2013-05-03 10:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi,

in the following example, why do marginblocks and margindata produce
a different width when both are set to the same value?

\setupmarginblocks
  [width=\rightmarginwidth]

\setupmargindata
  [inright]
  [style=normal,
   width=\rightmarginwidth]

\showframe
\starttext

\startmarginblock
  Text in paragraph.
\stopmarginblock
\input knuth

\inright{Text in paragraph.}
\input knuth

\stoptext

Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 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] 2+ messages in thread

* Re: Different width of marginblocks and margindata
  2013-05-03 10:05 Different width of marginblocks and margindata Marco Patzer
@ 2013-05-03 10:19 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2013-05-03 10:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 03.05.2013 um 12:05 schrieb Marco Patzer <homerow@lavabit.com>:

> Hi,
> 
> in the following example, why do marginblocks and margindata produce
> a different width when both are set to the same value?

You have to set the “align=right” for margin texts. By default context
tries to justify the margin text and TeX doesn’t hyphenate “paragraph”
because the line won’t full enough when it does so.

Wolfgang
___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2013-05-03 10:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-03 10:05 Different width of marginblocks and margindata Marco Patzer
2013-05-03 10:19 ` Wolfgang Schuster

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