The sidenotes package works pretty well, but I cant find a way to use the figure* environment. When I try:
\documentclass{article}
\usepackage{sidenotes}
\usepackage{graphicx}
\renewcommand{\footnote}{\sidenote}
\renewcommand{\caption}{\sidecaption}
\begin{document}
\section{Title}\label{title}
Noice content. \sidenote{Sidenote}
\begin{figure*}
\centering
\includegraphics[]{fig.png}
\caption{Este é um sidecaption.}
\end{figure*}
\end{document}
I get:
<fig.png, id=1, 2248.4pt x 1585.925pt> <use fig.png>
! TeX capacity exceeded, sorry [grouping levels=255].
\caption@addtofont #1#2->\begingroup
\expandafter \let \expandafter \caption...
l.17 \end
{figure*}
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on teste.log.
with:
pdflatex teste.tex
In order for that to become a MWE, just remove the caption within the figure* environment.
- What am I doing wrong?
Noice content \sidenote{note}
\end{document}
– Pablo González L Feb 19 '17 at 05:26figure*does not make the difference, I have updated my version of TexLIve 2017 and commenting on those lines the file can not be compiled – Pablo González L Feb 19 '17 at 06:04