forked from mschroen/review_response_letter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
p-rebuttal-letter.tex
49 lines (41 loc) · 1.12 KB
/
p-rebuttal-letter.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
% Define title defaults if not defined by user
\providecommand{\lettertitle}{Author Response to Reviews of}
\providecommand{\papertitle}{Title}
\providecommand{\authors}{Authors}
\providecommand{\journal}{Journal}
%% CROSS REFERENCE TO ORIGINAL DOCUMENT
% if you just use cite
% \usepackage{xr}
% \externaldocument[v1-]{pathToDoc}
% in doc, do \ref{v1-sec:intro}
% if you use hyperref
\usepackage{xr-hyper}
\usepackage[hidelinks]{hyperref}
\makeatletter
\long\def\myempty{}
\def\XR@addURL#1{\XR@@dURL#1\myempty{}{}{}{}{}\\}
\def\XR@@dURL#1#2#3#4#5#6#7\\{%
{#1}{#2}%
\ifx\myempty#6\@empty
{#3}{#4}{\XR@URL}%
\else
\fi
}
\makeatother
\externaldocument[v1:]{../manuscript/manuscript}
\input{../preamble.tex}
\begin{document}
% Make title
{\Large\bf \lettertitle}\\[1em]
{\huge \papertitle}\\[1em]
{\authors}\\
{\emph{\journal}}\ifdefempty{\doi}{}{, \texttt{doi:\doi}}\\
\hrule
% Legend
% \hfill {\vline ~\textit{Reviewer Comment}, Author Response, \(\quad\square\) Manuscript text
\begin{flushright}
\vspace{-1em}
\vline ~ \emph{Reviewer Comment} \\
Author Response \\
$\square$ Manuscript Text
\end{flushright}