
저는 res.cls
이력서를 작성하는 데 사용하고 있습니다. 섹션 제목의 볼드체를 해제하고 이탤릭체 글꼴을 사용하고 싶습니다(아래 그림 참조).
\documentclass[margin]{res}
\setlength{\textwidth}{5.1in} % set width of text portion
\parskip = 0.5cm
\begin{document}
% Center the name
\moveleft.5\hoffset\centerline{\large\bf name}
% Draw a horizontal line
\moveleft\hoffset\vbox{\hrule width\resumewidth height 1pt}\smallskip
% address, email and phone
\moveleft.5\hoffset\centerline{address}
\moveleft.5\hoffset\centerline{email}
\moveleft.5\hoffset\centerline{phone}
\begin{resume}
\section{EDUCATION}
\textbf{University of ...} \hfill 2015--2019\\
BSc in ..., May 2019
\section{EMPLOYMENT}
...
\end{resume}
\end{document}
패키지 를 사용해 보았습니다 titlesec
. 내가 추가하면
\usepackage{titlesec}
\titleformat{\section}{\itshape}{}{}{}[]
답변1
글쎄, 사용된 템플릿은 매우 오래되었으므로 더 이상 사용해서는 안 됩니다. 예를 들어 여전히 \bf
.
그럼에도 불구하고 프리앰블 명령에서 사용할 수 있습니다
\renewcommand\sectionfont{\itshape}%\bf
섹션의 글꼴을 굵은 글꼴에서 기울임꼴로 변경합니다.
그런데: 클래스가 너무 오래되어 패키지를 사용할 수 없습니다 titlesec
...
전체 MWE를 참조하세요.
\documentclass[margin]{res}
\renewcommand\sectionfont{\itshape}%\bf
\setlength{\textwidth}{5.1in} % set width of text portion
\parskip = 0.5cm
\begin{document}
% Center the name
\moveleft.5\hoffset\centerline{\large\bf name}
% Draw a horizontal line
\moveleft\hoffset\vbox{\hrule width\resumewidth height 1pt}\smallskip
% address, email and phone
\moveleft.5\hoffset\centerline{address}
\moveleft.5\hoffset\centerline{email}
\moveleft.5\hoffset\centerline{phone}
\begin{resume}
\section{EDUCATION}
\textbf{University of ...} \hfill 2015--2019\\
BSc in ..., May 2019
\section{EMPLOYMENT}
...
\end{resume}
\end{document}
결과는 다음과 같습니다.