Code Monkey home page Code Monkey logo

Comments (6)

tvercaut avatar tvercaut commented on July 18, 2024 1

An ugly hack for now:

%\begin{comment}
\makeatletter
% hack the footer of the title page as it doesn't seem to automatically use the et al. version when spanning acros multiple pages
\renewcommand*{\@titlefoot}{\scriptsize\copyright\space\@jmlryear
    \space \@firstauthor\space \emph{et al}.\hfill
    \@reprint
  }
\makeatother
%\end{comment}

% \begin{comment}
\makeatletter
% remove the vbox in @jmlrmaketitle which prevents the text to be split across several pages
\renewcommand{\@jmlrmaketitle}{
  % specify the page style in case it spans over several pages. Not sure why this is needed
  \thispagestyle{jmlrtps}%
  % define a new label for the first page as otherwise it starts from 2 in the header
  \label{jmlrstartnew}%
  % hack the spacing to mimick what happens with a vbox
  \null\vspace{-\parindent}\vspace{-2pt}{
  \hsize\textwidth
  \linewidth\hsize
 \jmlrpretitle
  {%
    \def\titletag##1{##1}%
    \@title
  }%
 \jmlrposttitle
 \jmlrpreauthor \@author \jmlrpostauthor
}
% hack the spacing to mimick what happens with a vbox
\vspace{2pt}
}
\makeatother
%\end{comment}

%\begin{comment}
\makeatletter
% hack the footer to use the new counter
\renewcommand*\@jmlrpages{\pageref{jmlrstartnew}--\pageref{jmlrend}}
\makeatother
%\end{comment}

This can be put in a file such as many-authors-hack.tex and this file can then be used in your own tex sources using \input{many-authors-hack}

from midllatextemplate.

tvercaut avatar tvercaut commented on July 18, 2024

Can you provide a MWE? We are relying on the JMLR / PMLR template meaning we have little leeway to modify the template but we will try our best.

from midllatextemplate.

codingS3b avatar codingS3b commented on July 18, 2024

Of course. This reproduces the problem on my system:

\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
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

%\usepackage{amsmath}
%\usepackage{amssymb}
\usepackage{bbm}
%\usepackage{graphicx}
\usepackage{caption}
\usepackage{float}
\usepackage{booktabs}
\usepackage[flushleft]{threeparttable}
\usepackage{multirow}
%\usepackage{hyperref}
\usepackage{enumitem}
%\usepackage{pdflscape}
%\usepackage{authblk}
%\usepackage{tikz}

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

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

\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}
%very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country
% More complicate cases, e.g. with dual affiliations and joint authorship
\midlauthor{
	\Name{Author A \nametag{$^{1,2,3}$}} \\
	\addr $^{1}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \\
	\addr $^{2}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \\
	\addr $^{3}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \AND
	\Name{Author B \nametag{$^{2,3,4}$}} \Email{} \\
	\addr $^{4}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \AND
	\Name{Author C \nametag{$^{2,3,4}$}} \Email{} \\
	\Name{Author D \nametag{$^{2,3,4,5}$}} \Email{} \\
	\addr $^{5}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \AND
	\Name{Author E \nametag{$^{2,3,4,5}$}} \Email{} \\
	\Name{Author F \nametag{$^{2,3,4,5}$}} \Email{} \\
	\Name[6,7]{Author G \nametag{$^{6,7}$}} \Email{} \\
	\addr $^{6}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \\
	\addr $^{7}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \AND
	\Name[6,7]{Author H \nametag{$^{6,7}$}} \Email{} \\
	\Name[8]{Author I \nametag{$^{8}$}} \Email{} \\
	\addr $^{8}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \AND
	\Name[9,10]{Author J \nametag{$^{9,10}$}} \Email{} \\
	\addr $^{9}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \\
	\addr $^{10}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \AND
	\Name[9,10]{Author K \nametag{$^{9,10}$}} \Email{} \\
	\Name[11,12]{Author L \nametag{$^{11,12}$}} \Email{} \\
	\addr $^{11}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \\
	\addr $^{12}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \AND
	\Name[13,14]{Author M \nametag{$^{13, 14}$}} \Email{} \\
	\addr $^{13}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \\
	\addr $^{14}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \AND
	\Name[13,14]{Author N \nametag{$^{13,14}$}} \Email{} \\
	\Name[15,16,17]{Author O \nametag{$^{15,16,17}$}} \Email{} \\
	\addr $^{15}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \\
	\addr $^{16}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country\\
	\addr $^{17}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \AND
	\Name[15,16,17]{Author P \nametag{$^{15,16,17}$}} \Email{} \\
	\Name[15,18]{Author Q \nametag{$^{15,18}$}} \Email{} \\
	\addr $^{18}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \AND
	\Name[15,18,19]{Author R \nametag{$^{15,18,19}$}} \Email{} \\
	\addr $^{19}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \AND
	\Name[20,21]{Author S \nametag{$^{20,21}$}} \Email{} \\
	\addr $^{20}$ German Cancer Research Center (DKFZ), Heidelberg and German Cancer Consortium (DKTK) partner site Tübingen, Germany \\
	\addr $^{21}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country\AND
	\Name[20,21]{Author T \nametag{$^{20,21}$}} \Email{} \\
	\Name[2,3,5,22]{Author U \nametag{$^{2,3,5,22}$}} \Email{} \\
	\addr $^{22}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \AND
	\Name[2,3,4,5,22]{Author V \nametag{$^{2,3,4,5,22}$}} \Email{} \\
	\Name[2,3,4,5,22]{Author W \nametag{$^{2,3,4,5,22}$}} \Email{} \\
	\Name[2,3,4,5,22,23]{Author X \nametag{$^{2,3,4,5,22,23}$}} \Email{} \\
	\addr $^{23}$ very long affiliation which needs probably from two to three lines or maybe more on a rendered pdf and is honestly very long indeed, City, Country \AND
	\Name[2,3,5]{Author Y \nametag{$^{2,3,5}$}} \Email{}
}


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


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


%\bibliography{midl-samplebibliography}


\end{document}

from midllatextemplate.

HKervadec avatar HKervadec commented on July 18, 2024

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

Bear in mind that this year, the review process is double blind, so this will be a problem only for the final version. This means we have a bit more time to fix that.

from midllatextemplate.

codingS3b avatar codingS3b commented on July 18, 2024

Thanks, this seems to work for me :)
Should I close the issue or leave it open until a less hacky solution exists?

from midllatextemplate.

tvercaut avatar tvercaut commented on July 18, 2024

Let's leave it open for now. I created a bug report upstream:
https://www.dickimaw-books.com/bugtracker.php?action=view&key=141

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.