6

I am using the fixme package for inserting notes in my LaTeX documents. The note text is by default bold, and I've enabled colors using \fxsetup{theme=color}. However, I would like to have even more separation from the surrounding text, especially on a black&white printouts.

Does the package itself support surrounding the text with (for example) square brackets.

I've checked the fixme manual, but I am getting lost in non-familiar terminology such as 'targets' and 'faces'.

For example, in the following example I would like the resulting PDF text 'FiXme Note: Something's wrong here' to be displayed in the PDF as either '[Fixme Note: Something's wrong here]' or 'Fixme Note: [Something's wrong here]' (both are fine with me).

\documentclass{article}
\usepackage[nomargin,inline,marginclue,draft]{fixme}
\begin{document}
   An apple is a pear \fxnote{Something's wrong here}
\end{document
2

1 Answer 1

7
\documentclass{article}
\usepackage[nomargin,inline,marginclue,draft]{fixme}

\makeatletter
\renewcommand*\FXLayoutInline[3]{%
  {\@fxuseface{inline}\ignorespaces[#3 \fxnotename{#1}: #2]}}
\makeatother

\begin{document}
   An apple is a pear \fxnote{Something's wrong here}
\end{document}

enter image description here

1
  • 1
    Perfect. Only thing is that when using multiuser mode (e.g. by inserting \fxsetup{theme=color, mode=multiuser} \FXRegisterAuthor{me}{ame}{\color{red}Me} and calling it via \menote{This is a colored, user specific note} the first bracket is not colored. But this is just a micro issue for me, or not an issue at all, actually. Apr 18, 2013 at 10:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .