Skip to content

Commit fe48148

Browse files
author
Clément
committed
Trying to improve double spacing.
1 parent 35adf0a commit fe48148

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

md_version/main.pdf

-553 Bytes
Binary file not shown.

md_version/templates/head_b.tex

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,18 +161,32 @@
161161

162162

163163
% Everything must be double spaced
164-
\linespread{2}
165-
% *but* the sectioning commands
166-
% (titles, subtitles, etc.).
164+
% "Double space" has multiple definitions,
165+
% we implement two options below, and use the
166+
% first by default.
167+
% Refer to https://tex.stackexchange.com/q/13742
168+
% for more details.
169+
170+
% Option A:
171+
\usepackage[nodisplayskipstretch]{setspace}
172+
\doublespacing
173+
174+
% Option B:
175+
% Uncomment lines with two %
176+
% and comment Option A to use.
177+
%% \linespread{2}
178+
% But the sectionning commands
179+
% (titles, subtitles, etc.)
180+
% should *not* be double-spaced.
167181
% https://tex.stackexchange.com/a/365269/
168-
\addtokomafont{disposition}{\linespread{1}}
182+
%% \addtokomafont{disposition}{\linespread{1}}
169183
% Since biblatex is loaded quite late in the template
170184
% (cf. https://github.com/jgm/pandoc-templates/blob/master/default.latex )
171185
% we defer this command, that let the line space in the references be only
172186
% single-spaced, to the end of the preamble.
173-
\AtEndPreamble{
174-
\AtNextBibliography{\linespread{1}}
175-
}
187+
%% \AtEndPreamble{
188+
%% \AtNextBibliography{\linespread{1}}
189+
%% }
176190

177191

178192
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

0 commit comments

Comments
 (0)