summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fixltxhyph
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-01-16 23:59:23 +0000
committerKarl Berry <karl@freefriends.org>2012-01-16 23:59:23 +0000
commit6efb8e3714f12f3e72828b5cc5fc8be58671e768 (patch)
treee8fbda6989c41a04d4e6fb20e4c938db114712b5 /Master/texmf-dist/tex/latex/fixltxhyph
parent503ec6c5f74d002c0d4d6fa3739e42f5e3e6c503 (diff)
new latex package fixltxhyph (16jan12)
git-svn-id: svn://tug.org/texlive/trunk@25122 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fixltxhyph')
-rw-r--r--Master/texmf-dist/tex/latex/fixltxhyph/fixltxhyph.sty48
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/fixltxhyph/fixltxhyph.sty b/Master/texmf-dist/tex/latex/fixltxhyph/fixltxhyph.sty
new file mode 100644
index 00000000000..a74cf987c48
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/fixltxhyph/fixltxhyph.sty
@@ -0,0 +1,48 @@
+%%
+%% This is file `fixltxhyph.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% fixltxhyph.dtx (with options: `style')
+%% ______________________________________________________
+%% The FiXLtxHyph package
+%% Copyright (C) 2011 Claudio Beccari
+%% All rights reserved
+%%
+%% License information appended
+%%
+\ProvidesPackage{fixltxhyph}[2011/12/25 v.0.1 Small fix for hyphenating
+emphasized words preceded by vocalic elision]
+\NeedsTeXFormat{LaTeX2e}[2011/06/27]
+\@ifpackageloaded{babel}{}{%
+\PackageWarning{FixLtXHyph}{This package must be loaded after babel}%
+\endinput}
+\newcommand\hz{\nobreak\hskip\z@skip}
+\let\originalem\em
+\let\newem\em
+\addto\newem{\hz}
+\def\@tempB{catalan,french,italian,romansh}
+\@for\@tempA:=\@tempB\do{%
+\expandafter\ifx\csname captions\@tempA\endcsname\relax\else
+\expandafter\addto\csname extras\@tempA\endcsname{\let\em\newem}%
+\expandafter\addto\csname noextras\@tempA\endcsname{\let\em\originalem}\fi}
+%%
+%% Copyright 2011 Claudio Beccari
+%%
+%% Distributable under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is "author-maintained"
+%%
+%% This work consists of this file .dtx, a README file
+%% the derived file fixltxhyph.sty, and the English
+%% documentation fixltxhyph.pdf.
+%%
+%%
+%% By running pdflatex on fixltxhyph.dtx the user gets the sty file,
+%% and the English documentation file in pdf format.
+%%
+%%
+%% End of file `fixltxhyph.sty'.