TeX - LaTeX Asked by Alec Phong on August 9, 2021
Adding the following to the preamble of the document will result in the last name being shown in the same font/color as the first name:
renewcommand{namesection}[3]{ % Defines the command for the main heading
centering{ % Center the name
fontsize{40pt}{60pt} % Font size
fontspec[Path = fonts/lato/]{Lato-Hai}selectfont #1 % First name font
fontspec[Path = fonts/lato/]{Lato-Hai}selectfont #2 % Last name font
} [5pt] % Whitespace between the name and contact information
centering{ % Center the contact information
color{headings} % Use the headings color
fontspec[Path = fonts/raleway/]{Raleway-Medium}fontsize{11pt}{14pt}selectfont #3} % Contact information font
noindentmakebox[linewidth]{color{headings}rule{paperwidth}{0.4pt}} % Horizontal rule
vspace{-5pt} % Reduce whitespace after the rule slightly
}
Correct answer by leandriis on August 9, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP