标题页上同一行中有两位作者

标题页上同一行中有两位作者

我怎样才能在标题页中放置两位作者?我试过这个,但没有用(标题后没有显示任何内容):

\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[swedish]{babel}
\usepackage{abraces}
\usepackage{stackengine}
\renewcommand\useanchorwidth{T}
\stackMath
\usepackage{amsmath}
%\usepackage{mathtools}
\usepackage{listings}
\usepackage{graphicx} 

\begin{titlepage}
    \begin{center}
    space \\
    [10cm]
    \huge{Some title in swedish here}\\
    [1cm]   
    \author{
  Name Surname\\
  \texttt{[email protected]}
  \and
  Name Surname\\
  \texttt{[email protected]}
}
\date{} 


    \end{center}

\end{titlepage}

\end{document}

编辑2:

\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[swedish]{babel}
\usepackage{abraces}
\usepackage{stackengine}
\renewcommand\useanchorwidth{T}
\stackMath
\usepackage{amsmath}
%\usepackage{mathtools}
\usepackage{listings}
\usepackage{graphicx} 



\title{\huge Titel \\[1cm]}
\author{&
  Name Surname\\
  \texttt{[email protected]}
  \and
  Name Surname\\
  \texttt{[email protected]}
}
\date{} 



\begin{document}
%{\setlength{\parindent}{0cm}
%\maketitle 

\tableofcontents
\cleardoublepage




\section*{Table of contents}

\section{Section}
\section{Section}
\section{Section}
\section{Section}
\section{Section}
\end{document}

答案1

你是这个意思吗?

该选项为命令titlepage启用环境并且具有更大的顶部空间(标题之前)。\begin{titlepage}...\end{titlepage}\maketitle

\documentclass[11pt,titlepage]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[swedish]{babel}
\usepackage{abraces}
\usepackage{stackengine}
\renewcommand\useanchorwidth{T}
\stackMath
\usepackage{amsmath}
%\usepackage{mathtools}
\usepackage{listings}
\usepackage{graphicx} 

\title{\huge Some title in swedish here \\[1cm]}
\author{%
  Name Surname\\
  \texttt{[email protected]}
  \and
  Name Surname\\
  \texttt{[email protected]}
}
\date{} 


\begin{document}
\maketitle

\end{document}

在此处输入图片描述

编辑

\documentclass[11pt,titlepage]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[swedish]{babel}
\usepackage{abraces}
\usepackage{stackengine}
\renewcommand\useanchorwidth{T}
\stackMath
\usepackage{amsmath}
%\usepackage{mathtools}
\usepackage{listings}
\usepackage{graphicx} 



\title{\huge Titel \\[1cm]}
\author{%  ---> & wrong here!!!
  Name Surname\\
  \texttt{[email protected]}
  \and
  Name Surname\\
  \texttt{[email protected]}
}
\date{} 



\begin{document}
%{\setlength{\parindent}{0cm}
\maketitle 

\tableofcontents
\cleardoublepage




\section*{Table of contents}

\section{Section}
\section{Section}
\section{Section}
\section{Section}
\section{Section}
\end{document}

相关内容