因此,我正在编写简历,其中对工作/经历的每个描述都是一个单独的要点。因此,我使用关键字创建了一些要点\bullet
。我的问题是项目符号没有对齐,即它们没有相同的缩进。我希望有三个空格(因此\* \* \*
在每个之前使用\bullet
),但现在它们彼此不对齐。
我是否需要采取一些特殊措施才能使每个项目符号都缩进相同的量?它们不是列表,因为每个项目符号都是独立的,所以我最喜欢的解决方案是在项目符号前插入一些关键字,这样就全部标准化了。
\documentclass[12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{marvosym}
\usepackage{tikz}
\usepackage{blindtext}
\usepackage{apacite}
\usepackage{tabto}
\usepackage{bibentry}
\usepackage{enumitem}
\usepackage{xcolor}
\usepackage{bibentry}
\usepackage{ifsym}
\usepackage{wasysym}
\usetikzlibrary{fadings}
\newcommand\heading[3]%
{\begin{tabular}[b]{@{}l@{}}
\sffamily\bfseries\LARGE#1\\
\small\Letter\ \texttt{#2} \\
\small\phone\ \texttt{Phone} \\
\small \textifsymbol{18}\
\texttt{Address}
\end{tabular}%
}
\newcommand\secline
{\tikz\fill[green,path fading=east]
(0,0) rectangle (\linewidth,2pt);}
\renewcommand\section[1]%
{\par\bigskip
{\sffamily\bfseries\large#1}\\[-1.5ex]
\secline
}
\newcommand\cventry[3]%
{\makebox[19em][l]{#1}\hspace{1em}%
\parbox[t]{\dimexpr\linewidth-6em}%
{{#2}\quad#3}%
}
\parindent0pt
\begin{document}
\heading{Name}{email}{example-image-1x1.png}
\section{Employment History}
\textbf{Job 1}, Employer 1 \\
\textit{City} \textbar \* \*
\textit{Summer 2017} \\
\* \* \* $\bullet$ This is a job description for job 1. It was quite fun at times yet also quite boring at times. In short, this job was a job of contrast.. \\
\textbf{Job 2}, Employer 2 \\
\textit{City} \textbar \* \*
\textit{Summers 2014|2016} \\
\* \* \* $\bullet$ In contrast to job 1, job 2 contrasted even more than job 1. While the highs were high, the lows were very low.
\section{Skills}
\* \* \* $\bullet$ Computer programming languages C, Java, Javascript, OCAML, and Python \\
\* \* \* $\bullet$ Statistical softwares R, SPSS, and STATA \\
\* \* \* $\bullet$ Mapping softwares ArcMap and ArcGIS Pro \\
\* \* \* $\bullet$ Google Maps API, Mapbox API, and Openstreetmap API \\
\* \* \* $\bullet$ Microsoft Office Suite, Keynote, and LaTeX \\
\* \* \* $\bullet$ Professional and academic writing \\
\* \* \* $\bullet$ Customer service and sales
\end{document}
在我拥有的示例代码中,这种烦恼在职位 1 和职位 2 的职位描述要点中显而易见。具体来说,职位 2 的描述要点略微偏向职位 1 的左边。我也尝试过使用,\textbullet\
但对我来说也没有用。
答案1
以下是使用以下方法设置 itemize 参数的解决方案enumitem
:
\documentclass[12pt]{article}
\usepackage[margin=1in, showframe]{geometry}
\usepackage{marvosym}
\usepackage{tikz}
\usepackage{blindtext}
\usepackage{apacite}
\usepackage{tabto}
\usepackage{bibentry}
\usepackage{enumitem}
\setlist[itemize]{wide = 1em, nosep}
\usepackage{xcolor}
\usepackage{bibentry}
\usepackage{ifsym}
\usepackage{wasysym}
\usetikzlibrary{fadings}
\newcommand\heading[3]%
{\begin{tabular}[b]{@{}l@{}}
\sffamily\bfseries\LARGE#1\\
\small\Letter\ \texttt{#2} \\
\small\phone\ \texttt{Phone} \\
\small \textifsymbol{18}\
\texttt{Address}
\end{tabular}%
}
\newcommand\secline
{\tikz\fill[green,path fading=east]
(0,0) rectangle (\linewidth,2pt);}
\renewcommand\section[1]%
{\par\bigskip
{\sffamily\bfseries\large#1}\\[-1.5ex]
\secline
}
\newcommand\cventry[3]%
{\makebox[19em][l]{#1}\hspace{1em}%
\parbox[t]{\dimexpr\linewidth-6em}%
{{#2}\quad#3}%
}
\parindent0pt
\begin{document}
\heading{Name}{email}{example-image-1x1.png}
\section{Employment History}
\textbf{Job 1}, Employer 1 \\
\textit{City} \textbar \* \*
\textit{Summer 2017}% \\
%\* \* \* $\bullet$ This is a job description for job 1. It was quite fun at times yet also quite boring at times. In short, this job was a job of contrast.. \\
\begin{itemize}
\item This is a job description for job 1. It was quite fun at times yet also quite boring at times. In short, this job was a job of contrast.
\end{itemize}
\textbf{Job 2}, Employer 2 \\
\textit{City} \textbar \* \*
\textit{Summers 2014|2016} %\\
%\* \* \* $\bullet$ In contrast to job 1, job 2 contrasted even more than job 1. While the highs were high, the lows were very low.
\begin{itemize}
\item In contrast to job 1, job 2 contrasted even more than job 1. While the highs were high, the lows were very low.
\end{itemize}
\section{Skills}
\begin{itemize}
\item Computer programming languages C, Java, Javascript, OCAML, and Python
\item Statistical softwares R, SPSS, and STATA
\item Mapping softwares ArcMap and ArcGIS Pro
\item Google Maps API, Mapbox API, and Openstreetmap API
\item Microsoft Office Suite, Keynote, and LaTeX
\item Professional and academic writing
\item Customer service and sales
\end{itemize}
\end{document}