1

I am using revtex4-1, prl style. I have 6 authors. I want 4 authors in the first line of author list and 2 in the 2nd one. However, Latex is breaking the line after the 3rd author. I am using:

\documentclass[twocolumn,superscriptaddress,amsmath,amssymb,prl,aps,floatfix]{revtex4-1}

\usepackage{graphicx} 
\usepackage{dcolumn}
\usepackage{bm}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{color}
%\usepackage[backref,pdffitwindow,colorlinks,linkcolor={blue}]{hyperref}
\usepackage{longtable}
\usepackage{etoolbox}
\usepackage{url}
\usepackage{breakurl} 
\usepackage[breaklinks]{hyperref}
%\usepackage{authblk}
\apptocmd{\sloppy}{\hbadness 10000\relax}{}{} 

\begin{document}

\title{my tittle}

\author{John 1}
\thanks{These two authors contributed equally.}
\affiliation{affil1}
\affiliation{affil2}

\author{John 2}
\thanks{These two authors contributed equally.}
\affiliation{affil2}
\affiliation{affil3}

\author{John 3}
\affiliation{affil4}

\author{John 4}
\affiliation{affil2}

\author{john 5}
\affiliation{affil2}

\author{John 6}
\affiliation{affil1}
\affiliation{affil2}
\affiliation{affil5}

\begin{abstract}
my abstract... 
\end{abstract}

\maketitle
\end{document}

I have tried \mbox to lump together the first 4 authors and that doesn't work. I have tried \nolinebreak after the 3rd author and also it does not work either. I have also tried smaller font size to see if it helps but then it looks weird. Any ideas will be appreciated. Thanks!

4
  • Welcome to TeX.SE! When you adding code try to select it and press {} button (else it is added as a text) – koleygr Aug 27 '17 at 3:25
  • 2
    Welcome to TeX.SE! I can't seem to replicate exactly your problem (it's not breaking after the 3rd author), but try \author{\\john 5}? – Troy Aug 27 '17 at 3:33
  • it doesn't break to me too... May be you have to extend your MWE by adding more code like changes in packages or definitions you made before reduce so much your code – koleygr Aug 27 '17 at 3:38
  • Thanks all for the suggestions. I tried \author{\\John 5} and latex now breaks after the 4 author. Thanks again! – Camilo Aug 27 '17 at 3:55
3

A bit of a manual solution, but you can force line breaks in the author list of revtex4-1 by adding \\ before john5, in your case.

See the minimal example below.

\documentclass[twocolumn,superscriptaddress,amsmath,amssymb,prl,floatfix]{revtex4-1}

\begin{document}

\title{my tittle}

\author{John 1}
\thanks{These two authors contributed equally.}
\affiliation{affil1}
\affiliation{affil2}

\author{John 2}
\thanks{These two authors contributed equally.}
\affiliation{affil2}
\affiliation{affil3}

\author{John 3}
\affiliation{affil4}

\author{John 4}
\affiliation{affil2}

\author{\\john 5} % <--------------
\affiliation{affil2}

\author{John 6}
\affiliation{affil1}
\affiliation{affil2}
\affiliation{affil5}

\begin{abstract}
my abstract... 
\end{abstract}

\maketitle
\end{document}

break

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.