From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Julian G <juliangmp@pm.me>
Subject: Re: Overfull hbox issues: different font,
Date: Wed, 4 Sep 2019 17:10:28 +0200 [thread overview]
Message-ID: <801f901f-8954-63c2-23e6-691a658dd2bb@gmail.com> (raw)
In-Reply-To: <AKYHFGMS7_sVEnD4nlereq6QHQe4BLZMTuHpI0sfNhTIY0WpVCwNyAnwkZc4MJ2voxUXOE_mgLlfdbSQR6q7qe6UGYuDtlv8xj5v-nkeb28=@pm.me>
Julian G schrieb am 03.09.2019 um 23:17:
> Hello everyone,
> I apologize if this has been brought up already (or if my mistake is painfully obvious), but I'm having a slight issue with overfull hboxes. I think it is connected to hyphenation and/or using different fonts.
>
> Test file: at the end of this mail or at https://gist.github.com/JulianGmp/fe20df633554f5aff02e02eb47a6780f
> The output PDF I got: https://i.imgur.com/c8S7Di5.png
>
> Best regards,
> Julian
>
>
>
> % Compiled document (screenshot):
> % https://i.imgur.com/c8S7Di5.png
>
> \setuppapersize[A4]
> \showframe
>
> \setuplayout[
> topspace=1cm,
> header=0cm,
> width=16cm,
> footer=0cm,
> bottom=1cm,
> ]
>
> \definefontfamily[arialFamily] [sans] [Arial]
> \definefontfamily[calibriFamily] [sans] [Calibri]
> % \setupbodyfont[myfontfamily, 12pt]
>
> \define\printExample{Es kann allerdings ein Problem auftreten: Es ist nicht immer eindeutig, ob die gemessen Phasenerschiebung eine komplette Umdrehung enthaltem. Angenommen sei eine gemessene Verschiebung von \m{\Delta_{\varphi}}, visualisiert in Abbildung 10 ... \blank[small] Zwar wird dadurch eine gewisse Übersicht geschaffen, jedoch werden potentielle Namens-
> konflikte nicht verhindert.}
\setuptolerance[verytolerant]
or
\setupalign[verytolerant]
> \starttext
>
> \language[de]
>
>
> \section{Standard Font}
> \subsection{German}
> \language[de] \printExample{}
> \subsection{English}
> \language[en] \printExample{}
>
>
> \switchtobodyfont[arialFamily, 12pt]
> \section{Arial 12pt}
> \subsection{German}
> \language[de] \printExample{}
> \subsection{English}
> \language[en] \printExample{}
>
> \page
>
> \switchtobodyfont[calibriFamily, 14pt]
> \section{Calibri 14pt}
> \subsection{German}
> \language[de] \printExample{}
> \subsection{English}
> \language[en] \printExample{}
>
> \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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2019-09-04 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-03 21:17 Julian G
2019-09-04 15:10 ` Wolfgang Schuster [this message]
2019-09-04 16:25 ` Hans Hagen
2019-09-08 14:25 ` Pablo Rodriguez
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=801f901f-8954-63c2-23e6-691a658dd2bb@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=juliangmp@pm.me \
--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).