ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Change font for footnote-symbols
Date: Sun, 19 Jun 2016 23:51:55 +0200	[thread overview]
Message-ID: <69ce283b-cefc-40f0-6f5b-c1169e97d44c@gmx.es> (raw)
In-Reply-To: <etPan.5766fc29.7a28819c.b9a@icloud.com>

On 06/19/2016 10:10 PM, Alias 1 wrote:
> Hello ConTeXt-Users,
>  
> I want to change the font for the footnote-symbols. I want to change
> the font for the footnote-symbols (the numbers 1, 2, 3 etc.) to
> latinmodern. How do I do this? I tried to add the commands
> \setupnote[footnote][textstyle={\switchtobodyfont[latinmodern]}] and
> \setupnotation[footnote][headstyle={\switchtobodyfont[latinmodern]}].
> If I only add one of these, the symbols in the text/notes at the
> bottom of the page, get changed, but if I add both, only the font of
> the symbols in the text get changed (In front of the first
> footnote-symbol (the 1) there is also some whitespace added, which
> looks like a bug or something; or I used the commands in a wrong
> way). So I assume, this is not the intended way. But what is the
> right way to do it?>

Hi Jannik,

this is another approach:

    \definefontfamily[dejava][rm][DejaVu Serif]
    \definefontfamily[dejava][hw][Latin Modern Roman]
    \setupbodyfont[dejava]

    \setupnote[footnote][textstyle={\hw}]

    \setupnotation[footnote][headstyle={\hw}]

    \starttext

    \dorecurse{10}{foo\footnote{bar} }

    \stoptext

Just in case it helps,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

      parent reply	other threads:[~2016-06-19 21:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-19 20:10 Alias 1
2016-06-19 21:32 ` Thomas A. Schmitz
2016-06-19 22:32   ` Alias 1
2016-06-19 21:51 ` Pablo Rodriguez [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=69ce283b-cefc-40f0-6f5b-c1169e97d44c@gmx.es \
    --to=oinos@gmx.es \
    --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).