LaTeX forum ⇒ GeneralCommenting in Texniccenter like in word?

General information and discussion about TeXnicCenter
Posts: 1
Joined: Sat Jan 16, 2016 3:06 pm

Commenting in Texniccenter like in word?

Postby ergy1983 » Sat Jan 16, 2016 3:09 pm


I have a question. I know how to iclude normal comments in latex, but of course they don't appear in the PDF. So is there somethign like the comments-function of word?

Thanks for any suggestion,

User avatar
Stefan Kottwitz
Site Admin
Posts: 9232
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Jan 16, 2016 11:17 pm

Hi Ergy,

welcome to the forum!

That's easily possible using the pdfcomment package. Here is an example from my LaTeX Cookbook:

  1. \documentclass[paper=a4,oneside,fontsize=12pt,
  2. parskip=full]{scrartcl}
  3. \usepackage[svgnames]{xcolor}
  4. \usepackage[author={Stefan Kottwitz},icon=Note,color=Yellow,open=true,final]{pdfcomment}
  5. \begin{document}
  6. %\tableofcontents
  7. \addsec{Introduction}
  8. This document will be our starting point for simple
  9. documents. It is suitable for a single page or up to
  10. a couple of dozen pages.
  11. \pdfcomment{Simple documents don't have chapters.}
  13. The text will be divided into \pdfmarkupcomment{sections}{You could additionally use subsections.}.
  14. \section{The first section}
  15. This first text will contain
  16. \begin{pdfsidelinecomment}[color=Red]{A bulleted list}
  17. \begin{itemize}
  18. \item a table of contents,
  19. \item a bulleted list,
  20. \item headings and some text and math in section,
  21. \item referencing such as to section \ref{sec:maths} and
  22. equation (\ref{eq:integral}).
  23. \end{itemize}
  24. \end{pdfsidelinecomment}
  25. We can use this document as a template for filling in
  26. our own content.
  27. \section{Some maths}
  28. \label{sec:maths}
  29. When we write a scientific or technical document, we usually
  30. include math \pdftooltip{formulas}{Formulas can be inline or displayed in their own paragraph}. To get a brief glimpse of the look of
  31. maths, we will look at an integral approximation of a function
  32. $f(x)$ as a sum with weights $w_i$:
  33. \begin{equation}
  34. \pdfmargincomment{The equation environment produces a centered
  35. equation with whitespace before and after it.}
  36. \label{eq:integral}
  37. \int_a^b \pdfmarkupcomment{f(x)}{This function will be approximated.}\,\mathrm{d}x \approx (b-a)
  38. \sum_{i=0}^n \pdfmarkupcomment{w_i}{Those are the weights} f(x_i)
  39. \end{equation}
  40. \pdffreetextcomment[subject={Summary},width=7.5cm,height=2.2cm,opacity=0.5,voffset=-3cm]{The whole document is an example
  41. showing how to write a small document.
  42. Now we enriched it with sample comments.}
  43. \end{document}

Just a quick post, try it out. The book explains more, or ask here,

Site admin

Return to “General”

Who is online

Users browsing this forum: No registered users and 3 guests