# Multiple authors emails problem

I have multiple authors emails on my paper with the same domain and i need to divide the line below on two lines as it is too long, any help?

\documentclass{llncs}

\begin{document}
\title{any title}
\author{John kamdreen,John kamdreen,John kamdreen,John kamdreen,%
John kamdreen,John kamdreen,John kamdreen}
\institute{Center John kamdreen John kamdreen Research\\
$\left\{John.kamdreen,John.kamdreen,John.kamdreen,John.kamdreen,% John.kamdreen,Jo‌​hn.kamdreen,John.kamdreen\right\}$@dalton.edu.au}
\maketitle
\end{document}


The document class is available from the publisher.

-
I don't know other way to do it –  SMH Aug 28 '13 at 5:57
Based on your comments on the existing answer, we probably need to see the document class, etc. Could you make a minimal working example (MWE). –  Joseph Wright Aug 28 '13 at 6:00
@JosephWright the link to the .sty file got posted as a comment on my answer, below. I should have asked for it here, which would have been more useful. Anyway, here –  Adam Liter Aug 28 '13 at 6:02
It would be helpful to clarify if you want the functionality of \left and \right or not. Also, if you're following the llncs format, if you look at their documentation, they actually have an \email{} macro that is supposed to go inside \institute{}. –  Adam Liter Aug 28 '13 at 6:28

As @JosephWright has pointed out in his answer, if you all you want are the braces (i.e., { and }), then you do not need to use \left and \right. However, if you want the behavior of the delimiters then:

When using delimiters (i.e., \left\{ and \right\}), you cannot put line breaks inside of them. One way around this it to embed the text between the delimiters inside of a varwidth environment. (minipage works, too, but varwidth automatically sets the width of the environment to the width of the content, i.e., setting the width to 12cm will still only set the width of the varwidth environment to the width of the longest line, "John.kamdreen,John.kamdreen,John.kamdreen,John.kamdreen"; see the varwidth documentation.)

If you put such an environment inside the delimiters, then you can use manual line breaks inside of that environment:

\documentclass{llncs}

\usepackage{varwidth}

\title{any title}
\author{John kamdreen,John kamdreen,John kamdreen,John kamdreen,John kamdreen,John kamdreen,John kamdreen}
\institute{Center John kamdreen John kamdreen Research\\ $\left\{\begin{varwidth}{12cm}\centering John.kamdreen,John.kamdreen,John.kamdreen,\\John.kamdreen,John.kamdreen,John.kamdreen,John.kamdreen\end{varwidth}\right\}$@dalton.edu.au}

\begin{document}

\maketitle

\end{document}


Note that I've added \centering to center the first line of email addresses. You could remove this if you wish to do so.

-
but i have to follow the llncs springer format so i can't do it in your shape, can you do it in the llncs format? –  SMH Aug 28 '13 at 5:51
@sherifHaggag What is the llncs format? Can you provide a link to it, if it is a custom .sty file? Better yet, can you please post a minimal working example (MWE)? –  Adam Liter Aug 28 '13 at 5:54
\begin{document} \title{any title} \author{John kamdreen,John kamdreen,John kamdreen,John kamdreen,John kamdreen,John kamdreen,John kamdreen} \institute{Center John kamdreen John kamdreen Research\ $\left\{John.kamdreen,John.kamdreen,John.kamdreen,John.kamdreen,John.kamdreen,Jo‌​hn.kamdreen,John.kamdreen\right\}$@dalton.edu.au} \end{document} –  SMH Aug 28 '13 at 6:01

If all that is required is to have braces around material, you do not need math mode:

\documentclass{llncs}

\begin{document}
\title{any title}
\author{John kamdreen,John kamdreen,John kamdreen,John kamdreen,%
John kamdreen,John kamdreen,John kamdreen}
\institute{Center John kamdreen John kamdreen Research\\
\{John.kamdreen,John.kamdreen,John.kamdreen,John.kamdreen,%
John.kamdreen,\\ Jo‌​hn.kamdreen,John.kamdreen\}@dalton.edu.au}
\maketitle
\end{document}


Note that as you don't have spaces between the e-mail addresses, I've manually added a line break.

-