Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

目次に入りそうなインライン命令をRobustCommandで定義する #1280

Merged
merged 1 commit into from
Mar 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 15 additions & 16 deletions templates/latex/review-jlreq/review-base.sty
Original file line number Diff line number Diff line change
Expand Up @@ -146,27 +146,26 @@
{\end{tcolorbox}}

% 書体
\newcommand{\reviewkw}[1]{\textbf{\textgt{#1}}}
\newcommand{\reviewami}[1]{#1}% FIXME
\newcommand{\reviewballoon}[1]{←{#1}}
\newcommand{\reviewem}[1]{\textbf{#1}}
\newcommand{\reviewstrong}[1]{\textbf{#1}}
\newcommand{\reviewunderline}[1]{\underline{#1}}% ulemかjumolineで上書き。デフォルトはulemにしている
\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]{#1}% FIXME
\DeclareRobustCommand{\reviewballoon}[1]{←{#1}}
\DeclareRobustCommand{\reviewem}[1]{\textbf{#1}}
\DeclareRobustCommand{\reviewstrong}[1]{\textbf{#1}}
\DeclareRobustCommand{\reviewunderline}[1]{\underline{#1}}% ulemかjumolineで上書き。デフォルトはulemにしている
\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}}}

%% @<del> is ignored in LaTeX with default style
\newcommand{\reviewstrike}[1]{#1}

%% \DeclareRobustCommand{\reviewstrike}[1]{#1}
%%%% for ulem.sty:
\renewcommand{\reviewstrike}[1]{\sout{#1}}
\DeclareRobustCommand{\reviewstrike}[1]{\sout{#1}}
%%
%%%% for jumoline.sty:
%%\renewcommand{\reviewstrike}[1]{\Middleline{#1}}
%%\DeclareRobustCommand{\reviewstrike}[1]{\Middleline{#1}}

\newcommand{\reviewtitlefont}[0]{\usefont{T1}{phv}{b}{n}\gtfamily}
\newcommand{\reviewmainfont}[0]{}
Expand Down
26 changes: 13 additions & 13 deletions templates/latex/review-jsbook/review-base.sty
Original file line number Diff line number Diff line change
Expand Up @@ -252,21 +252,21 @@
\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}}}

%% @<del> is ignored in LaTeX with default style
\newcommand{\reviewstrike}[1]{#1}
\DeclareRobustCommand{\reviewstrike}[1]{#1}

%%%% for ulem.sty:
%%\renewcommand{\reviewstrike}[1]{\sout{#1}}
Expand Down