diff --git a/lib/Text/Pandoc/CrossRef/References/Blocks.hs b/lib/Text/Pandoc/CrossRef/References/Blocks.hs
--- a/lib/Text/Pandoc/CrossRef/References/Blocks.hs
+++ b/lib/Text/Pandoc/CrossRef/References/Blocks.hs
@@ -98,7 +98,7 @@
     case outFormat opts of
           f | isFormat "latex" f ->
             replaceNoRecurse $ Div nullAttr $
-              [ RawBlock (Format "tex") "\\begin{figure}" ]
+              [ RawBlock (Format "tex") "\\begin{figure}\n\\centering" ]
               ++ cont ++
               [ Para [RawInline (Format "tex") "\\caption"
                        , Span nullAttr caption]
diff --git a/pandoc-crossref.cabal b/pandoc-crossref.cabal
--- a/pandoc-crossref.cabal
+++ b/pandoc-crossref.cabal
@@ -2,7 +2,7 @@
 -- documentation, see http://haskell.org/cabal/users-guide/
 
 name:                pandoc-crossref
-version:             0.2.4.1
+version:             0.2.4.2
 synopsis:            Pandoc filter for cross-references
 description:         pandoc-crossref is a pandoc filter for numbering figures, equations, tables and cross-references to them.
 license:             GPL-2
@@ -40,7 +40,7 @@
 source-repository this
   type: git
   location: https://github.com/lierdakil/pandoc-crossref
-  tag: v0.2.4.1
+  tag: v0.2.4.2
 
 library
   exposed-modules:     Text.Pandoc.CrossRef
@@ -63,12 +63,10 @@
                        Text.Pandoc.CrossRef.Util.PandocOrphans
   build-depends:       base >=4.8 && <5
                      , pandoc >= 1.17.1 && <1.19
+                     , pandoc-types >= 1.16 && < 1.18
                      , mtl >= 1.1 && <2.3
                      , containers >= 0.1 && <0.6
-                     , pandoc-types >= 1.16 && < 1.18
-                     , yaml >= 0.8 && <0.9
                      , data-default >= 0.4 && <0.8
-                     , bytestring >=0.9 && <0.11
                      , data-accessor >= 0.2.2.6 && < 0.3.0.0
                      , data-accessor-template >= 0.2.1.12 && < 0.3.0.0
                      , data-accessor-transformers >= 0.2.1.6 && < 0.3.0.0
@@ -87,14 +85,9 @@
 executable pandoc-crossref
   main-is:             pandoc-crossref.hs
   build-depends:       base >=4.8 && <5
-                     , pandoc >= 1.17.1 && <1.19
-                     , mtl >= 1.1 && <2.3
-                     , containers >= 0.1 && <0.6
-                     , pandoc-types >= 1.16 && < 1.18
-                     , yaml >= 0.8 && <0.9
-                     , data-default >= 0.4 && <0.8
-                     , bytestring >=0.9 && <0.11
                      , pandoc-crossref
+                     , pandoc
+                     , pandoc-types
   hs-source-dirs:      src
   Ghc-Options:         -Wall
   default-language:    Haskell2010
@@ -108,23 +101,20 @@
   else
     hs-source-dirs:      ghc-7
   Build-Depends:   base >=4.8 && <5
-                 , pandoc >= 1.17.1 && <1.19
-                 , mtl >= 1.1 && <2.3
-                 , containers >= 0.1 && <0.6
-                 , pandoc-types >= 1.16 && < 1.18
-                 , yaml >= 0.8 && <0.9
-                 , data-default >= 0.4 && <0.8
-                 , bytestring >=0.9 && <0.11
-                 , hspec
-                 , process >=1 && <1.5
-                 , data-accessor >= 0.2.2.6 && < 0.3.0.0
-                 , data-accessor-template >= 0.2.1.12 && < 0.3.0.0
-                 , data-accessor-transformers >= 0.2.1.6 && < 0.3.0.0
-                 , template-haskell >= 2.7.0.0 && < 3.0.0.0
-                 , roman-numerals == 0.5.*
-                 , syb >= 0.4 && < 0.7
                  , pandoc-crossref
-                 , utility-ht >= 0.0.11 && < 0.1.0
+                 , hspec
+                 , pandoc
+                 , pandoc-types
+                 , mtl
+                 , containers
+                 , data-default
+                 , data-accessor-template
+                 , syb
+                 , roman-numerals
+                 , template-haskell
+                 , utility-ht
+                 , data-accessor
+                 , data-accessor-transformers
   other-modules:
                 Native
                 Paths_pandoc_crossref
diff --git a/test/m2m/subfigures-ccsDelim/expect.tex b/test/m2m/subfigures-ccsDelim/expect.tex
--- a/test/m2m/subfigures-ccsDelim/expect.tex
+++ b/test/m2m/subfigures-ccsDelim/expect.tex
@@ -1,6 +1,7 @@
 You can define subfigures:
 
 \begin{figure}
+\centering
 
 \subfloat[1]{\includegraphics{fig1.png}\label{fig:subfig1}}
 \subfloat[2]{\includegraphics{fig2.png}\label{fig:subfig2}}
@@ -21,6 +22,7 @@
 \end{figure}
 
 \begin{figure}
+\centering
 
 \subfloat[1]{\includegraphics{fig1.png}\label{fig:subfig21}}
 
diff --git a/test/m2m/subfigures-grid/expect.tex b/test/m2m/subfigures-grid/expect.tex
--- a/test/m2m/subfigures-grid/expect.tex
+++ b/test/m2m/subfigures-grid/expect.tex
@@ -1,6 +1,7 @@
 You can define subfigures:
 
 \begin{figure}
+\centering
 
 \subfloat[1]{\includegraphics[width=0.30000\textwidth]{fig1.png}\label{fig:subfig1}}
 \subfloat[2]{\includegraphics[width=0.30000\textwidth]{fig2.png}\label{fig:subfig2}}
@@ -21,6 +22,7 @@
 \end{figure}
 
 \begin{figure}
+\centering
 
 \subfloat[1]{\includegraphics{fig1.png}\label{fig:subfig21}}
 
diff --git a/test/m2m/subfigures/expect.tex b/test/m2m/subfigures/expect.tex
--- a/test/m2m/subfigures/expect.tex
+++ b/test/m2m/subfigures/expect.tex
@@ -1,6 +1,7 @@
 You can define subfigures:
 
 \begin{figure}
+\centering
 
 \subfloat[1]{\includegraphics{fig1.png}\label{fig:subfig1}}
 \subfloat[2]{\includegraphics{fig2.png}\label{fig:subfig2}}
@@ -21,6 +22,7 @@
 \end{figure}
 
 \begin{figure}
+\centering
 
 \subfloat[1]{\includegraphics{fig1.png}\label{fig:subfig21}}
 
