Skip to content

Conflict with caption package #54

@dfcheca

Description

@dfcheca

Hello. There is a minor conflict with the caption package. If this package is enabled, the last line of some mmaCell is not displayed. Any idea why this happens? Perhaps it's something trivial; I'm not familiar with the default options of the caption package, and I don't know why this conflict arises. I provide you a MRE to examine.

\documentclass[12pt]{article}
\usepackage{caption}
\usepackage{mmacells}

\begin{document}

\begin{mmaCell}[moredefined={SumFirst,SumFirstSquares,SumFirstCubes},morepattern={n_,n}]{Input}
  SumFirst[n_]:=Sum[i,\{i,1,n\}];
  SumFirstSquares[n_]:=Sum[\mmaSup{i}{2},\{i,1,n\}];
  SumFirstCubes[n_]:=Sum[\mmaSup{i}{3},\{i,1,n\}]
\end{mmaCell}

\end{document}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions