缩小标题字体

缩小标题字体

我的项目乳胶文件中有以下乳胶代码

\documentclass[12pt]{article}
\usepackage[portuguese]{babel}
\usepackage{natbib}
\usepackage{url}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\graphicspath{{images/}}
\usepackage{parskip}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{fancyhdr}
\usepackage{vmargin}
\setmarginsrb{3 cm}{2.5 cm}{3 cm}{2.5 cm}{1 cm}{1.5 cm}{1 cm}{1.5 cm}

\title{Snort Based Intrusion Detection ft.  ML Models}  
\author{Cicada3301}                             % Author
\date{\today}                                           % Date

\makeatletter
\let\thetitle\@title
\let\theauthor\@authaor
\let\thedate\@date
\makeatother

\pagestyle{fancy}
\fancyhf{}
\rhead{\theauthor}
\lhead{\thetitle}
\cfoot{\thepage}

\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\hbadness=10000

\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{titlepage}
    \centering
    \vspace*{-4.5 cm}
    \includegraphics[scale = 0.4]{K.png}\\[0.2 cm]  % University Logo
    \textsc{ \newline\newline MIT}\\[0.8 cm]
    \textsc{\Large CS111}\\[1 cm]   
    \rule{\linewidth}{0.2 mm} \\[0.4 cm]
    { \huge \bfseries \thetitle}\\
    \rule{\linewidth}{0.2 mm} \\[1.5 cm]
        \textsc{\Large \textbf{Group - CICADA3301}}\\[0.5 cm]   
    
    \begin{minipage}{0.5\textwidth}
        \begin{flushleft} \large
            \emph{Professor:}\\
            Dr. XYZ\\
            Department of Computer Science\
            \end{flushleft}
            \end{minipage}~
            \begin{minipage}{0.4\textwidth}
            
            \begin{flushright} \large
            \emph{Members} \\
            A G 
            
            Roll-3\\
            \vspace{1cm}
            S S Roll-2\\
        \end{flushright}
        
    \end{minipage}\\[2 cm]


\end{titlepage}

\newpage



\end{document}

这里的问题是标题太大,占用了两行。

在此处输入图片描述

但我想把标题缩小,以便它适合一行。我该如何在 overleaf 中做到这一点?请帮忙。谢谢。

相关内容