aboutsummaryrefslogtreecommitdiff
path: root/test/lhs-test.latex+lhs
diff options
context:
space:
mode:
authorAndrew Dunning <adunning@users.noreply.github.com>2019-03-23 00:35:55 -0400
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-22 22:35:55 -0600
commite91af0a8a32d68af4c533fdf4b7caaafade577ef (patch)
tree2ae2213d4c05b873699f101ae2036ff430a58ca1 /test/lhs-test.latex+lhs
parent1e6077622635b6536ec10c8c67651ef0f4901cff (diff)
downloadpandoc-e91af0a8a32d68af4c533fdf4b7caaafade577ef.tar.gz
LaTeX template: Group graphics-related code (#5389)
* LaTeX template: Group graphics-related code The default figure placement was added in <https://github.com/jgm/pandoc/commit/f3ab4bc2b99e9f7f3917708a9110d6500aa051a0>; there does not appear to have been a reason for placing it at the end of the preamble. * Update tests
Diffstat (limited to 'test/lhs-test.latex+lhs')
-rw-r--r--test/lhs-test.latex+lhs9
1 files changed, 2 insertions, 7 deletions
diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs
index 0b9f3d1b5..7f0eaf32c 100644
--- a/test/lhs-test.latex+lhs
+++ b/test/lhs-test.latex+lhs
@@ -1,5 +1,5 @@
% Options for packages loaded elsewhere
-\PassOptionsToPackage{unicode=true}{hyperref}
+\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[
@@ -11,7 +11,7 @@
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp} % provides euro and other symbols
-\else % if luatex or xelatex
+\else % if luatex or xetex
\usepackage{unicode-math}
\defaultfontfeatures{Scale=MatchLowercase}
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
@@ -58,11 +58,6 @@
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi
-% Set default figure placement to htbp
-\makeatletter
-\def\fps@figure{htbp}
-\makeatother
-
\date{}