Somehow I just created an "annotation" window in TexStudio. I have been using TexStudio for about 4 years and never knew this was possible. I cannot find anything in the online documentation for TexStudio that even mentions the word "annotation". Annotation shows up as an option in the "Window" menu when the pdf window is selected. It seems like this might be a useful feature but I would like to know "how" I created this one window and what properties it might have.
Annotations are a feature of PDF. TeXstudio can display the annotations in a PDF. It does not support editing the PDF (and annotations therein). This would be rather pointless anyway, because the PDF gets recompiled and changes would be lost.
Instead, you can use LaTeX packages like
todonotes to create annotations.
See here for an example.
As an additional feature, TeXstudio can show a list of annotations in an PDF (not shown in the screenshot). This can also be used in a review process.
- Give the PDF to a reviewer
- He can add annotations with whatever tool he likes (e.g. Adobe Acrobat).
- Replace the PDF in your tex document folder by the annotated pdf.
- View the PDF in TeXstudio (don't recompile. That would overwrite the pdf).
- Browse the list of annotations: Clicking on the annotation brings up the Position in the PDF. Ctrl-Click in the PDF moves to the source code. Here you can directly fix something or add a comment /
%TODOyourself for later handling. Syncing will work as long as you don't recompile.