67 lines
2.1 KiB
TeX
67 lines
2.1 KiB
TeX
|
\usepackage{enumitem}
|
||
|
\usepackage{fontspec}
|
||
|
\usepackage{float}
|
||
|
\usepackage[normalem]{ulem}
|
||
|
\usepackage{hyperref}
|
||
|
\usepackage{nameref} %needed by zref-xr
|
||
|
\usepackage{zref-xr,zref-hyperref,zref-user}
|
||
|
\usepackage{xr-hyper}
|
||
|
|
||
|
|
||
|
\usepackage{adjustbox}
|
||
|
% \usepackage{xcolor}
|
||
|
\usepackage{mdframed}
|
||
|
\newmdenv[topline=false,
|
||
|
leftline=true,
|
||
|
bottomline=false,
|
||
|
rightline=false,
|
||
|
linewidth=3pt,
|
||
|
%backgroundcolor=lightgray,
|
||
|
linecolor=gray!30,
|
||
|
backgroundcolor=gray!5,
|
||
|
skipabove=\topsep,
|
||
|
skipbelow=\topsep,
|
||
|
leftmargin=0pt,
|
||
|
rightmargin=0pt,
|
||
|
innertopmargin=0pt,
|
||
|
innerbottommargin=0pt
|
||
|
]{refquote}
|
||
|
\newmdenv[topline=false,
|
||
|
leftline=true,
|
||
|
bottomline=false,
|
||
|
rightline=false,
|
||
|
linewidth=3pt,
|
||
|
%backgroundcolor=lightgray,
|
||
|
backgroundcolor=red!3!white,
|
||
|
linecolor=red!30!white,
|
||
|
skipabove=\topsep,
|
||
|
skipbelow=\topsep,
|
||
|
leftmargin=0pt,
|
||
|
rightmargin=0pt,
|
||
|
innertopmargin=10pt,
|
||
|
innerbottommargin=10pt
|
||
|
]{question}
|
||
|
% setup hyperlink for page and line number
|
||
|
\def\msname{MS}
|
||
|
\def\smname{SM}
|
||
|
\setenumerate{labelsep=*, leftmargin=1.0pc}
|
||
|
%\zexternaldocument*{ManuscriptNew\veraa}
|
||
|
\zexternaldocument*{\msname}
|
||
|
\zexternaldocument*{\smname}
|
||
|
\newcommand{\hlabel}[1]{\label{#1}\hypertarget{#1}{
|
||
|
\linelabel{line:#1}}}
|
||
|
%\externaldocument[si-]{\smname\veraa}[\smname\veraa.pdf]
|
||
|
\makeatletter
|
||
|
\newcommand{\clab}[2][]{
|
||
|
\protected@write\@auxout{\let\clab\@secondoftwo}{
|
||
|
\string\newlabel{r:#1}{{#2}{}}}%
|
||
|
\hlabel{#1}#2\hlabel{#1end}}
|
||
|
\makeatother
|
||
|
\newcommand{\zhypera}[1]{\href[pdfnewwindow]{\msname.pdf\##1}{\\[1ex]\textbf{Page \zpageref{#1}, Line
|
||
|
\zref{line:#1}--\zref{line:#1end}:}\\}}
|
||
|
\newcommand{\cref}[1]{\begin{refquote}\zhypera{#1}{\zref{r:#1}}\\[-0.5ex]\end{refquote}}
|
||
|
% \newenvironment{ra}[1][\unskip]{\par \noindent \\[-1ex] \textbf{Response/Action:}\par\bf}{\ \\}
|
||
|
\renewenvironment{quote}{\begin{question}}{\end{question}}
|
||
|
% \renewenvironment{verbatim}{\begin{ra}}{\end{ra}}
|
||
|
|