我正在制作简历并使用 resume 类。我手动制作了所有标题,以便第一个字母比其他字母略高\hsc{}{}
。我想知道是否有办法让我的名字更大?我希望让名字至少比第一部分“教育”大一点。
以下是一些代码:
\ProvidesClass{resume}[2010/07/10 v0.9 Resume class]
\LoadClass[11pt,letterpaper]{article} % Font size and paper type
\usepackage[parfill]{parskip} % Remove paragraph indentation
\usepackage{array} % Required for boldface (\bf and \bfseries) tabular columns
\usepackage{ifthen} % Required for ifthenelse statements
\pagestyle{plain} % Suppress page numbers
%----------------------------------------------------------------------------------------
% HEADINGS COMMANDS: Commands for printing name and address
%----------------------------------------------------------------------------------------
\def \name#1{\def\@name{#1}} % Defines the \name command to set name
\def \@name {} % Sets \@name to empty by default
\def \addressSep {$\diamond$} % Set default address separator to a diamond
\documentclass{resume} % Use the custom resume.cls style
\usepackage{amsmath}
\usepackage[left=0.75in,top=0.6in,right=0.75in,bottom=0.8in]{geometry} % Document margins
\usepackage{hanging}
\newcommand{\tab}[1]{\hspace{.2667\textwidth}\rlap{#1}}
\newcommand{\itab}[1]{\hspace{0em}\rlap{#1}}
% \address{\textit{Curriculum Vitae}}
\name{\hsc{B}{ob }\hsc{R}{oss}}% Your name
\address{[email protected] \quad \\ \quad (123)~543-8654 } % Your phone number and email
编辑:添加了以下信息\hsc
{\fontsize{15}{20}\selectfont \MakeUppercase{#1}}%
{\fontsize{11}{20}\selectfont \MakeUppercase{#2}}%
} % first # font size; second # baseline skip
答案1
我创建了一个新的宏
\newcommand{\tit}[2]{%
{\fontsize{20}{20}\selectfont \MakeUppercase{#1}}%
{\fontsize{15.5}{20}\selectfont \MakeUppercase{#2}}%
}
因此,名称比子部分标题“教育”稍大,但仍具有相同的结构,只是首字母稍大一些。