templates/latex/layout.tex.erb in review-2.2.0 vs templates/latex/layout.tex.erb in review-2.3.0
- old
+ new
@@ -6,10 +6,12 @@
<%- if @texcompiler == "uplatex" -%>
\usepackage[deluxe,uplatex]{otf}
<%- else -%>
\usepackage[deluxe]{otf}
<%- end -%>
+\usepackage{caption}
+\usepackage{suffix}
\usepackage[T1]{fontenc}\usepackage{textcomp}%T1/TS1
% \usepackage{lmodern}
\usepackage[dvipdfmx]{graphicx}
\usepackage[dvipdfmx,table]{xcolor}%requires colortbl, array
\usepackage{framed}
@@ -133,9 +135,12 @@
\newcommand{\reviewcolumnhead}[2]{%
{\noindent\large <%= escape_latex(I18n.t("column_head"))%>: #2}}
\newcommand{\reviewtablecaption}[1]{%
\caption{#1}}
+
+\WithSuffix\newcommand\reviewtablecaption*[1]{%
+ \caption*{#1}}
\newcommand{\reviewimgtablecaption}[1]{%
\caption{#1}\vspace{-3mm}}
\newcommand{\reviewbackslash}[0]{%