Hello,
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,
Ergy
General ⇒ Commenting in Texniccenter like in word?
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Commenting in Texniccenter like in word?
Hi Ergy,
welcome to the forum!
That's easily possible using the
pdfcomment package. Here is an example from my LaTeX Cookbook:
Just a quick post, try it out. The book explains more, or ask here,
Stefan
welcome to the forum!
That's easily possible using the

Code: Select all
Code, edit and compile here:
\documentclass[paper=a4,oneside,fontsize=12pt,parskip=full]{scrartcl}\usepackage[svgnames]{xcolor}\usepackage[author={Stefan Kottwitz},icon=Note,color=Yellow,open=true,final]{pdfcomment}\begin{document}%\tableofcontents\addsec{Introduction}This document will be our starting point for simpledocuments. It is suitable for a single page or up toa couple of dozen pages.\pdfcomment{Simple documents don't have chapters.}The text will be divided into \pdfmarkupcomment{sections}{You could additionally use subsections.}.\section{The first section}This first text will contain\begin{pdfsidelinecomment}[color=Red]{A bulleted list}\begin{itemize}\item a table of contents,\item a bulleted list,\item headings and some text and math in section,\item referencing such as to section \ref{sec:maths} andequation (\ref{eq:integral}).\end{itemize}\end{pdfsidelinecomment}We can use this document as a template for filling inour own content.\section{Some maths}\label{sec:maths}When we write a scientific or technical document, we usuallyinclude math \pdftooltip{formulas}{Formulas can be inline or displayed in their own paragraph}. To get a brief glimpse of the look ofmaths, we will look at an integral approximation of a function$f(x)$ as a sum with weights $w_i$:\begin{equation}\pdfmargincomment{The equation environment produces a centeredequation with whitespace before and after it.}\label{eq:integral}\int_a^b \pdfmarkupcomment{f(x)}{This function will be approximated.}\,\mathrm{d}x \approx (b-a)\sum_{i=0}^n \pdfmarkupcomment{w_i}{Those are the weights} f(x_i)\end{equation}\pdffreetextcomment[subject={Summary},width=7.5cm,height=2.2cm,opacity=0.5,voffset=-3cm]{The whole document is an exampleshowing how to write a small document.
Stefan
LaTeX.org admin