On 6/4/2021 11:20 AM, denis.ma...@ub.unibe.ch wrote:
-----Ursprüngliche Nachricht-----
Von: ntg-context <ntg-context-boun...@ntg.nl> Im Auftrag von Wolfgang
Schuster
Gesendet: Freitag, 4. Juni 2021 10:08
An: mailing list for ConTeXt users <ntg-context@ntg.nl>
Betreff: Re: [NTG-context] quotes potruding out in the left margin

Sandra Snan schrieb am 04.06.2021 um 09:52:
Oh, the example you just posted doesn't work on live.contextgarden,
let alone on my installation. The quotation marks still don't potrude.

I tested my example on the garden and got the expected output with the
quotation marks in the margin (only partially but this is normal with the
quality setting).


I can confirm that this works. As Wolfgang notes protrusion is only partial 
with the default settings, but you can tweak it with \setupfontprotrusion (see 
below).
\setupfontprotrusion [quality] [left=2] is probably what you want since this 
puts the complete quotation mark into the margin.

I don't know what the numbers mean. Maybe someone can add to this.

multiplication factors

btw, in lmtx you can locally disable protrusion with:

{\noprotrusion \quotation{you are so}}


Denis

========================
%\setupfontprotrusion [quality] [left=0] % no protrusion on the left margin
\setupfontprotrusion [quality] [left=1] % default
%\setupfontprotrusion [quality] [left=1.5] % more protrustion
%\setupfontprotrusion [quality] [left=2] % even more protrustion
%\setupfontprotrusion [quality] [left=2.5] % too much protrusion

\definefontfeature
   [default]
   [default]
   [protrusion=quality,
    expansion=quality]

\setupquotation
   [method=font]

\setupalign
   [hz,hanging]

\showframe
   [text]
   [text]

\starttext

oh hi there

“you are so”

\quotation{you are so}

here here

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



--

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to