diff --git a/sty/review-base.sty b/sty/review-base.sty index 8b4a1be..ffe2112 100644 --- a/sty/review-base.sty +++ b/sty/review-base.sty @@ -146,35 +146,35 @@ % 囲み記事 \newenvironment{reviewnote}[1][]{% - \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries NOTE #1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} + \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries \review@intn@notehead\hspace{0.75\zw}#1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} {\end{tcolorbox}} \newenvironment{reviewmemo}[1][]{% - \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries MEMO #1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} + \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries \review@intn@memohead\hspace{0.75\zw}#1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} {\end{tcolorbox}} \newenvironment{reviewtip}[1][]{% - \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries Tips #1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} + \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries \review@intn@tiphead\hspace{0.75\zw}#1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} {\end{tcolorbox}} \newenvironment{reviewinfo}[1][]{% - \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries INFORMATION #1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} + \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries \review@intn@infohead\hspace{0.75\zw}#1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} {\end{tcolorbox}} \newenvironment{reviewwarning}[1][]{% - \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries WARNING! #1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} + \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries \review@intn@warninghead\hspace{0.75\zw}#1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} {\end{tcolorbox}} \newenvironment{reviewimportant}[1][]{% - \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries IMPORTANT! #1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} + \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries \review@intn@importanthead\hspace{0.75\zw}#1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} {\end{tcolorbox}} \newenvironment{reviewcaution}[1][]{% - \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries CAUTION! #1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} + \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries \review@intn@cautionhead\hspace{0.75\zw}#1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} {\end{tcolorbox}} \newenvironment{reviewnotice}[1][]{% - \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries NOTICE #1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} + \begin{tcolorbox}[skin=enhanced jigsaw,breakable,empty,coltitle=black,title={\sffamily\bfseries \review@intn@noticehead\hspace{0.75\zw}#1},borderline horizontal={0.5mm}{0pt}{black!50}, left=1mm, right=1mm, left skip=6mm]} {\end{tcolorbox}} % 書体 @@ -187,6 +187,9 @@ \DeclareRobustCommand{\reviewit}[1]{\textit{#1}} \DeclareRobustCommand{\reviewbold}[1]{\textbf{#1}} \DeclareRobustCommand{\reviewtcy}[1]{\tatechuyoko{#1}} +\DeclareRobustCommand{\reviewicon}[1]{\includegraphics[]{#1}} +% アイコンの高さを文字の高さに合わせたいときには、以下をreview-custom.styに記述してください: +% \DeclareRobustCommand{\reviewicon}[1]{\includegraphics[height=0.9\zw]{#1}} % allow break line in tt % contributed by @zr_tex8r diff --git a/sty/review-base.sty-old b/sty/review-base.sty-old index a505b9f..8b4a1be 100644 --- a/sty/review-base.sty-old +++ b/sty/review-base.sty-old @@ -433,4 +433,4 @@ \newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} -\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} \ No newline at end of file +\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} diff --git a/sty/review-custom.sty b/sty/review-custom.sty index 0d68d63..1869658 100644 --- a/sty/review-custom.sty +++ b/sty/review-custom.sty @@ -100,6 +100,7 @@ \end{minipage} \end{titlepage} \clearpage + \oneblankpage \else% 横書き大扉 \begin{titlepage} \thispagestyle{empty} @@ -132,7 +133,6 @@ }{% \def\reviewtitlepagecont{\review@titlefile} } - \oneblankpage \fi %%索引 theindex 環境 diff --git a/sty/review-jlreq.cls b/sty/review-jlreq.cls index da06bcd..95ce776 100644 --- a/sty/review-jlreq.cls +++ b/sty/review-jlreq.cls @@ -224,6 +224,20 @@ \RequirePackage{pxjahyper} \fi +%% better line breaks for long urls +\AtBeginDocument{% + %% modified url.sty + \def\UrlBreaks{% + \do\0\do\1\do\2\do\3\do\4\do\5\do\6\do\7\do\8\do\9% + \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M\do\N% + \do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z% + \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m\do\n% + \do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z% + %% + \do\.\do\@\do\\\do\/\do\!\do\_\do\|\do\;\do\>\do\]% + \do\)\do\,\do\?\do\&\do\'\do+\do\=\do\#}% +} + %% include fullpage graphics \edef\grnchry@head{\dimexpr\topmargin+1in+\headheight+\headsep} \edef\grnchry@gutter{\evensidemargin} diff --git a/sty/review-jlreq.cls-old b/sty/review-jlreq.cls-old index 6e2cdce..da06bcd 100644 --- a/sty/review-jlreq.cls-old +++ b/sty/review-jlreq.cls-old @@ -376,4 +376,4 @@ \ifthenelse{\equal{\jlreq@article@type}{article}}{}{\@addtoreset{reclsendnote}{chapter}} \listfiles -\endinput \ No newline at end of file +\endinput