ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Pawel Jackowski na Onet" <jackos1@poczta.onet.pl>
Subject: fonts and footnotes (again)
Date: Sun, 14 Sep 2003 21:35:29 +0200	[thread overview]
Message-ID: <002101c37af7$5bb51250$0500a8c0@best> (raw)



 Hi ntg!

Some days ago I asked a question which looks to have an obvious answer...
Unfortunately the answer isn't obvious for ConTeXt chick:-)

 I have a problem with font of footnote-numbers. I will try to describe some
 details because they may be important.

 I've defined some sans-serif font with my own styles and sizes:

 \definefontsynonym[tfMyFont][file_name1]
 \definefontsynonym[bfMyFont][file_name2]
 % I don't need neither italics nor math
 \definebodyfont[13pt,12pt,...,9pt][ss]
  [tfs=tfMyFont sa 0.75, % let's test alternative for tfxx
   tf=tfMyFont sa 1,
   ....
   bfs=bfMyFont sa 0.75,
   bf=bfMyFont sa 1,
   ....]
 \setupbodyfont[13pt,ss]

 Then I set styles for heads (chapters, sections etc.). The same for headers
 and footers. These setups work OK.
 I have a problem with footnotes though. I tried \setupfootnotes[style=\tfs]
but
 it doesn't work (why?). With such settings default ss font -- cmss10 or
plss10 (which is not my
 sweet sansserif) is used for footnote texts and numbers. I also tried
\setupfootnotes[bodyfont=10pt];
 it works good since ten-point font is defined in \definebodyfont. BUT
 numbers of footnotes still 'use' DEFAULT sansserif font. So I tried
 something like \setupfootnotes[...,numbercommand=\MyCommand], where
 \MyCommand set appropriate fontstyle (\tfs) and raise the number as a
^superscript
 (quite sophisticated way, isn't it?). This works for numbers of footnotes
(below main text)
Anyway I have still no idea how to setup correct font and style for footnote
numbers appearing in text
as a reference for footnote.

 1. How to setup font-style and -size for footnotes text and/or footnotes
numbers without giving
the dimension directly? I mean why I have to setup
\setupfootnotes[bodyfont=10pt]
 and I can't set \setupfootnotes[style=\tfxx]? What is do wrong in it?
 2. How to setup font-style and -size for BOTH  footnote reference (in text)
 and footnote numbers?


Regards,  Pawe/l

             reply	other threads:[~2003-09-14 19:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-14 19:35 Pawel Jackowski na Onet [this message]
2003-09-14 20:41 ` Hans Hagen
2003-09-15 11:05   ` Pawel Jackowski na Onet

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='002101c37af7$5bb51250$0500a8c0@best' \
    --to=jackos1@poczta.onet.pl \
    --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).