ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Meer, Hans van der" <H.vanderMeer@uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: fontsize changes not understood
Date: Tue, 24 May 2016 13:04:35 +0000	[thread overview]
Message-ID: <5884AA43-E086-41B3-8D94-3C6F7C88BE5F@uva.nl> (raw)


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


Can someone explain to me the changes in fontsize in the following example?
Enclosing the fontswitches in a group did not change the behaviour.

\setupbodyfont[dejavu,12pt]
\def\MarkMasterA{\inmargin[location=left]{\bgroup\switchtobodyfont[9pt]\red Master\egroup}}
\def\MarkMasterB{\inmargin[location=left]{\bgroup\usebodyfont[9pt]\red Master\egroup}}
\starttext
\startsection[title=\MarkMasterA First title]
\input hawking
\MarkMasterA
\input hawking
\stopsection
\startsection[title=\MarkMasterB First title]
\input hawking
\MarkMasterB
\input hawking
\blank
contextversion=\contextversion
\stopsection
\stoptext

In the first section the absolute value of 9 pt appears not to be honoured but it looks as if there is a reduction relative to the surrounding font.
In the second section the size does not change and looks even bigger than the first one above.

I am baffled and do not understand why not all fontsizes are the same absolute 9pt as requested?

Hans van der Meer





[-- Attachment #1.2: Type: text/html, Size: 1517 bytes --]

[-- Attachment #2: marginfontsize.pdf --]
[-- Type: application/pdf, Size: 31287 bytes --]

[-- Attachment #3: 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
___________________________________________________________________________________

             reply	other threads:[~2016-05-24 13:04 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24 13:04 Meer, Hans van der [this message]
2016-05-24 13:57 ` Wolfgang Schuster
2016-05-24 14:28   ` Meer, Hans van der
2016-05-24 15:00     ` Wolfgang Schuster
2016-05-24 15:47       ` Meer, Hans van der
2016-05-24 16:09         ` Jean-Pierre Delange
2016-05-24 15:57       ` win64 : luatex is not recognize as an internal command Jean-Pierre Delange
2016-05-24 16:56         ` Hans Hagen
2016-05-24 17:55           ` Alan BRASLAU
2016-05-24 22:30             ` Hans Hagen
2016-05-24 18:29           ` Jean-Pierre Delange
2016-05-24 22:10             ` Jean-Pierre Delange
2016-05-24 22:42               ` Hans Hagen
2016-05-24 22:48               ` L.S.-Soc&Gam
2016-05-24 22:50                 ` L.S.-Soc&Gam
2016-05-25  8:46                 ` Mojca Miklavec
2016-05-25  9:18                   ` Hans Hagen
2016-05-26  1:00                   ` L.S.-Soc&Gam
2016-05-25  9:36                 ` Jean-Pierre Delange
2016-05-25 14:14                   ` ConTeXt on Mac OS X installation Jean-Pierre Delange
2016-05-25 16:32                     ` Jean-Pierre Delange
2016-05-25 17:28                       ` Jean-Pierre Delange
2016-05-24 16:59         ` win64 : luatex is not recognize as an internal command josephcanedo
2016-05-24 14:04 ` fontsize changes not understood Hans Hagen
2016-05-24 14:10 ` Sorting index register Manuel Conzelmann
2016-05-24 14:13   ` Wolfgang Schuster

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=5884AA43-E086-41B3-8D94-3C6F7C88BE5F@uva.nl \
    --to=h.vandermeer@uva.nl \
    --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).