为什么使用 \item \LHEAD 无法正确格式化?

为什么使用 \item \LHEAD 无法正确格式化?

我遵循了 AboAmmar 给出的答案这里我的简历如下图所示。不知道为什么 LHEAD 中写的项目会这样显示? 在此处输入图片描述

    %\documentclass[9pt,A4paper]{report}
\documentclass{article}
\usepackage{hyperref,microtype}
\usepackage[margin=1.125in,top=1.375in,right=1in,left=2in]{geometry}


\def\name{  \color{blue}\href{http://www.linkedin.com/pub/mona-jalal/40/2/3b4}{Mona Jalal} }

\hypersetup{
    colorlinks = true,
    urlcolor = blue,
    pdfauthor = {\name},
    pdfkeywords = {CV, Mona Jalal, Electrical and Computer Engineering, University of Wisconsin-Madison},
    pdftitle = {\name: Curriculum Vitae},
    pdfsubject = {Curriculum Vitae},
    pdfpagemode = UseNone
}

\geometry{
    body={7in, 10in},
    left=0.5in,
    top=0.75in
}

\pagestyle{myheadings}
%\markright{\name 's CV, Last Updated: \today}
\thispagestyle{empty}
% Don't indent paragraphs.
\setlength\parindent{0em}

\renewenvironment{itemize}{
    \begin{list}{}{
        \setlength{\leftmargin}{1.5em}
        \setlength{\itemsep}{0.25em}
        \setlength{\parskip}{0pt}
        \setlength{\parsep}{0.25em}
    }
}{
    \end{list}
}

\begin{document}
\reversemarginpar 
\setlength\marginparwidth{0.8in}
\newcommand{\LHEAD}[1]{\leavevmode\marginpar{\large\scshape#1}}




    \vspace{0.015\textwidth}
    %\hrule
    \vspace{0.015\textwidth}


        \begin{itemize}
        \item \LHEAD{Curricular Activities}%
            \item \href{http://research.cs.wisc.edu/wacm/officers.html}{WACM}: Activity Chair, 2013-2015; Mentoring Chair, 2015-2016. 
            \item \href{http://sacm.cs.wisc.edu/}{SACM}: Social Chair, 2014-2015. 
            \item \href{http://chialphauw.org/Chi_Alpha/Welcome.html}{Madison CHI ALPHA}: Reader in tour of Madison and member.
            \item {Society of Women Engineer} : UW-Madison SWE collegiate member,2014-2015 academic year.
            \item {ACM}: Active student membership, 2014-2015 academic year.
            \item {Systers}: Member, Starting fall 2014.
            \item {Hoofers Sailing Club}: Member, Summer 2015.

        \end{itemize}


    \vspace{0.015\textwidth}
    \hrule
    \vspace{0.015\textwidth}



        \begin{itemize}
            \item \LHEAD{Langauges}%
            \item \textbf{Persian}: Native
            \item \textbf{English}: Fluent
            \item \textbf{French}: Intermediate
            \item \textbf{Italian}: Familiar
            \item \textbf{Arabic}: Familiar
        \end{itemize}



    \vspace{0.015\textwidth}
    \hrule
    \vspace{0.015\textwidth}


        \begin{itemize}
            \item \LHEAD{Interests}%

            \item Sailing
            \item Cooking
            \item Swimming
            \item Badminton
            \item Dancing
            \item Watercolor Painting
            \item Portrait Drawing
            \item Verse Writing
            \item talentbuddy.co
        \end{itemize}

答案1

这是

\documentclass{article}
\usepackage{hyperref,microtype}
\usepackage[margin=1.125in,top=1.375in,right=1in,left=2in]{geometry}
\begin{document}
\reversemarginpar 
\setlength\marginparwidth{0.8in}
\newcommand{\LHEAD}[1]{\leavevmode\marginpar{\large\scshape#1}}


\vspace{0.015\textwidth}
%\hrule
\vspace{0.015\textwidth}


    \begin{itemize}
    \item \LHEAD{Curricular Activities}%
        \item \href{http://research.cs.wisc.edu/wacm/officers.html}{WACM}: Activity Chair, 2013-2015; Mentoring Chair, 2015-2016. 
        \item \href{http://sacm.cs.wisc.edu/}{SACM}: Social Chair, 2014-2015. 
        \item \href{http://chialphauw.org/Chi_Alpha/Welcome.html}{Madison CHI ALPHA}: Reader in tour of Madison and member.
        \item {Society of Women Engineer} : UW-Madison SWE collegiate member,2014-2015 academic year.
        \item {ACM}: Active student membership, 2014-2015 academic year.
        \item {Systers}: Member, Starting fall 2014.
        \item {Hoofers Sailing Club}: Member, Summer 2015.

    \end{itemize}


\vspace{0.015\textwidth}
\hrule
\vspace{0.015\textwidth}



    \begin{itemize}
        \item \LHEAD{Langauges}%
        \item \textbf{Persian}: Native
        \item \textbf{English}: Fluent
        \item \textbf{French}: Intermediate
        \item \textbf{Italian}: Familiar
        \item \textbf{Arabic}: Familiar
    \end{itemize}



\vspace{0.015\textwidth}
\hrule
\vspace{0.015\textwidth}


    \begin{itemize}
        \item \LHEAD{Interests}%

        \item Sailing
        \item Cooking
        \item Swimming
        \item Badminton
        \item Dancing
        \item Watercolor Painting
        \item Portrait Drawing
        \item Verse Writing
        \item talentbuddy.co
    \end{itemize}

\end{document}

更新

%\documentclass[9pt,A4paper]{report}
\documentclass{article}
\usepackage{hyperref,microtype,tikz} % tikz here just for colors
\usepackage{geometry}

\geometry{
    body={7in, 10in},
    left=1.5in,
    top=0.75in
}

\def\name{  \color{blue}\href{http://www.linkedin.com/pub/mona-jalal/40/2/3b4}{Mona Jalal} }

\hypersetup{
    colorlinks = true,
    urlcolor = blue,
    pdfauthor = {\name},
    pdfkeywords = {CV, Mona Jalal, Electrical and Computer Engineering, University of Wisconsin-Madison},
    pdftitle = {\name: Curriculum Vitae},
    pdfsubject = {Curriculum Vitae},
    pdfpagemode = UseNone
}


\pagestyle{myheadings}
%\markright{\name 's CV, Last Updated: \today}
\thispagestyle{empty}
% Don't indent paragraphs.
\setlength\parindent{0em}

\renewenvironment{itemize}{
    \begin{list}{}{
        \setlength{\leftmargin}{1.5em}
        \setlength{\itemsep}{0.25em}
        \setlength{\parskip}{0pt}
        \setlength{\parsep}{0.25em}
    }
}{
    \end{list}
}

\begin{document}
\reversemarginpar 
\setlength\marginparwidth{0.8in}
\newcommand{\LHEAD}[1]{\leavevmode\marginpar{\large\scshape#1}}




    \vspace{0.015\textwidth}
    %\hrule
    \vspace{0.015\textwidth}


        \begin{itemize}
        \item \LHEAD{Curricular Activities}%
            \item \href{http://research.cs.wisc.edu/wacm/officers.html}{WACM}: Activity Chair, 2013-2015; Mentoring Chair, 2015-2016. 
            \item \href{http://sacm.cs.wisc.edu/}{SACM}: Social Chair, 2014-2015. 
            \item \href{http://chialphauw.org/Chi_Alpha/Welcome.html}{Madison CHI ALPHA}: Reader in tour of Madison and member.
            \item {Society of Women Engineer} : UW-Madison SWE collegiate member,2014-2015 academic year.
            \item {ACM}: Active student membership, 2014-2015 academic year.
            \item {Systers}: Member, Starting fall 2014.
            \item {Hoofers Sailing Club}: Member, Summer 2015.

        \end{itemize}


    \vspace{0.015\textwidth}
    \hrule
    \vspace{0.015\textwidth}



        \begin{itemize}
            \item \LHEAD{Langauges}%
            \item \textbf{Persian}: Native
            \item \textbf{English}: Fluent
            \item \textbf{French}: Intermediate
            \item \textbf{Italian}: Familiar
            \item \textbf{Arabic}: Familiar
        \end{itemize}



    \vspace{0.015\textwidth}
    \hrule
    \vspace{0.015\textwidth}


        \begin{itemize}
            \item \LHEAD{Interests}%

            \item Sailing
            \item Cooking
            \item Swimming
            \item Badminton
            \item Dancing
            \item Watercolor Painting
            \item Portrait Drawing
            \item Verse Writing
            \item talentbuddy.co
        \end{itemize}

\end{document}

相关内容