summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/libertine
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/libertine
Initial commit
Diffstat (limited to 'macros/latex/contrib/libertine')
-rw-r--r--macros/latex/contrib/libertine/Changes12
-rw-r--r--macros/latex/contrib/libertine/README11
-rw-r--r--macros/latex/contrib/libertine/libertine.sty38
3 files changed, 61 insertions, 0 deletions
diff --git a/macros/latex/contrib/libertine/Changes b/macros/latex/contrib/libertine/Changes
new file mode 100644
index 0000000000..7544953a5a
--- /dev/null
+++ b/macros/latex/contrib/libertine/Changes
@@ -0,0 +1,12 @@
+libertine.sty --------
+v. 0.03 2012-10-19 - set macros for slshape to italic
+ for the optional argument SlantedAsItalic
+ The latest Libertine/Biolinum have no special font
+ for slanted glyphs. With this option one gets
+ the italic version. Otherwise it will be upright
+ for slanted.
+v. 0.02 2012-09-24 - pass options to package not class
+ - added a README
+v. 0.01 2012-09-24 - first CTAN version
+
+
diff --git a/macros/latex/contrib/libertine/README b/macros/latex/contrib/libertine/README
new file mode 100644
index 0000000000..69e47875b7
--- /dev/null
+++ b/macros/latex/contrib/libertine/README
@@ -0,0 +1,11 @@
+This package allows a compatibility to the old package
+libertine which loads Biolinum _and_ Libertine.
+All options are passes to the new packages
+biolinum-type1 and libertine-type1. The default
+font encoding is set to T1.
+
+This package has only one optional argument
+"SlantedAsItalic" which sets the macros \textsl
+and \slshape to the same meaning as the variants
+for italic. The current versions of Libertine/Biolinum
+have no more a slanted font. One has to use italic.
diff --git a/macros/latex/contrib/libertine/libertine.sty b/macros/latex/contrib/libertine/libertine.sty
new file mode 100644
index 0000000000..5605be5bcf
--- /dev/null
+++ b/macros/latex/contrib/libertine/libertine.sty
@@ -0,0 +1,38 @@
+% LaTeX-Package for libertine Type-1
+%
+% Herbert Voss herbert@dante.de
+%
+% (License LPPL)
+%
+\def\libertineVersion{0.03}%
+\def\libertineVersionDate{2012/10/19}
+%
+\ProvidesPackage{libertine}[%
+ \libertineVersionDate\space-\space\libertineVersion:
+ Font Libertine/Biolinum - Herbert Voss]
+%
+\newif\ifhv@italic\hv@italicfalse
+\DeclareOption{SlantedAsItalic}{\hv@italictrue}
+
+\DeclareOption*{
+ \PassOptionsToPackage{\CurrentOption}{biolinum-type1}%
+ \PassOptionsToPackage{\CurrentOption}{libertine-type1}%
+}
+\ProcessOptions\relax
+%
+\RequirePackage{biolinum-type1}
+\RequirePackage{libertine-type1}
+\RequirePackage[LY1,T1]{fontenc}
+%
+\ifhv@italic
+ \let\textsl\textit % there is no more a slanted variant
+ \let\slshape\itshape
+\fi
+%
+\endinput
+
+%% This package allows a compatibility to the old package
+%% libertine which loads Biolinum _and_ Libertine.
+%% All options are passes to the new packages
+%% biolinum-type1 and libertine-type1. The default
+%% font encoding is set to T1.