From e91af0a8a32d68af4c533fdf4b7caaafade577ef Mon Sep 17 00:00:00 2001
From: Andrew Dunning <adunning@users.noreply.github.com>
Date: Sat, 23 Mar 2019 00:35:55 -0400
Subject: 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
---
 test/lhs-test.latex | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

(limited to 'test/lhs-test.latex')

diff --git a/test/lhs-test.latex b/test/lhs-test.latex
index 9b5d2790a..fe3020054 100644
--- a/test/lhs-test.latex
+++ b/test/lhs-test.latex
@@ -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}
@@ -91,11 +91,6 @@
   \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
 \fi
 
-% Set default figure placement to htbp
-\makeatletter
-\def\fps@figure{htbp}
-\makeatother
-
 
 \date{}
 
-- 
cgit v1.2.3

