Text 如何更改latex中\namesection的fontsize?

Text 如何更改latex中\namesection的fontsize?,text,latex,overleaf,Text,Latex,Overleaf,在下面的代码中: \namesection{}{John Doe}{ \urlstyle{same} \href{mailto:john.doe@gmail.com}{john.doe\char`@gmail.com} | 666 666 666\\ \href{https://github.com/johndoe}{github.com/johndoe} } 我想把“约翰·多伊”做小一点。不幸的是,我只找到了将\n节中的所有字体变小的方法,而不仅仅是“John Doe”字符串。好的,我找

在下面的代码中:

\namesection{}{John Doe}{ 
\urlstyle{same}
\href{mailto:john.doe@gmail.com}{john.doe\char`@gmail.com} | 666 666 666\\
\href{https://github.com/johndoe}{github.com/johndoe}
}

我想把“约翰·多伊”做小一点。不幸的是,我只找到了将\n节中的所有字体变小的方法,而不仅仅是“John Doe”字符串。

好的,我找到了

% Name command
\newcommand{\namesection}[3]{
\centering{
\fontsize{20pt}{30pt}
.cls文件中的第42行