-
-
Notifications
You must be signed in to change notification settings - Fork 133
hyphenation pt
João M. Lourenço edited this page Mar 18, 2021
·
1 revision
In portuguese, when breaking a line at a hyphen, the hyphe must repeated at be begining of the following line. For example:
Este é um exemplo de um texto onde a primeira linha irá ser partida num hífen. Vamos dar-
-lhe uma palavra hifenizada para isso.
LaTeX knows how to hyphenate in portuguese, but it does not add the extra hyphen and produces!
Este é um exemplo de um texto onde a primeira linha irá ser partida num hífen. Vamos dar-
lhe uma palavra hifenizada para isso.
You have two possible approaches:
-
Use lualatex
instead
ofpdflatex
. The template programslualatex
to properly hyphenate when breaking a line at an hyphen. -
Use
"-
instead of-
. If you replace the hyphens with"-
, pdflatex and xelatex will properly hyphenate when breaking a line at an hyphen.
Thanks for using this template and for contributing with your suggestions. We really appreciate it. If you may, please don't send us emails directly. Post your question in the GitHub Discussions page or the Facebook Group and you will get your answer there — perhaps even faster.