\documentclass[a4paper,10pt]{letter}
\usepackage[utf8]{inputenc}
\PassOptionsToPackage{hyphens}{url}\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{a4wide}
\usepackage{xcolor}
\usepackage{colortbl,multirow,hhline}
\usepackage{tcolorbox}
\usepackage{letterbib}
\usepackage{footnote}
\usepackage{float}
\usepackage{url}
\usepackage{array}
\usepackage{graphicx}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{supertabular}
\usepackage{caption}
\usepackage{newfloat}
\usepackage[percent]{overpic}
\usepackage{xspace}
\usepackage{newfloat}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{shapes}
\usepackage{nicefrac}
\DeclareFloatingEnvironment[fileext=lot]{table}
% Macros for proof-reading
\usepackage[normalem]{ulem} % for \sout
\usepackage{xcolor}
\newcommand{\ra}{$\rightarrow$}
\newcommand{\parameter}[1]{\textit{#1}}
\newcommand{\parameterValue}[1]{\textit{#1}}
%\newcommand{\ugh}[1]{\textcolor{red}{\uwave{#1}}} % please rephrase
\newcommand{\ir}[1]{\textcolor{black}{#1}} % please insert
%\newcommand{\del}[1]{\textcolor{red}{\sout{#1}}} % please delete
%\newcommand{\chg}[2]{\textcolor{red}{\sout{#1}}{\ra}\textcolor{blue}{\uline{#2}}} % please change
% Put edit comments in a really ugly standout display
\usepackage{ifthen}
\usepackage{amssymb}
\newboolean{showcomments}
\setboolean{showcomments}{true} % toggle to show or hide comments
\ifthenelse{\boolean{showcomments}}
{\newcommand{\nb}[2]{
\fcolorbox{gray}{yellow}{\bfseries\sffamily\scriptsize#1}
{\sf\small$\blacktriangleright$\textit{#2}$\blacktriangleleft$}
}
\newcommand{\version}{\emph{\scriptsize$-$working$-$}}
}
{\newcommand{\nb}[2]{}
\newcommand{\version}{}
}
\newcommand{\review}[1]{\hrulefill\par{\Large\textbf{Review #1}}}
\newcommand{\editor}[1]{\hrulefill\par{\Large\textbf{#1}}}
\newcommand{\rcomment}[2]{\textbf{#1} ``#2\xspace''}
\newcommand{\ranswer}[1]{\begin{quote}\textnormal{\textbf{Our answer:}} #1\end{quote}}
\newcommand\iq[1]{\textit{``#1''}}
\newcommand\pl[1]{~(\href{#1}{#1})}
\newcommand\code[1]{\textnormal{\texttt{#1}}}
\newcolumntype{P}[1]{>{\centering\arraybackslash}m{#1}}
\usepackage[switch]{lineno}
% \linenumbers
\renewcommand{\linenumberfont}{\ttfamily\bfseries\scriptsize\color{red}}
% new commands
\definecolor{gray50}{gray}{.5}
\definecolor{gray40}{gray}{.6}
\definecolor{gray30}{gray}{.7}
\definecolor{gray20}{gray}{.8}
\definecolor{gray10}{gray}{.9}
\definecolor{gray05}{gray}{.95}
\definecolor{green10}{RGB}{204, 255, 204}
\definecolor{red10}{RGB}{255, 204, 204}
\newcommand\added[1]{\textcolor{black}{#1}}
\newcommand\todo[1]{\nb{Todo}{#1}}
\newcommand\assignedTo[1]{\nb{Assigned to: }{#1}}
% end Macros for proof-reading
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
\node[shape=circle,draw,inner sep=1pt] (char) {#1};}}
\newcommand{\ie}{\emph{i.e.,}\xspace}
\newcommand{\eg}{\emph{e.g.,}\xspace}
\newcommand{\etc}{etc.\xspace}
\newcommand{\etal}{\emph{et~al.}\xspace}
\signature{
\todo{}
}
\newcommand{\ugh}[1]{\textcolor{red}{\uwave{#1}}} % please rephrase
\newcommand{\ins}[1]{\textcolor{blue}{#1}} % please insert
\newcommand{\del}[1]{\textcolor{red}{\sout{#1}}} % please delete
\newcommand{\chg}[2]{\textcolor{red}{\sout{#1}}{$\rightarrow$}\textcolor{blue}{\uline{#2}}} % please change
\begin{document}
\begin{letter}{\todo{}\\
Editorial board}
\opening{Dear Editors and Reviewers,}
We would like to thank you for the greatly useful comments that permitted us to improve the previous version of the paper.
In the current version of the manuscript we have seriously taken into account each comment and have improved the study accordingly. Below we explain how editor's and reviewers' comments were individually addressed; for easing the reviewing work, the major changes are presented as \ins{blu text} in the revised version of the paper.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Editor
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\editor{Editor}
\rcomment{E.1}{}
\ranswer{
\todo{}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% REVIEWER 1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\review{1}
\rcomment{R1.1}{}
\ranswer{
\todo{}
}
\rcomment{R1.2}{}
\ranswer{
\todo{}
}
\rcomment{R1.3}{}
\ranswer{
\todo{}
}
\rcomment{R1.4}{}
\ranswer{
\todo{}
}
\rcomment{R1.5}{}
\ranswer{
\todo{}
}
\rcomment{R1.6}{}
\ranswer{
\todo{}
}
\rcomment{R1.7}{}
\ranswer{
\todo{}
}
\rcomment{R1.8}{}
\ranswer{
\todo{}
}
\rcomment{R1.9}{}
\ranswer{
\todo{}
}
\rcomment{R1.10}{}
\ranswer{
\todo{}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% REVIEWER 2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\review{2}
\rcomment{R2.1}{}
\ranswer{
\todo{}
}
\rcomment{R2.2}{}
\ranswer{
\todo{}
}
\rcomment{R2.3}{}
\ranswer{
\todo{}
}
\rcomment{R2.4}{}
\ranswer{
\todo{}
}
\rcomment{R2.5}{}
\ranswer{
\todo{}
}
\rcomment{R2.6}{}
\ranswer{
\todo{}
}
\rcomment{R2.7}{}
\ranswer{
\todo{}
}
\rcomment{R2.8}{}
\ranswer{
\todo{}
}
\rcomment{R2.9}{}
\ranswer{
\todo{}
}
\rcomment{R2.10}{}
\ranswer{
\todo{}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% REVIEWER 3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\review{3}
\rcomment{R3.1}{}
\ranswer{
\todo{}
}
\rcomment{R3.2}{}
\ranswer{
\todo{}
}
\rcomment{R3.3}{}
\ranswer{
\todo{}
}
\rcomment{R3.4}{}
\ranswer{
\todo{}
}
\rcomment{R3.5}{}
\ranswer{
\todo{}
}
\rcomment{R3.6}{}
\ranswer{
\todo{}
}
\rcomment{R3.7}{}
\ranswer{
\todo{}
}
\rcomment{R3.8}{}
\ranswer{
\todo{}
}
\rcomment{R3.9}{}
\ranswer{
\todo{}
}
\rcomment{R3.10}{}
\ranswer{
\todo{}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\hrulefill
\vspace{.4in}
%\vfill
\closing{Best regards,}
\bibliographystyle{plain}
\bibliography{bibliography}
\end{letter}
\end{document}