ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Footnote with midaligned text
@ 2014-09-01  7:04 Francisco Gracia
  2014-09-01  7:49 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Francisco Gracia @ 2014-09-01  7:04 UTC (permalink / raw)
  To: ntg-context

As the following example shows, just trying to add a footnote to a
midaligned sentence is not that easy: either the footnote index is
(dis)placed to the right margin or the footnote body does not show at its
proper place (at the end of the page).

Is there a way to make both things fit?

Regards


\setuppapersize[A6][A6]
\def\Text{ This is the main text.}

\starttext
	\dorecurse{3}{\Text} \footnote{This is the first main text footnote.}
\dorecurse{3}{\Text}

	\blank[medium]
	\midaligned{This sentence is midaligned.} \footnote{This is the centered
footnote.}
	\blank[medium]

	\dorecurse{3}{\Text} \footnote{This is the second main text footnote.}
\dorecurse{3}{\Text}

	\blank[medium]
	\midaligned{Another midaligned sentence. \footnote{This is the second
centered footnote.}}
	\blank[medium]

	\dorecurse{3}{\Text} \footnote{This is the third main text footnote.}
\dorecurse{3}{\Text}

\stoptext

___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Footnote with midaligned text
  2014-09-01  7:04 Footnote with midaligned text Francisco Gracia
@ 2014-09-01  7:49 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2014-09-01  7:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 01.09.2014 um 09:04 schrieb Francisco Gracia <fgragu023@gmail.com>:

> As the following example shows, just trying to add a footnote to a
> midaligned sentence is not that easy: either the footnote index is
> (dis)placed to the right margin or the footnote body does not show at its
> proper place (at the end of the page).
> 
> Is there a way to make both things fit?


Need to be fixed by Hans, it happens when you put a note in a box
which is placed in horizontal mode.

\automigrateinserts

\setuppapersize[A6]

\starttext

\hbox{One\footnote{First note.}}

\dontleavehmode\hbox{Two\footnote{Second note.}}

\stoptext

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2014-09-01  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-01  7:04 Footnote with midaligned text Francisco Gracia
2014-09-01  7:49 ` Wolfgang Schuster

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