Skip to content

Instantly share code, notes, and snippets.

@klb2
Last active March 17, 2024 23:36
Show Gist options
  • Save klb2/29f6fffeac8cc79e3b3f79e980a6b9e3 to your computer and use it in GitHub Desktop.
Save klb2/29f6fffeac8cc79e3b3f79e980a6b9e3 to your computer and use it in GitHub Desktop.
TeXstudio autocomplete file for the review response LaTeX package (https://github.com/klb2/review-response-template)
# reviewresponse class
# Karl-L. Besser/2024-03-17
#include:scrartcl
#include:xcolor
#include:tcolorbox
\journal{text}
\manuscript{text}
\editorname{text}
\editor
\reviewer
\begin{generalcomment}#\tcolorbox
\end{generalcomment}
\begin{revcomment}#\tcolorbox
\begin{revcomment}[kvals]#\tcolorbox
\end{revcomment}
\begin{revresponse}
\begin{revresponse}[text]
\end{revresponse}
\begin{changes}#\tcolorbox
\end{changes}
\printpartbibliography{bibid}
@klb2
Copy link
Author

klb2 commented Dec 29, 2021

You need to put the .cwl file in the TeXstudio settings directory (https://github.com/texstudio-org/texstudio/wiki/Frequently-Asked-Questions#where-are-cwl-files-stored).
On Linux this typically is ~/.config/texstudio/completion/user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment