Re: [NTG-context] Hanging punctuation misalignment in footnotes

Am 22.02.2014 um 01:25 schrieb Jan Tosovsky
There are two things which prevent the protrusion of the opening quote at the begin of the paragraph. One of these can be avoided with a change in the setup for footnotes but not the other without destroying the layout of the footnote text. One problem is the way how context places the footnote number in front of the text, by default context uses the \llap command to move the number into the left margin but this prevents also the protrusion of the opening quote. You can avoid this problem when you change the footnote setup to \setupnotation[footnote][alternative=margin]. <example> \definefontfeature[default][default][expansion=quality,protrusion=quality] \setupbodyfont[modern] \setupalign[hanging] \showframe[text][text] \starttext »Text« \noindent\hbox to 0pt{}»Text« \noindent\hbox to 0pt{\hss}»Text« \stoptext </example> The second problem which prevents the opening quote to protrude are the struts which are added by context at the begin and end of the footnote content and there is no way to disable them because they are needed to have proper spacing between the individual footnote texts on the same page. <example> \definefontfeature[default][default][expansion=quality,protrusion=quality] \setupbodyfont[modern] \setupalign[hanging] \showframe[text][text] \starttext »Text« \strut »Text« \stoptext </example> In the example below where I took care of these two problems (don’t take care of \begstrut in this way in your real document because it will cause many problems, it’s just for educational purpose) to show you this is what caused the unwanted output. <example> \definefontfeature[default][default][expansion=quality,protrusion=quality] \setupbodyfont[modern] \setupalign[hanging] \showframe[text][text] \setupnotation[footnote][alternative=margin,align=hanging] \starttext \let\begstrut\relax First Footnote.\footnote{»\input{ward}«} Second Footnote.\footnote{»\input{ward}«} \stoptext </example> Wolfgang

On 2014-02-23 Wolfgang Schuster wrote:
Placing labels into margin seems to be a default settings.
Hans quote from another thread:
I can't reproduce the original issue in the latest beta (0.90). Was there something improved in this regard? It looks really great! Many thanks, Jan
participants (2)
-
Jan Tosovsky
-
Wolfgang Schuster