Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

Direc­tory tex-archive/macros/latex/contrib/fixltxhyph

FixLtxHyph v.0.


FixLtxHyph.sty is a small extension that allows to "correct' a small glitch
in hyphenating "words" that are partially emphasized.
This happens very frequently in languages such as Catalan, French, Italian, 
Romansh, Friulan,  and other where articles and articulated preposition undergo vocalic 
elision before a word that starts with a vowel: example "della eleganza" 
becomes "dell'eleganza" after vocalic elision.
Now if "eleganza" is emphasized as in "dell'\emph{eleganza}" the literal 
string that TeX sees as a word includes the apostrophe, and this is fine 
in those languages where the apostrophe is set up for proper hyphenation, 
but it also includes a font change; therefore TeX does not hyphenate the
whole string, while it has no problems when hyphenating the same word without 
emphasis: "del-l'e-le-gan-za".

This small package works fine with both pdfLaTeX and XeLaTeX; it has been 
tested with the five languages listed above; at the moment of writing 
Romansh and Friulan are not among the languages that are being dealt with by pdfLaTeX 
and XeLaTeX, but soon hopefully they will.

The single FixLtxHyph.dtx file is auto extracting; if you process it with 
pdfLaTeX you get both the documentation file in PDF format and the .sty file.

After extraction move the files, as usual, in the three homonymous folders 
latex/fixltxhtph/ rooted in source/, doc/, and tex/ respectively.

Claudio Beccari 2012
Author maintained
claudio dot beccari at gmail dot com

Files

Name Size Date Notes
README 1491 2012-04-02 05:31
fixltxhyph.dtx 17128 2012-04-02 05:25
fixltxhyph.pdf 396755 2012-04-02 05:25

Down­load the con­tents of this pack­age in one zip archive (393.4k).

fixltx­hyph – Al­low hy­phen­ation of par­tially-em­pha­sised sub­strings

The pack­age fixes the prob­lem of TeX fail­ing to hy­phen­ate let­ter strings that seem (to TeX) to be words, but which are fol­lowed by an apos­tro­phe and then an em­pha­sis com­mand. The cause of the prob­lem is not the apos­tro­phe, but the font change in the mid­dle of the string.

The prob­lem arises in Cata­lan, French, Ital­ian and Ro­mansh.

Pack­age De­tailsfixltx­hyph
Ver­sion0.4
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2011 Clau­dio Bec­cari
Main­tainerClau­dio Bec­cari
Con­tained inTeXlive as fixltx­hyph
MikTeX as fixltx­hyph
Topics sup­port for type­set­ting Ital­ian
sup­port for type­set­ting French
doc­u­men­ta­tion in and sup­port for type­set­ting Cata­lan
Guest Book Sitemap Contact