Describe the bug
The \added command allows an author to flag text that was added in revision. When the trackchanges option is used, these text is bolded so the science editor can easily see what was changed. The command works for text the body of the manuscript but has some problems in tables and figures. It works within text in a cell of a table plus a \colhead command and \tablecomment in a deluxetable but fails in the deluxetable \tablecaption and \caption in a figure environment.
Discovered by Aiden Zelakiewicz at Cornell.
To Reproduce
The mwe.txt file is provided to document the bug. Change this file to mwe.tex to compile locally as github does not allow .tex files to be uploaded.
Expected behavior
The text in the table title and figure caption that is flagged with \added should be in bold.
Describe the bug
The
\addedcommand allows an author to flag text that was added in revision. When thetrackchangesoption is used, these text is bolded so the science editor can easily see what was changed. The command works for text the body of the manuscript but has some problems in tables and figures. It works within text in a cell of a table plus a\colheadcommand and\tablecommentin a deluxetable but fails in the deluxetable\tablecaptionand\captionin a figure environment.Discovered by Aiden Zelakiewicz at Cornell.
To Reproduce
The mwe.txt file is provided to document the bug. Change this file to mwe.tex to compile locally as github does not allow .tex files to be uploaded.
Expected behavior
The text in the table title and figure caption that is flagged with
\addedshould be in bold.