Code Monkey home page Code Monkey logo

Comments (4)

tvercaut avatar tvercaut commented on July 18, 2024 1

To avoid duplicating information, our README points to the JMLR template documentation: http://mirrors.ctan.org/macros/latex/contrib/jmlr/jmlr.pdf

Did you try the recommended subfigure code from there?

\begin{figure}[htbp]
\floatconts
  {fig:example2}% label for whole figure
  {\caption{An Example Figure with Subfigures.}}% caption for whole figure
  {%
    \subfigure[An example subcaption]{%
      \label{fig:pic1}% label for this sub-figure
      \includegraphics[width=0.4\linewidth]{example-image}
    }\qquad % space out the images a bit
    \subfigure[Another example subcaption]{%
      \label{fig:pic2}% label for this sub-figure
      \includegraphics[width=0.4\linewidth]{example-image}
    }
  }
\end{figure}

from midllatextemplate.

tvercaut avatar tvercaut commented on July 18, 2024 1

I found out how to prevent the inclusion of problematic packages and added subcaption to the list.

from midllatextemplate.

ieee8023 avatar ieee8023 commented on July 18, 2024

Ok that works! floatconts seems like a super ugly command though.

Maybe can you have a error thrown when someone tries to import subcaption? It gives warning when you try to import subfig already.

from midllatextemplate.

tvercaut avatar tvercaut commented on July 18, 2024

Not sure how to add the warning. Feel free to open a PR for it or refer that suggestion to the main JMLR template maintainers. I'll close this issue for now.

If you strongly feel that the example with subfigures should be embeded in our sample file, feel free to reopen this.

from midllatextemplate.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.