# Remove space in Emails

In a paper I need to remove spaces between two emails of an author with two affiliations. The code is below:

\documentclass[10pt,twocolumn,letterpaper]{article}
\begin{document}
\title{Title}
Author Name\\
Affiliation1\\
Affiliation2\\
City/Country\\
{\tt\scriptsize mail1} \\ % here there is almost a space of a full line
{\tt\scriptsize mail2}
\maketitle
\end{document}


I have tried to put a \vspace{-1} after mail1} \\, but did not work. Also I tried to put both emails in same {} environment but could not find a way to put line break inside it.

Any suggestions?

-
Here's a suggestion: Instead of posting a code snippet like that, please provide us with a complete, minimal working example (MWE) that replicates the problem. Helping us in this way, really helps you in the end. –  Werner Jun 13 at 16:36
thanks, did that, hope it is ok –  paul simmons Jun 13 at 16:41
For future reference, please make your code minimal. Are things like font size, paper size, title, etc. relevant to your question? –  Sverre Jun 13 at 16:47
@paulsimmons Welcome to TeX.SE! –  LaRiFaRi Jun 13 at 16:49

You may want to (a) specify a negative amount of additional spacing following the first email address -- as is also suggested in @sverre's earlier answer -- and (b) encase the author-related information in an \author directive.

\documentclass{article}
\begin{document}
\title{Title}
\author{Author Name\\
Affiliation1\\
Affiliation2\\
City/Country\\
\date{\today}
\maketitle
\end{document}

-

Class article puts the author entry into a tabular:

\large
% ...
\begin{tabular}[t]{c}%
\@author
\end{tabular}\par}%


And LaTeX adds struts to ensure a uniform line spacing in the tabular. Thus the mail addresses are set with \scriptsize, but the struts are added for \large.

One way to solve the issue: The mail addresses are put into a nested tabular with size \scriptsize. Then the struts of the nested tabular are smaller according to \scriptsize:

\documentclass[10pt,twocolumn,letterpaper]{article}
\begin{document}
\title{Title}
\author{%
Author Name\\
Affiliation1\\
Affiliation2\\
City/Country\\
\scriptsize
\ttfamily
\begin{tabular}{@{}c@{}}
mail1\\
mail2
\end{tabular}
}
\maketitle
\end{document}


-
\documentclass{article}
\setlength{\parindent}{0em}
\begin{document}
Author Name\\
Affiliation1\\
Affiliation2\\
City/Country\\
{\tt\scriptsize mail1}\\
[-1ex]
{\tt\scriptsize mail2}
\end{document}


-

If you're using the full title-making mechanism \maketitle, then you should use the full title-making mechanism. The title is stored using \title, authors and their affiliations are stored using \author, and date (if needed) is added using \date:

\documentclass[10pt,twocolumn,letterpaper]{article}

\title{Title}
\author{%
Author Name \\
Affiliation1 \\
Affiliation2 \\
City/Country \\[-1ex]
\texttt{\scriptsize mail1} \\[-1ex]
\texttt{\scriptsize mail2}}

\begin{document}
\maketitle
\end{document}


A vertical adjustment is made using \\[<len>] where <len> can be any length. Specifying a negative length moves the contents vertically upwards.

Since an \author merely sets its contents in a centred tabular, you can also add multiple authors in the following way, if ever needed:

\documentclass[10pt,twocolumn,letterpaper]{article}

\title{Title}
\author{%
\begin{tabular}[t]{c}
Author Name1 \\
Affiliation1 \\
Affiliation2 \\
City/Country \\[-1ex]
\texttt{\scriptsize mail1} \\[-1ex]
\texttt{\scriptsize mail2}
\begin{tabular}[t]{c}
Author Name2 \\
Affiliation1 \\
Affiliation2 \\
City/Country \\[-1ex]
\texttt{\scriptsize mail1} \\[-1ex]
\texttt{\scriptsize mail2}