Following from another post
Margin notes on both left and right?
I am having problems while using both MnSymbol and amssymb in the same document. It says ! LaTeX Error: Command\centerdot' already defined.`
I cannot work without amssymb, but if I remove MnSymbol I get yet another error
! Undefined control sequence. \pointer ->\filledmedtriangleleft
Any idea how I could work around this issue?
If I remove amssymb I get ! Missing $ inserted. $ l.2 \item M ix all ingredients together. ?
I'm trying to use the following code proposed by Christian Hupfer
\documentclass{article}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{stackengine}
\usepackage{lipsum}
\usepackage{MnSymbol}
\usepackage{graphicx}
\newcommand*\mnote[3][0pt]{%
\if l#2\reversemarginpar\def\pointer{\filledmedtriangleright}%
\def\stackalignment{r}\fi%
\if r#2\normalmarginpar\def\pointer{\filledmedtriangleleft}%
\def\stackalignment{l}\fi%
\marginpar{%
\topinset{%
\scalebox{1.5}{\textcolor{blue}{$\pointer$}}}{%
\belowbaseline[-1.5\baselineskip-#1]{%
\stackengine%
{-5pt}%
{\fcolorbox{blue}{white}{\parbox{1.8cm}%
{\vspace{3pt}\raggedright#3}}}%
{~\colorbox{white}{\sffamily Note}}%
{O}%
{l}%
{F}%
{F}%
{S}%
}%
}{%
3ex+#1}{%
-2ex}%
}%
}
\begin{document}
\lipsum[1-2]
this is a\mnote[2ex]{l}{some text for the mnote box} test%
\par\vspace{-\parskip}\mnote[1ex]{r}{both right and left}
\lipsum[3]
This is another test\mnote{r}{another mnote box test testing the
right side}
\lipsum[4]
Loads and loads of text that need amssymb to work
\end{document}

\item Mix...anywhere). Can you show us the actual code? From the error messages you are quoting I'd say that you are rather loadingMnSymbolbeforeamssymb. – campa Jun 23 '16 at 09:15MnSymbol, because it changes *all* math symbols. – egreg Jun 23 '16 at 10:00\checkmarkdoes not need to be in math environment (at least it never gave me an error before), but in MnSymbol it does. And you were right, I had to load amsymb first – Mahoma Jun 23 '16 at 10:24