I want to insert a bar in the margin in IEEEtran, but when I use changebar package, two-column figures and tables disappear. It is my code:
\documentclass[journal]{IEEEtran}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage[color]{changebar}
\usepackage{soul}
\usepackage{xspace}
\cbcolor{black}
\sethlcolor{yellow}
\newcommand{\edit}[1]{\cbstart\hl{#1}\cbend\xspace}
\begin{document}
\lipsum[1]
\lipsum[1]
\begin{figure*}
\centering
\includegraphics[width=15cm]{example-image}\\
\end{figure*}
\lipsum[1]
\lipsum[1]
\end{document}
I would really appreciate if you can provide any help.
Best Answer
changebar
is an old package and it redefines several latex internals in particular the float handling.It turns out not to be fully compatible with the double float handling in 2015/01/01 latex release (which fixed several bugs in that area)
this works, until changebar is updated: