Code Monkey home page Code Monkey logo

midllatextemplate's Introduction

Build LaTeX document

Medical Imaging with Deep Learning (MIDL) Latex Template

Latex template for the MIDL Conference. Simple use of the JMLR / PMLR style.

Usage

Please refer to the main JMLR template documentation: http://mirrors.ctan.org/macros/latex/contrib/jmlr/jmlr.pdf

  • midl-fullpaper.tex is intended for full paper submissions
  • midl-shortpaper.tex is intended for short paper submissions

Licence

This material is subject to the LaTeX Project Public License. See http://www.ctan.org/license/lppl1.3 for the details of that license.

Related software

https://ctan.org/tex-archive/macros/latex/contrib/jmlr

http://www.dickimaw-books.com/software/makejmlrbookgui/

midllatextemplate's People

Contributors

dcmoyer avatar hkervadec avatar mickaeltardy avatar mlaves avatar nlessmann avatar tvercaut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

midllatextemplate's Issues

Weird subfigure text

Setup :

  • Ubuntu 20.04,
  • tex-live full installation

The below Tex code:

\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}

\subfigref{fig:pic1}

produces
image

Note, the weird subfigure text. Is this a package conflict or some other issue? It works fine on overleaf but not on local Tex installations.

PMLR page count slightly off when last pages contains only figures

Before I forget, for the fifth time, to post that one

We noticed that the page number (at the top of the first page of each article) was sometimes off by 1-2 pages. A quick investigation seems to show that pages containing only floats (figures, tables) aren't counted.

