-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphilosophie.sty
107 lines (90 loc) · 2.43 KB
/
philosophie.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
\ProvidesPackage{philosophie}
\usepackage[french]{babel}
\selectlanguage{french}
\usepackage{ifluatex}
\ifluatex
\usepackage[
%draft,
hyphenation,
nosingleletter,
lastparline,
homeoarchy,
%rivers
]{impnattypo}
\fi
\usepackage[all]{nowidow}
\usepackage{numprint}
\usepackage[breaklinks=true,unicode=true]{hyperref}
\hypersetup{colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black,
bookmarksopen=true,
pdfpagelayout=TwoPageRight,
pdfauthor={Chuck Smith},
pdftitle={Sagesse pour Aujourd'hui},
pdftex}
\usepackage{url}
\usepackage[protrusion=true,final]{microtype}
\usepackage{bibleref-french-colombe}
% Make indexes
\newcommand{\indextitle}{Index des r\'ef\'erences bibliques}
\usepackage{imakeidx}
\makeindex[title=\indextitle,intoc,options=-r -s bibleref.ist,columns=2]
\ifluatex
\usepackage{fontspec}
\usepackage{xunicode}
%\defaultfontfeatures{Mapping=tex-text}
\defaultfontfeatures{Ligatures=TeX}
%\setmainfont{Minion Pro}
\setmainfont{EB Garamond}
%\newfontfamily\telegramfont{Source Sans Pro}
\newfontfamily\telegramfont{Inconsolata}
\newfontfamily\liningfont[Numbers=Lining]{EB Garamond}
\fi
% cadratin
\newcommand*{\ocadr}{\mbox{---}\nobreak\,\nobreak}
\newcommand*{\fcadr}{\unskip\nobreak\,\nobreak{}---}
\usepackage{epigraph}
\setlength{\epigraphwidth}{0.5\textwidth}
\usepackage{lettrine}
\ifluatex
\newfontfamily\lettrinefont{LinLibertineIO}
\else
\newcommand\lettrinefont{}
\fi
\renewcommand{\LettrineFontHook}{\lettrinefont\color[gray]{0.3}}
% Wrapper for TeX4HT
\newcommand{\Og}{\og}
\newcommand{\Fg}{\fg{}}
% colon, frenchb's definition
\makeatletter
%\initiate@active@char{≡}%
%\shorthandon{≡}
%\declare@shorthand{french}{≡}{%
\newcommand\frcolon{%
\ifhmode
\ifdim\lastskip>\z@
\unskip\penalty\@M\Fcolonspace
\else
\FDP@colonspace
\fi
\fi
\string:\space}
%\declare@shorthand{system}{≡}{\string≡}
%\bbl@activate{≡}
\makeatother
% Patch bibleref to sort Bible books properly
\usepackage{etoolbox}
\makeatletter
\patchcmd{\@bible@verse}{\@bv@idxsort{\csname br@#1\endcsname}}{\@bv@idxsort{#1}}
\makeatother
% Tune headings
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\vspace{11mm}\LARGE}
{}{10pt}
{\vspace{-25mm}\filcenter}
% Graphics
\usepackage{graphics}