如何在第一页显示文件类型

如何在第一页显示文件类型

大家晚上好。我在 Latex 中有以下代码。

\documentclass[12pt, fleqn]{report}
\usepackage[utf8]{inputenc}
 \usepackage[english,greek]{babel}
\usepackage{graphicx}
\graphicspath{{images/}}
\usepackage{amsmath}
 \usepackage[load=accepted]{siunitx}
 \usepackage{caption}
 \usepackage{ragged2e}
 \usepackage{graphicx}
 \usepackage{afterpage}
 \usepackage{fancyhdr}
 \usepackage{lipsum}
 \usepackage{mathptmx}
 \usepackage{anyfontsize}
 \usepackage{t1enc}

 \usepackage{titlesec}

 \setcounter{secnumdepth}{3}
 \setcounter{tocdepth}{3}


 \fancyhf{} % clear all header and footer fields



   \usepackage{titling}
    \setlength\droptitle{-5cm}
    \renewcommand\maketitlehooka{\raisebox{-0.35\height}
     {\hspace*{-3cm}\includegraphics[width=4cm]{TUC}}\quad\sffamily    \begin{tabular}{l}  {\selectlanguage{english}{TECHNICAL UNIVERSITY OF CRETE}}\\   [3ex]{\selectlanguage{english} SCHOOL OF PRODUCTION ENGINEERING AND   MANAGEMENT}\end{tabular}\vskip 24ex}

   \renewcommand\maketitlehookb{\vskip 8ex}
   \renewcommand\maketitlehookc{\vfill}


  \selectlanguage{english}

  \title{Vehicle path and traffic flow optimization via  lane changing of automated or semi-automated vehicles on motorways}
 \author{Georgantas Antonios}





  \date{Chania 2016}
  \begin{document}
   \selectlanguage{english}
   \maketitle
   \end{document}

我想做的是在“毕业论文”名称后面添加两行,但我不知道该怎么做。你能帮我吗?

谢谢

答案1

我不确定您想在哪里添加额外的线条。您是指这样的吗?

\documentclass[12pt, fleqn]{report}
\usepackage[utf8]{inputenc}
 \usepackage[english,greek]{babel}
\usepackage{graphicx}
\graphicspath{{images/}}
\usepackage{amsmath}
 \usepackage[load=accepted]{siunitx}
 \usepackage{caption}
 \usepackage{ragged2e}
 \usepackage{graphicx}
 \usepackage{afterpage}
 \usepackage{fancyhdr}
 \usepackage{lipsum}
 \usepackage{mathptmx}
 \usepackage{anyfontsize}
 \usepackage{t1enc}

 \usepackage{titlesec}

 \setcounter{secnumdepth}{3}
 \setcounter{tocdepth}{3}


 \fancyhf{} % clear all header and footer fields



   \usepackage{titling}
    \setlength\droptitle{-5cm}
    \renewcommand\maketitlehooka{\raisebox{-0.35\height}
     {\hspace*{-3cm}\includegraphics[width=4cm]{TUC}}\quad\sffamily    \begin{tabular}{l}  {\selectlanguage{english}{TECHNICAL UNIVERSITY OF CRETE}}\\   [3ex]{\selectlanguage{english} SCHOOL OF PRODUCTION ENGINEERING AND   MANAGEMENT}\end{tabular}\vskip 24ex}

   \renewcommand\maketitlehookb{\vskip 8ex}
   \renewcommand\maketitlehookc{\vfill}


  \selectlanguage{english}

  \title{Vehicle path and traffic flow optimization via  lane changing of automated or semi-automated vehicles on motorways}
 \author{Georgantas Antonios\\Diploma\\Thesis}





  \date{Chania 2016}
  \begin{document}
   \selectlanguage{english}
   \maketitle
   \end{document}

相关内容