templates/latex/review-jsbook/review-base.sty in review-5.5.0 vs templates/latex/review-jsbook/review-base.sty in review-5.6.0
- old
+ new
@@ -1,6 +1,6 @@
-\ProvidesClass{review-base}[2021/09/06]
+\ProvidesClass{review-base}[2022/07/25]
\RequirePackage{ifthen}
\@ifundefined{Hy@Info}{% for jsbook.cls
\RequirePackage[dvipdfmx,bookmarks=true,bookmarksnumbered=true]{hyperref}
\RequirePackage[dvipdfmx]{pxjahyper}
\newif\if@reclscover \@reclscovertrue
@@ -212,51 +212,51 @@
\newenvironment{reviewpart}{%
\setcounter{section}{0}%
\renewcommand{\thesection}{\thepart.\@arabic\c@section}%
}{}
-\newcommand{\reviewminicolumntitle}[1]{%
+\newcommand{\reviewminicolumntitle}[2]{%
\review@ifempty{#1}{}{%
- {\large \review@intn@memohead{}: #1}\\}}
+ {\large ■#2: #1}\\}}
\renewcommand{\contentsname}{\review@toctitle}
\newenvironment{reviewminicolumn}{%
\vspace{1.5zw}\begin{screen}}{%
\end{screen}\vspace{2zw}}
\newenvironment{reviewnote}[1][]{%
\begin{reviewminicolumn}
-\review@ifempty{#1}{}{\reviewminicolumntitle{#1}}
+ \reviewminicolumntitle{#1}{\review@intn@notehead}
}{\end{reviewminicolumn}}
\newenvironment{reviewmemo}[1][]{%
\begin{reviewminicolumn}
- \reviewminicolumntitle{#1}
+ \reviewminicolumntitle{#1}{\review@intn@memohead}
}{\end{reviewminicolumn}}
\newenvironment{reviewtip}[1][]{%
\begin{reviewminicolumn}
- \reviewminicolumntitle{#1}
+ \reviewminicolumntitle{#1}{\review@intn@tiphead}
}{\end{reviewminicolumn}}
\newenvironment{reviewinfo}[1][]{%
\begin{reviewminicolumn}
- \reviewminicolumntitle{#1}
+ \reviewminicolumntitle{#1}{\review@intn@infohead}
}{\end{reviewminicolumn}}
\newenvironment{reviewwarning}[1][]{%
\begin{reviewminicolumn}
- \reviewminicolumntitle{#1}
+ \reviewminicolumntitle{#1}{\review@intn@warninghead}
}{\end{reviewminicolumn}}
\newenvironment{reviewimportant}[1][]{%
\begin{reviewminicolumn}
- \reviewminicolumntitle{#1}
+ \reviewminicolumntitle{#1}{\review@intn@importanthead}
}{\end{reviewminicolumn}}
\newenvironment{reviewcaution}[1][]{%
\begin{reviewminicolumn}
- \reviewminicolumntitle{#1}
+ \reviewminicolumntitle{#1}{\review@intn@cautionhead}
}{\end{reviewminicolumn}}
\newenvironment{reviewnotice}[1][]{%
\begin{reviewminicolumn}
- \reviewminicolumntitle{#1}
+ \reviewminicolumntitle{#1}{\review@intn@noticehead}
}{\end{reviewminicolumn}}
\DeclareRobustCommand{\reviewkw}[1]{\textbf{\textgt{#1}}}
\DeclareRobustCommand{\reviewami}[1]{\mask{#1}{A}}
\DeclareRobustCommand{\reviewem}[1]{\textbf{#1}}
@@ -329,9 +329,13 @@
\DeclareRobustCommand{\reviewbou}[1]{\kenten{#1}}
\DeclareRobustCommand{\reviewinsert}[1]{\Underline{#1}}
\DeclareRobustCommand{\reviewstrike}[1]{\Midline{#1}}
+\DeclareRobustCommand{\reviewicon}[1]{\includegraphics[]{#1}}
+% アイコンの高さを文字の高さに合わせたいときには、以下をreview-custom.styに記述してください:
+% \DeclareRobustCommand{\reviewicon}[1]{\includegraphics[height=0.9zw]{#1}}
+
%%%% for ulem.sty:
%%\renewcommand{\reviewstrike}[1]{\sout{#1}}
\newcommand{\reviewth}[1]{\textgt{#1}}
\newcommand{\reviewtitlefont}[0]{\usefont{T1}{phv}{b}{n}\gtfamily}