templates/latex/layout.tex.erb in review-2.4.0 vs templates/latex/layout.tex.erb in review-2.5.0

- old
+ new

@@ -247,12 +247,14 @@ \Gin@nat@width \fi } \makeatother -<%- if @config["usepackage"] -%> -<%= @config["usepackage"] %> +<%- if @config["texstyle"] -%> +<%- [@config["texstyle"]].flatten.each do |x| -%> +\usepackage{<%= x %>} +<%- end -%> <%- end -%> <%- if @config["makeindex"] -%> \usepackage{makeidx} \makeindex <%- end -%> @@ -358,19 +360,19 @@ {\noindent\reviewtitlefont\Large <%= escape_latex(@config.name_of("booktitle")) %>} \\ <%- if @config["subtitle"] -%> {\noindent\reviewtitlefont\large <%= escape_latex(@config.name_of("subtitle")) %>} \\ <%- end -%> -\rule[8pt]{14cm}{1pt} \\ +\rule[8pt]{\textwidth}{1pt} \\ {\noindent <%= @config["pubhistory"].to_s.gsub(/\n/){"\n\n\\noindent\n"} %> } \begin{tabular}{ll} <%= @okuduke %> \end{tabular}  \\ -\rule[0pt]{14cm}{1pt} \\ +\rule[0pt]{\textwidth}{1pt} \\ <%- if @config["rights"] -%> <%= @config.names_of("rights").map{|s| escape_latex(s)}.join('\\' + '\\') %> \\ <%- end -%> <%- end -%> <%- end -%>