
我正在嘗試使用 RusselResume 範本在 Overleaf 上編寫我的履歷,但我想更改字體。
現在這就是已經寫好的內容:
\newcommand*{\headerfont}{\roboto}
\newcommand*{\headerfontlight}{\robotolight}
\newcommand*{\footerfont}{\sourcesanspro}
\newcommand*{\bodyfont}{\sourcesanspro}
我努力了:
\newcommand*{\headerfont}{\fontfamily{ptm}\selectfont}
\newcommand*{\headerfontlight}{\fontfamily{ptm}\selectfont}
\newcommand*{\footerfont}{\fontfamily{ptm}\selectfont}
\newcommand*{\bodyfont}{\fontfamily{ptm}\selectfont}
\newcommand*{\bodyfontlight}{\fontfamily{ptm}\selectfont}
相反,這給了我我想要的字體。但是,所有節標題都不再是粗體字母了。我嘗試過添加
\fontseries{ub}
上面的那些行,但這沒有任何作用。我想要不同的字體,但也想保持原始字體中字母的粗細。我該怎麼做呢?