ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* size of footnote numbers
@ 2017-09-29 11:34 Henning Hraban Ramm
  2017-09-30 16:58 ` Pablo Rodriguez
  2017-09-30 17:30 ` Otared Kavian
  0 siblings, 2 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2017-09-29 11:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Ahoi,

in my current book there are some quotations typeset in a smaller type (via \switchtobodyfont in a defined startstop).

Now the author insists that their footnote numbers should have the same size as in the body text.
Since the footnotes are mostly source annotations at the end, it makes some sense.

What would be the best way to achieve this?

Here’s my setup:

\setupbodyfont	[alegreya,rm,11pt] % usual font size

\startsetups[myQuotation]
  \setupwhitespace[none]
  \setupnarrower[left=2em,right=2em]
  \switchtobodyfont[rm,10pt]
% I guess I should change the footnote number font size here?
\stopsetups

\definestartstop[myQuotation][
    setups=myQuotation,
    before={
      \testpage[2]
      \startnarrower[left,right]
      \noindent},
    after={\stopnarrower
      \indenting[next]}]



Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: size of footnote numbers
  2017-09-29 11:34 size of footnote numbers Henning Hraban Ramm
@ 2017-09-30 16:58 ` Pablo Rodriguez
  2017-09-30 17:30 ` Otared Kavian
  1 sibling, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2017-09-30 16:58 UTC (permalink / raw)
  To: ntg-context

On 09/29/2017 01:34 PM, Henning Hraban Ramm wrote:
> Ahoi,
> 
> in my current book there are some quotations typeset in a smaller
> type (via \switchtobodyfont in a defined startstop).
> 
> Now the author insists that their footnote numbers should have the
> same size as in the body text.
> Since the footnotes are mostly source annotations at the end, it
> makes some sense.
> 
> What would be the best way to achieve this?

Hi Hraban,

I wonder whether the following code is what you may want:

    \setuppapersize[A9, landscape]
    \setupnotation[footnote][numbercommand=\tf\high]
    \starttext
    a\footnote{b}
    \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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: size of footnote numbers
  2017-09-29 11:34 size of footnote numbers Henning Hraban Ramm
  2017-09-30 16:58 ` Pablo Rodriguez
@ 2017-09-30 17:30 ` Otared Kavian
  1 sibling, 0 replies; 3+ messages in thread
From: Otared Kavian @ 2017-09-30 17:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hraban,

If you want to change the way the footnote number in the text is shown something like a variation of the following might help you (copying this from a solution given by Wolfgang S. a few years ago…):

\define[1]\MyFootnotenoteCommand{\high{\bf{(#1)}}}
\setupnote[textcommand=\MyFootnotenoteCommand]
\setupnotation[footnote][left={(},right={)}]

	
\starttext
Hi there!\footnote{I’m a footnote.}
\stoptext

Best regards: OK

> On 29 Sep 2017, at 13:34, Henning Hraban Ramm <texml@fiee.net> wrote:
> 
> Ahoi,
> 
> in my current book there are some quotations typeset in a smaller type (via \switchtobodyfont in a defined startstop).
> 
> Now the author insists that their footnote numbers should have the same size as in the body text.
> Since the footnotes are mostly source annotations at the end, it makes some sense.
> 
> What would be the best way to achieve this?
> 
> Here’s my setup:
> 
> \setupbodyfont	[alegreya,rm,11pt] % usual font size
> 
> \startsetups[myQuotation]
>  \setupwhitespace[none]
>  \setupnarrower[left=2em,right=2em]
>  \switchtobodyfont[rm,10pt]
> % I guess I should change the footnote number font size here?
> \stopsetups
> 
> \definestartstop[myQuotation][
>    setups=myQuotation,
>    before={
>      \testpage[2]
>      \startnarrower[left,right]
>      \noindent},
>    after={\stopnarrower
>      \indenting[next]}]
> 
> 
> 
> Greetlings, Hraban
> ---
> http://www.fiee.net
> http://wiki.contextgarden.net
> GPG Key ID 1C9B22FD
> 
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-30 17:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-29 11:34 size of footnote numbers Henning Hraban Ramm
2017-09-30 16:58 ` Pablo Rodriguez
2017-09-30 17:30 ` Otared Kavian

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).