| 1 | # Structured Rebuttals in LaTeX |
| 2 | |
| 3 | [](https://github.com/sergiud/rebuttal/actions/workflows/texlive.yml) |
| 4 | |
| 5 | The rebuttal LaTeX package provides means for writing structured journal and |
| 6 | conference paper rebuttals. |
| 7 | |
| 8 | ## Features |
| 9 | |
| 10 | * Creation of a master list of referee comments and the corresponding replies |
| 11 | * Support for cross-referencing the changes (i.e., additions, deletions, and |
| 12 | changes) within the original manuscript and the rebuttal letter |
| 13 | |
| 14 | ## Getting Started |
| 15 | |
| 16 | To use the package, simply load `rebuttal` in the document preamble as follows: |
| 17 | |
| 18 | ```latex |
| 19 | \usepackage{rebuttal} |
| 20 | ``` |
| 21 | |
| 22 | Also make sure the `xcolor` package has been loaded using the following options: |
| 23 | |
| 24 | * `dvipsnames` |
| 25 | * `svgnames` |
| 26 | * `x11names` |
| 27 | |
| 28 | Please refer to the |
| 29 | [letter](https://github.com/sergiud/rebuttal/blob/2e8839440c55e23de8dd05a7c0a0cef6f15ce23e/examples/letter.tex#L1) |
| 30 | example for necessary preamble setup. |
| 31 | |
| 32 | Afterwards, you can structure the rebuttal using (multiple) `rebuttal` |
| 33 | environment(s). |
| 34 | |
| 35 | ## Usage |
| 36 | |
| 37 | A well-structured rebuttal typically consists of the following parts: |
| 38 | |
| 39 | 1. a master list of referee comments and author's replies, and |
| 40 | 2. clearly highlighted changes to the manuscript that stem from reviewers' |
| 41 | comments. |
| 42 | |
| 43 | The following sections provide an overview of the package's functionality that |
| 44 | supports authors in producing the above content in a consistent manner. |
| 45 | |
| 46 | ### Structuring the Rebuttal |
| 47 | |
| 48 | The `rebuttal` environment can contain several blocks that refer to editor's or |
| 49 | specific reviewers' comments and your replies to referees' comments. |
| 50 | Specifically, the environment is expected to contain a `comment` and an `answer` |
| 51 | environment. The general layout looks as follows: |
| 52 | |
| 53 | ```latex |
| 54 | \begin{rebuttal}[Editor's Comments] |
| 55 | \begin{comment} |
| 56 | % Reviewer's comment |
| 57 | \end{comment} |
| 58 | \begin{answer} |
| 59 | % The reply |
| 60 | \end{answer} |
| 61 | \end{rebuttal} |
| 62 | ``` |
| 63 | |
| 64 | ### Annotating Changes to the Manuscript |
| 65 | |
| 66 | Within the manuscript, three main commands can be used to denote additions, |
| 67 | deletions, or changes. The corresponding commands are `\addition`, `\deletion`, |
| 68 | and `\change`. |
| 69 | |
| 70 | All three commands require specifying their labels for referencing the |
| 71 | modifications using the `label` option. Additionally, the `ref` option back |
| 72 | references the original reviewer comment. While `\addition` and `\deletion` |
| 73 | require a single argument. `\change` expects two arguments, where the first one |
| 74 | denotes the changed text, and the second one the new text. |
| 75 | |
| 76 | ### Annotating Multiple Paragraphs |
| 77 | |
| 78 | Additionally to the provided markup commands, the package also defines |
| 79 | equivalent environments for annotating multiple paragraphs: |
| 80 | |
| 81 | ```latex |
| 82 | \begin{additionenv}[label=a:par,ref=c:missing-motivations] |
| 83 | \section{New Experiment} |
| 84 | % new text |
| 85 | \end{additionenv} |
| 86 | |
| 87 | \begin{changeenv}[label=ch:par,ref=c:missing-motivations]{old text} |
| 88 | \section{Improved Experiment} |
| 89 | % new text |
| 90 | \end{changeenv} |
| 91 | |
| 92 | \begin{deletionenv}[label=d:par,ref=c:missing-motivations] |
| 93 | \section{Useless Discussion} |
| 94 | % old text |
| 95 | \end{deletionenv} |
| 96 | ``` |
| 97 | |
| 98 | ### Referencing Multiple Changes |
| 99 | |
| 100 | The `ref` option provided by markup commands may specify multiple labels: |
| 101 | |
| 102 | ```latex |
| 103 | \addition[label=a:new,ref={c:c1,c:c2}]{new text}. |
| 104 | ``` |
| 105 | |
| 106 | ## Limitations |
| 107 | |
| 108 | * Rebuttal markup cannot be used within floating environments such as `figure` |
| 109 | and `table`, and the `\caption` command. |
| 110 | |
| 111 | ## License |
| 112 | |
| 113 | The `rebuttal` package is distributed under the [LaTeX Project Public |
| 114 | License 1.3](https://ctan.org/license/lppl1.3) or later. |