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: Re: name current font
Date: Sun, 22 May 2016 15:49:57 +0000	[thread overview]
Message-ID: <635C4688-CF94-4DD6-AB32-C21726DE82EA@uva.nl> (raw)
In-Reply-To: <alpine.OSX.2.02.1605221127130.5452@nqv-znpobbx>


> On 22 May 2016, at 17:32, Aditya Mahajan <adityam@umich.edu> wrote:
> 
> On Sun, 22 May 2016, Meer, Hans van der wrote:
> 
>> How do I get the name of the currently set font?
>> macro \currentfont does not exist.
> 
> \fontclass?
> 
> Also see: http://tex.stackexchange.com/a/287123/323
> 
> Aditya

Thanks. I had guessed at \currentfont and not thought of \fontclass.

After \setupbodyfont{...} with \fontname{}, \fontfamily{}, \truefontname{}, \fontsize{} existing, how do I pass the fontparameter in there?

Hans van der Meer




___________________________________________________________________________________
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-22 15:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-22 15:13 Meer, Hans van der
2016-05-22 15:32 ` Aditya Mahajan
2016-05-22 15:49   ` Meer, Hans van der [this message]

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=635C4688-CF94-4DD6-AB32-C21726DE82EA@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).