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
Date: Thu, 11 Sep 2003 15:25:19 +0200	[thread overview]
Message-ID: <001f01c37868$2f544690$0500a8c0@best> (raw)

Hi!

I have a problem with font of footnote-numbers. I will try to describe some
details because they can 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-style
\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];
it doesn't work (why?) -- footnotes
are set with some ConTeXt-default ss font -- cmss10 -- which is not my
beautiful sansserif:-). I also tried setup \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 and raise the number as a ^superscript
(quite sophisticated way...). Anyway I have still no idea how to setup
correct font and style for footnote-numbers.

1. How to setup font-style and -size for footnotes text without giving
dimension directly? I mean why I have to set \setupfootnotes[bodyfont=10pt]
and I can't set \setupfootnotes[style=\tfxx]?
2. How to setup font-style and -size for BOTH  footnote reference (in text)
and footnote number (in the bottom of the text area)?

Pawe/l

                 reply	other threads:[~2003-09-11 13:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='001f01c37868$2f544690$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).