(http://proceedings.mlr.press/v121/kervadec20a/kervadec20a.pdf for instance, but there are others). The numbering shows Proceedings of Machine Learning Research 121:365–380, but the pages go up to 381.

I've just checked quickly with volume 102, couldn't find one with only figures at the end -- don't know if this is an old problem or a subtle regression introduced by the PMLR template or us.

Def a painful bug to track down.

Template for short paper

There are currently templates for full papers and extended abstracts, but MIDL 2020 has full papers and short papers.

Clean up joint authorship feature and multiple affiliations

As per a message send to https://www.dickimaw-books.com/contact.php

In our field, authors often have several affiliations (e.g. hospital and university) and we also often have papers with joint first authors. I read through the JMLR documentation (http://mirrors.ctan.org/macros/latex/contrib/jmlr/jmlr.pdf) but couldn't find any guidelines on these questions.

I am not sure whether there are better ways of achieving this than the current attempt. Also we currently end up with a couple of warnings of the form
name {Hfootnote.4} has been referenced but does not exist, replaced by a fixed one

On a related note, I saw the following repository:
https://github.com/JournalMLR/jmlr-style-file/
I am not sure how it relates to the official JMLR package so haven't filled an issue there.

Issue with subcaptions

Can you add an example of subcaptions working to the example paper? I cannot get it working.

For this code:

\begin{figure}
     \centering
     \begin{subfigure}[b]{0.25\textwidth}
         \centering
         \includegraphics[width=0.2\textwidth]{example-image-a}
         \caption{$y=x$}
         \label{fig:y equals x}
     \end{subfigure}%
     \begin{subfigure}[b]{0.25\textwidth}
         \centering
         \includegraphics[width=0.2\textwidth]{example-image-b}
         \caption{$y=3sinx$}
         \label{fig:three sin x}
     \end{subfigure}%
     \begin{subfigure}[b]{0.25\textwidth}
         \centering
         \includegraphics[width=0.2\textwidth]{example-image-c}
         \caption{$y=5/x$}
         \label{fig:five over x}
     \end{subfigure}
        \caption{Three simple graphs}
        \label{fig:three graphs}
\end{figure}

I get this. The figures captions do not work as they do with other styles. If I change them to subcaption then then work but this little (a) will exist on top of the figure.

Screen Shot 2020-01-06 at 1 01 13 PM

This code should work as I took it from here: https://www.overleaf.com/learn/latex/How_to_Write_a_Thesis_in_LaTeX_(Part_3):_Figures,_Subfigures_and_Tables

Empty page at the end of full paper

There seems to be some bug which renders an empty page at the end of a full paper. I think it only happens when there's an Appendix section. Could be related to the Bug #10.

Intended behaviour of JMLR fields

The midl-fullpaper.tex header contains the following block:

\jmlrvolume{-- Under Review}
\jmlryear{2022}
\jmlrworkshop{Full Paper -- MIDL 2022 submission}
\editors{Under Review for MIDL 2022}

It is unclear to me whether these values should be changed to for accepted papers (and if so, to what). Looking at papers from previous years suggests something like the following, which requires knowledge of the exact proceedings volume + syntax for that.

\jmlrvolume{PROCEEDINGS VOLUME}
\jmlryear{2022}
\jmlrworkshop{Full Paper -- MIDL 2022}
[remove editors line]

I was wondering if this is the desired behaviour, and what (if anything) should be done with these lines for camera-ready submissions?

Referencing subfigures doesn't work as expected

When trying to reference subfigures, in addition to the correct name of the subfigure, also the word subfigure is printed which is weird.

image

Could you propose a way to solve this? Or am I using the provided commands in a wrong way?

An example to reproduce the issue can be found here:

\documentclass{midl} % Include author names
%\documentclass[anon]{midl} % Anonymized submission

% The following packages will be automatically loaded:
% jmlr, amsmath, amssymb, natbib, graphicx, url, algorithm2e
% ifoddpage, relsize and probably more
% make sure they are installed with your latex distribution

\usepackage{mwe} % to get dummy images

% Header for extended abstracts
\jmlrproceedings{MIDL}{Medical Imaging with Deep Learning}
\jmlrpages{}
\jmlryear{2021}

% to be uncommented for submissions under review
\jmlrworkshop{Short Paper -- MIDL 2022 submission}
\jmlrvolume{-- Under Review}
\editors{Under Review for MIDL 2022}

\title[Short Title]{Full Title of Article}

 % Use \Name{Author Name} to specify the name.
 % If the surname contains spaces, enclose the surname
 % in braces, e.g. \Name{John {Smith Jones}} similarly
 % if the name has a "von" part, e.g \Name{Jane {de Winter}}.
 % If the first letter in the forenames is a diacritic
 % enclose the diacritic in braces, e.g. \Name{{\'E}louise Smith}

 % Two authors with the same address
 % \midlauthor{\Name{Author Name1} \Email{[email protected]}\and
 %  \Name{Author Name2} \Email{[email protected]}\\
 %  \addr Address}

 % Three or more authors with the same address:
 % \midlauthor{\Name{Author Name1} \Email{[email protected]}\\
 %  \Name{Author Name2} \Email{[email protected]}\\
 %  \Name{Author Name3} \Email{[email protected]}\\
 %  \addr Address}


% Authors with different addresses:
% \midlauthor{\Name{Author Name1} \Email{[email protected]}\\
% \addr Address 1
% \AND
% \Name{Author Name2} \Email{[email protected]}\\
% \addr Address 2
% }

%\footnotetext[1]{Contributed equally}

% More complicate cases, e.g. with dual affiliations and joint authorship
\midlauthor{\Name{Author Name1\midljointauthortext{Contributed equally}\nametag{$^{1,2}$}} \Email{[email protected]}\\
\addr $^{1}$ Address 1 \\
\addr $^{2}$ Address 2 \AND
\Name{Author Name2\midlotherjointauthor\nametag{$^{1}$}} \Email{[email protected]}\\
\Name{Author Name3\nametag{$^{2}$}} \Email{[email protected]}\\
\Name{Author Name4\midljointauthortext{Contributed equally}\nametag{$^{3}$}} \Email{[email protected]}\\
\addr $^{3}$ Address 3 \AND
\Name{Author Name5\midlotherjointauthor\nametag{$^{4}$}} \Email{[email protected]}\\
\addr $^{4}$ Address 4
}

\begin{document}

\maketitle

\begin{abstract}
This is a great paper and it has a concise abstract.
\end{abstract}

\begin{keywords}
List of keywords, comma separated.
\end{keywords}

\section{Introduction}

% This is where the content of your paper goes.  Some random notes:
% \begin{itemize}
% \item You should use \LaTeX \cite{Lamport:Book:1989}.
% \item JMLR/PMLR uses natbib for references. For simplicity, here, \verb|\cite|  defaults to
%   parenthetical citations, i.e. \verb|\citep|. You can of course also
%   use \verb|\citet| for textual citations.
% \item You should follow the guidelines provided by the conference.
% \item Read through the JMLR template documentation for specific \LaTeX
%   usage questions.
Note that the JMLR template provides many handy functionalities
such as \verb|\figureref| to refer to a figure,
e.g. \figureref{fig:example},  \verb|\tableref| to refer to a table,
e.g. \tableref{tab:example} and \verb|\equationref| to refer to an equation,
e.g. \equationref{eq:example}.

We want to refer to the overall \figureref{fig:example2} but also to \figureref{fig:2a} and \figureref{fig:2b} as well.

\begin{table}[htbp]
 % The first argument is the label.
 % The caption goes in the second argument, and the table contents
 % go in the third argument.
\floatconts
  {tab:example}%
  {\caption{An Example Table}}%
  {\begin{tabular}{ll}
  \bfseries Dataset & \bfseries Result\\
  Data1 & 0.12345\\
  Data2 & 0.67890\\
  Data3 & 0.54321\\
  Data4 & 0.09876
  \end{tabular}}
\end{table}

\begin{figure}[htbp]
 % Caption and label go in the first argument and the figure contents
 % go in the second argument
\floatconts
  {fig:example}
  {\caption{Example Image}}
  {\includegraphics[width=0.5\linewidth]{example-image}}
\end{figure}

\begin{figure}[htbp]
	\floatconts
	{fig:example2} % label for whole figure
	{\caption{Here comes text.}}% caption for whole figure
	{
		\begin{minipage}[c]{.45\textwidth}
			\subfigure[part 1.][c]{%
				\label{fig:2a}% label for this sub-figure
				\includegraphics[width=0.5\linewidth]{example-image}
			}
		\end{minipage}
		\begin{minipage}[c]{0.45\textwidth}
			\subfigure[part 2.][c]{
				%
				\label{fig:2b}% label for this sub-figure
				\includegraphics[width=0.5\linewidth]{example-image}
			}
			\\
			\\
			\subfigure[part 3.][c]{%
				\label{fig:2c}% label for this sub-figure
				\includegraphics[width=0.5\linewidth]{example-image}
			}
		\end{minipage}
	}
\end{figure}



% \begin{algorithm2e}
% \caption{Computing Net Activation}
% \label{alg:net}
%  % older versions of algorithm2e have \dontprintsemicolon instead
%  % of the following:
%  %\DontPrintSemicolon
%  % older versions of algorithm2e have \linesnumbered instead of the
%  % following:
%  %\LinesNumbered
% \KwIn{$x_1, \ldots, x_n, w_1, \ldots, w_n$}
% \KwOut{$y$, the net activation}
% $y\leftarrow 0$\;
% \For{$i\leftarrow 1$ \KwTo $n$}{
%   $y \leftarrow y + w_i*x_i$\;
% }
% \end{algorithm2e}

% Acknowledgments---Will not appear in anonymized version
\midlacknowledgments{We thank a bunch of people.}

\bibliography{midl-samplebibliography}

\end{document}

First page break in anonymous mode

When I add my text and change the document to anonymous, the first page break doesn't work and Latex gives error that there is no \begin{document}. Can you please check it?

referencing to arxiv papers

Hi. Thanks for providing the template.

I have a question about referencing to arxiv papers. After adding the arxiv paper in the bibliography, I only see that the name of the paper and authors are printed in the references. However I would like to add eprint and other information there. Would you please help me with that? I'd appreciate it

Cheers

`\midlotherjointauthor` not showing the footnote mark

When using \midlotherjointauthor on the second author to show equal contribution, the footnote mark is not showing properly. Moving \addtocounter{footnote}{-1} after \footnotemark in the definition of \midlotherjointauthor fixed the issue. I will create a pull request.

Large number of authors and affiliations does not show correctly

In my draft, 25 coauthors and 23 affiliations are involved which caused the template to behave strangely: in the pdf, a first, empty page is generated, followed by a full titlepage with author names and affiliations typed straight to the bottom of the page (without respecting margins). The rest of the authors and affiliations disappears instead of showing up on a second page.

I hope this can be fixed before the submission deadline arises.

doesn't compile under texlive2019

$ git log -n1
commit 5c0ca9bd52319393b23a3ef33d7fdf70bc15cb4e
Author: Tom Vercauteren <[email protected]>
Date:   Fri Dec 13 08:41:08 2019 +0000

    recompiled
$ pdflatex --output-directory /tmp midl-sampleabstract.tex
pdflatex --output-directory /tmp midl-sampleabstract.tex 
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./midl-sampleabstract.tex
LaTeX2e <2019-10-01> patch level 3
(./midl.cls
Document Class: midl 2018/10/09 v1.0 MIDL Proceedings
($HOME/.local/texlive/2019/texmf-dist/tex/latex/jmlr/jmlr.cls
Document Class: jmlr 2017/08/01 v1.24 (NLCT) Journal of Machine Learning Resear
ch
($HOME/.local/texlive/2019/texmf-dist/tex/latex/xkeyval/xkeyval.sty
($HOME/.local/texlive/2019/texmf-dist/tex/generic/xkeyval/xkeyval.tex
($HOME/.local/texlive/2019/texmf-dist/tex/generic/xkeyval/xkvutils.tex
($HOME/.local/texlive/2019/texmf-dist/tex/generic/xkeyval/keyval.tex))))
($HOME/.local/texlive/2019/texmf-dist/tex/latex/tools/calc.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/10/25 v1.4k Standard LaTeX document class
($HOME/.local/texlive/2019/texmf-dist/tex/latex/base/size11.clo))
($HOME/.local/texlive/2019/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
($HOME/.local/texlive/2019/texmf-dist/tex/latex/amsmath/amstext.sty
($HOME/.local/texlive/2019/texmf-dist/tex/latex/amsmath/amsgen.sty))
($HOME/.local/texlive/2019/texmf-dist/tex/latex/amsmath/amsbsy.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/amsmath/amsopn.sty))
($HOME/.local/texlive/2019/texmf-dist/tex/latex/amsfonts/amssymb.sty
($HOME/.local/texlive/2019/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
($HOME/.local/texlive/2019/texmf-dist/tex/latex/natbib/natbib.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/graphics/graphicx.sty
($HOME/.local/texlive/2019/texmf-dist/tex/latex/graphics/graphics.sty
($HOME/.local/texlive/2019/texmf-dist/tex/latex/graphics/trig.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/graphics-def/pdftex.def)))
 ($HOME/.local/texlive/2019/texmf-dist/tex/latex/url/url.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/xcolor/xcolor.sty
($HOME/.local/texlive/2019/texmf-dist/tex/latex/graphics-cfg/color.cfg)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/xcolor/x11nam.def))
($HOME/.local/texlive/2019/texmf-dist/tex/latex/algorithm2e/algorithm2e.st
y ($HOME/.local/texlive/2019/texmf-dist/tex/latex/base/ifthen.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/ifoddpage/ifoddpage.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/tools/xspace.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/relsize/relsize.sty))
($HOME/.local/texlive/2019/texmf-dist/tex/latex/jmlr/jmlrutils.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/hyperref/hyperref.sty
($HOME/.local/texlive/2019/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/generic/iftex/iftex.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/pdftexcmds/pdftexcmds.sty
($HOME/.local/texlive/2019/texmf-dist/tex/generic/infwarerr/infwarerr.sty)
) ($HOME/.local/texlive/2019/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
($HOME/.local/texlive/2019/texmf-dist/tex/generic/oberdiek/etexcmds.sty
($HOME/.local/texlive/2019/texmf-dist/tex/generic/iftex/ifluatex.sty)))
($HOME/.local/texlive/2019/texmf-dist/tex/generic/oberdiek/kvdefinekeys.st
y)
($HOME/.local/texlive/2019/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
 ($HOME/.local/texlive/2019/texmf-dist/tex/latex/oberdiek/hycolor.sty
($HOME/.local/texlive/2019/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty
($HOME/.local/texlive/2019/texmf-dist/tex/latex/oberdiek/hopatch.sty)))
($HOME/.local/texlive/2019/texmf-dist/tex/latex/letltxmacro/letltxmacro.st
y) ($HOME/.local/texlive/2019/texmf-dist/tex/latex/oberdiek/auxhook.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/kvoptions/kvoptions.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/hyperref/pd1enc.def)
($HOME/.local/texlive/2019/texmf-dist/tex/generic/oberdiek/intcalc.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
($HOME/.local/texlive/2019/texmf-dist/tex/generic/bitset/bitset.sty
($HOME/.local/texlive/2019/texmf-dist/tex/generic/oberdiek/bigintcalc.sty)
) ($HOME/.local/texlive/2019/texmf-dist/tex/generic/atbegshi/atbegshi.sty)
) ($HOME/.local/texlive/2019/texmf-dist/tex/latex/hyperref/hpdftex.def
($HOME/.local/texlive/2019/texmf-dist/tex/latex/atveryend/atveryend.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/rerunfilecheck/rerunfilech
eck.sty
($HOME/.local/texlive/2019/texmf-dist/tex/generic/oberdiek/uniquecounter.s
ty))) ($HOME/.local/texlive/2019/texmf-dist/tex/latex/hyperref/nameref.sty
($HOME/.local/texlive/2019/texmf-dist/tex/latex/oberdiek/refcount.sty)
($HOME/.local/texlive/2019/texmf-dist/tex/generic/oberdiek/gettitlestring.
sty)))) ($HOME/.local/texlive/2019/texmf-dist/tex/latex/mwe/mwe.sty)
(/tmp/midl-sampleabstract.aux)
($HOME/.local/texlive/2019/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base
.sty
($HOME/.local/texlive/2019/texmf-dist/tex/latex/latexconfig/epstopdf-sys.c
fg)) (/tmp/midl-sampleabstract.out) (/tmp/midl-sampleabstract.out)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/amsfonts/umsa.fd)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/amsfonts/umsb.fd)
($HOME/.local/texlive/2019/texmf-dist/tex/latex/base/omscmr.fd)

Package natbib Warning: Citation `Lamport:Book:1989' on page 1 undefined on inp
ut line 81.


LaTeX Warning: Reference `fig:example' on page 1 undefined on input line 90.


LaTeX Warning: Reference `tab:example' on page 1 undefined on input line 91.


LaTeX Warning: Reference `eq:example' on page 1 undefined on input line 92.


Overfull \hbox (2.06706pt too wide) in paragraph at lines 88--93
[]\OT1/cmr/m/n/10.95 Note that the JMLR tem-plate pro-vides many handy func-tio
n-al-i-ties such as [][]\OT1/cmtt/m/n/10.95 \figureref
Runaway argument?
example-image.pdf \edef \Gin@ext {\Gin@temp }\fi \def \Gin@temp {.png\ETC.
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.117 ...hics[width=0.5\linewidth]{example-image}}
                                                  
? 

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.