使用 res.cls 时,花式标题不会左对齐,也不会占满整个宽度

使用 res.cls 时,花式标题不会左对齐,也不会占满整个宽度

我想将我的精美标题与部分标题对齐,但目前无法做到。在 pic1.png 中,我尝试将华盛顿特区与体验部分左侧对齐。 图片1

我正在尝试对页脚进行同样的操作,由于声誉低,无法发布图片示例 :/

我尝试调整 \oddsidemargin 和 \hoffset,但不太清楚如何使用几何包来尝试解决这个问题。

我相信这是由于在https://www.rpi.edu/dept/arc/training/latex/resumes/它会自动以某种方式缩进边距。由于我对 Latex 还很陌生,因此非常希望得到帮助。

可汇编的简历如下:

\documentclass[overlapped]{res} %can use [margin] or [line] or [centered]
%overlapped instead of margin, trying to left justify fancy header

%%%%%%%%%%%% Info %%%%%%%%%%%%%%%%%%%%%
% Build with PDFLatex
% Texmaker used
% See 'packages used'
% class: res.cls 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% change main bullet style to small clear circles
\renewcommand{\labelitemi}{$\circ$}

% packages used
%\usepackage{geometry} %can't seem to solve issue with geometry
%\oddsidemargin = 0in %doesn't force header left
%\hoffset = 0in % just shifts all of it left

\usepackage{fontawesome}
\usepackage{fancyhdr}
\usepackage{array}
\usepackage{tabu}
\usepackage{hyperref} %linking profile information, last package imported
\hypersetup{
    colorlinks=true,
    linkcolor=blue,
    filecolor=magenta,      
    urlcolor=cyan, %this will color my external web links
} %from ShareLatex

\fancyhead{
    \begin{tabu} to \textwidth {X[l] X[c] X[r]}
    \faMapMarker \hspace{1pt} Washington, DC &
    \begin{LARGE} \textbf{Ronald Clinton} \end{LARGE} & 
    \faMobile \hspace{1pt} (123) 456-7890\\
    \end{tabu}
    }

%make footer of contact information, use with fancyhrd
\fancyfoot{
    \begin{tabu} to \textwidth {X[l] X[c] X[r]}
    \Large{\faLinkedin} &
    \Large{\faEnvelopeO \hspace{1pt}     \normalsize{myemail}} & 
    \Large{\faGithub} \\ \\
     & \textsc{Please fix header/footer width} & %make this grey
    \end{tabu}
    }

\pagestyle{fancy}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Uncomment \Large... for normal heading
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\Large{\name{Bill Reagan}}
%this is a standard title

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}    

\begin{resume}
\hspace{6pt}

\section{\large{Experience}} \textbf{Company} \hfill Start\textit{ - present} \\      \textsc{Role1, \\ Role2}
\begin{itemize} \itemsep=-2pt
\item item 1
\item item 2
\item item 3
\item item 4
\end{itemize}

\textbf{Company} \hfill Start - End \\ \textsc{Role}
\begin{itemize} \itemsep=-2pt
\item item1 
\end{itemize}


\section{\large{Education}}
\textbf{Online Degree}  \hfill Start - \textit{present} \\ \textsc{Degree Name}
\begin{itemize} \itemsep=-2pt
\item item 1
\begin{itemize} \itemsep=-2pt
\item subitem 1
\item subitem 2
\item subitem 3
\end{itemize}
\end{itemize}

\textbf{Rensselaer Polytechnic Institute} \\
\textsc{Major, Minor}\\
extracurriculars of note

\section{\large{Projects}}
\textbf{Project 1}
\begin{itemize} \itemsep=-2pt
\item item 1
\end{itemize}
\textbf{Project 2}
\begin{itemize}
\item item1 
\end{itemize}

\section{\large{Skills}}
%change to Technical Skills if using \documentclass[margin]{res}

\begin{tabu} to \textwidth {X[c] X[c] X[c]}
 \underline{\faStarO \faStarO \faStarO} & \underline{\faStarO \faStarO} &     \underline{\faStarO} \vspace{0.1in} \\
 This & may & not \\
 look & appealing & but \\
 it &  was & fun \\
 to & use & \LaTeX \\
\end{tabu}

\end{resume}

\end{document}

相关内容