[Tex/LaTex] How to surround fixme notes with brackets

fixme

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

Best Answer

\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

Related Question