templates/latex/review-jsbook/review-base.sty in review-3.1.0 vs templates/latex/review-jsbook/review-base.sty in review-3.2.0

- old
+ new

@@ -14,10 +14,11 @@ \RequirePackage[deluxe,uplatex]{otf}% }{% \RequirePackage[deluxe]{otf}% } \RequirePackage{caption} +\RequirePackage{needspace} \RequirePackage{suffix} \RequirePackage[T1]{fontenc}\RequirePackage{textcomp}%T1/TS1 \RequirePackage{lmodern} \RequirePackage[dvipdfmx]{graphicx} \RequirePackage[dvipdfmx,table]{xcolor}%requires colortbl, array @@ -119,15 +120,18 @@ \begin{figure} \begin{center}\begin{alltt}}{% \end{alltt}\end{center} \end{figure}} +\DeclareRobustCommand{\reviewincludegraphics}[2][]{% + \includegraphics[#1]{#2}} + \newcommand{\reviewequationcaption}[1]{% \medskip{\small\noindent #1}} -\newenvironment{reviewequationblock}{}{} +\newenvironment{reviewequationblock}{\needspace{2\Cvs}}{} -\newenvironment{reviewlistblock}{}{} +\newenvironment{reviewlistblock}{\needspace{2\Cvs}}{} \newenvironment{reviewemlist}{% \medskip\small\begin{shaded}\setlength{\baselineskip}{1.3zw}\begin{alltt}}{% \end{alltt}\end{shaded}} @@ -250,24 +254,25 @@ \newenvironment{reviewnotice}[1][]{% \begin{reviewminicolumn} \reviewminicolumntitle{#1} }{\end{reviewminicolumn}} -\newcommand{\reviewkw}[1]{\textbf{\textgt{#1}}} -\newcommand{\reviewami}[1]{\mask{#1}{A}} -\newcommand{\reviewem}[1]{\textbf{#1}} -\newcommand{\reviewstrong}[1]{\textbf{#1}} -\newcommand{\reviewballoon}[1]{←{#1}} -\newcommand{\reviewunderline}[1]{\Underline{#1}} -\newcommand{\reviewit}[1]{\textit{#1}} -\newcommand{\reviewbold}[1]{\textbf{#1}} -\newcommand{\reviewcode}[1]{\texttt{#1}} -\newcommand{\reviewtt}[1]{\texttt{#1}} -\newcommand{\reviewtti}[1]{\texttt{\textit{#1}}} -\newcommand{\reviewttb}[1]{\texttt{\textbf{#1}}} +\DeclareRobustCommand{\reviewkw}[1]{\textbf{\textgt{#1}}} +\DeclareRobustCommand{\reviewami}[1]{\mask{#1}{A}} +\DeclareRobustCommand{\reviewem}[1]{\textbf{#1}} +\DeclareRobustCommand{\reviewstrong}[1]{\textbf{#1}} +\DeclareRobustCommand{\reviewballoon}[1]{←{#1}} +\DeclareRobustCommand{\reviewunderline}[1]{\Underline{#1}} +\DeclareRobustCommand{\reviewit}[1]{\textit{#1}} +\DeclareRobustCommand{\reviewbold}[1]{\textbf{#1}} +\DeclareRobustCommand{\reviewcode}[1]{\texttt{#1}} +\DeclareRobustCommand{\reviewtt}[1]{\texttt{#1}} +\DeclareRobustCommand{\reviewtti}[1]{\texttt{\textit{#1}}} +\DeclareRobustCommand{\reviewttb}[1]{\texttt{\textbf{#1}}} +\DeclareRobustCommand{\reviewbou}[1]{\kenten{#1}} %% @<del> is ignored in LaTeX with default style -\newcommand{\reviewstrike}[1]{#1} +\DeclareRobustCommand{\reviewstrike}[1]{#1} %%%% for ulem.sty: %%\renewcommand{\reviewstrike}[1]{\sout{#1}} %% %%%% for jumoline.sty: