ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Steffen Wolfrum <st.wolfrum@estfiles.de>
Subject: Footnotes
Date: Sat, 4 Oct 2003 21:02:16 +0200	[thread overview]
Message-ID: <a06002002bba4c150bfb1@[217.184.17.30]> (raw)

Hi,

Just in case some one is interested in detailed footnote problems:

In the last time I was fiddling a lot on the problem of setting up footnotes - the task was to have different defined font and interlinespace sizes for text as well as for footnotes.

The first solution that I constructed with commands and keywords from the manual (and etexshow) seemed to give the desired result:

\setupbodyfont[10pt]
\setupinterlinespace[line=15pt]
\definefont [FNfont][Serif at 8pt]
\def\FNstyle{\FNfont\setupinterlinespace[line=15pt]}
\setupfootnotes[numbercommand=]
\setupfootnotedefinition[style=\FNstyle]

\starttext
\input tufte \footnote{\input knuth }
\input tufte \footnote{\input knuth }
\stoptext

But it just worked OK for *normal* sizes.
When set to extreme values it begun to show strange phenomena (see the distances over and under each first line of a footnote):

\setupbodyfont[4pt]
\setupinterlinespace[line=45pt]
\definefont [FNfont][Serif at 4.5pt]
\def\FNstyle{\FNfont\setupinterlinespace[line=12pt]}
\setupfootnotes[numbercommand=]
\setupfootnotedefinition[style=\FNstyle]

\starttext
\input tufte \footnote{\input knuth }
\input tufte \footnote{\input knuth }
\stoptext


After re-combining the different option and command for setupfootnotes and setupfootnotedefinition without improvement, I started to search through the source files and found the very interesting command \setfootnotebodyfont.

With this command a setup can be written that works, finally:

\setupbodyfont[4pt]
\setupinterlinespace[line=45pt]
\definefont [FNfont][Serif at 4.5pt]
\def\setfootnotebodyfont{\FNfont\setupinterlinespace[line=12pt]}
\setupfootnotes[numbercommand=]
\setupfootnotedefinition[style=\FNfont]

\starttext
\input tufte \footnote{\input knuth }
\input tufte \footnote{\input knuth }
\stoptext


Maybe this helps someone.

Steffen
P.S. If there is still need for improvement, please correct.

             reply	other threads:[~2003-10-04 19:02 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-04 19:02 Steffen Wolfrum [this message]
2003-10-05  9:15 ` font mystery Thomas A.Schmitz
  -- strict thread matches above, loose matches on Subject: below --
2012-04-24  8:56 footnotes Alan BRASLAU
2012-04-24 12:21 ` footnotes Wolfgang Schuster
2012-04-24 13:26   ` footnotes Alan BRASLAU
2012-04-01 21:03 footnotes Thomas A. Schmitz
2012-04-02 10:26 ` footnotes Steffen Fritzsche
2012-04-02 11:02   ` footnotes Thomas A. Schmitz
2012-04-02 20:40 ` footnotes Wolfgang Schuster
2012-03-12 16:50 Footnotes Willi Egger
2010-12-12 11:09 footnotes Achim Jander
2010-12-12 13:41 ` footnotes Achim Jander
     [not found] <mailman.1.1254823203.32637.ntg-context@ntg.nl>
2009-10-13 17:20 ` footnotes Wolfgang Werners-Lucchini
2009-10-13 17:44   ` footnotes Wolfgang Schuster
2009-10-05 14:53 footnotes Wolfgang Werners-Lucchini
2009-10-06  9:36 ` footnotes Taco Hoekwater
2008-07-20  7:54 Footnotes Ulrich Dirr
2008-07-20 17:50 ` Footnotes Aditya Mahajan
2008-07-21  7:09   ` Footnotes Ulrich Dirr
2008-07-21 16:39     ` Footnotes Aditya Mahajan
2008-07-21 17:25       ` Footnotes Ulrich Dirr
2008-07-21 20:58         ` Footnotes Aditya Mahajan
2006-01-29 13:48 footnotes Hans van der Meer
2006-01-30 10:49 ` footnotes Hans Hagen
2006-01-30 14:41   ` footnotes Hans van der Meer
2006-01-30 15:45     ` footnotes Hans Hagen
2003-10-06 15:25 Footnotes Steffen Wolfrum
2003-10-06  9:58 Czech patterns in TeXlive2003 David Antos
2003-10-06 13:40 ` Footnotes Albrecht Kauffmann
2003-09-15 15:54 Footnotes Willi Egger
2003-09-15 16:15 ` Footnotes Pawel Jackowski na Onet
2003-09-15 18:00   ` Footnotes Willi Egger
2003-09-16  5:55     ` Footnotes Pawel Jackowski na Onet
2003-09-16 12:18       ` Footnotes Willi Egger
2003-09-16 19:33         ` Footnotes Pawel Jackowski na Onet
2003-09-19 21:04           ` Footnotes Willi Egger
2003-09-20  5:23             ` Footnotes Pawel Jackowski na Onet
2003-09-20  7:28               ` Footnotes Willi Egger
2003-09-23 17:50                 ` Footnotes Pawel Jackowski na Onet
2003-09-16 17:16     ` Footnotes Hans Hagen
2001-04-04 22:28 Footnotes P. van Kranenburg
2001-04-05  7:40 ` Footnotes Hans Hagen
2001-03-12 17:08 footnotes Hans Hagen
2001-03-17 18:14 ` footnotes Giuseppe Bilotta
2001-03-18 20:41   ` footnotes Hans Hagen
2000-05-09 10:09 footnotes Haseloff, Lutz
2000-04-18  8:41 footnotes Haseloff, Lutz
2000-04-19  1:16 ` footnotes Taco Hoekwater
2000-05-08 20:30 ` footnotes Hans Hagen
1999-11-30  8:10 Footnotes Haseloff, Lutz
1999-11-30 15:08 ` Footnotes Hans Hagen

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='a06002002bba4c150bfb1@[217.184.17.30]' \
    --to=st.wolfrum@estfiles.de \
    --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).