如何在乳胶中正确对齐书写?

How can I write with proper alignment in latex?

我正在尝试用乳胶写简历。格式如下图所示 我试过使用以下代码来做到这一点:

\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}

\hline
\begin{paragraph}{\textbf{EXTRA CURRICULAR ACTIVITIES}} 
\mbox{}

{Sep 2020 — Present} \hfill{\bf Project Manager, X Consultancy} \hfill 
{Groningen} \ 
{\mbox{}} \hfill {Have gone through certain projects. Lorem ipsum, or 
lipsum as it is 
sometimes known, is dummy text used in laying out print, graphic or web 
designs. The passage 
is attributed to an unknown} \hfill {}

\end{paragraph}
\end{document}

我得到了以下结果。

任何人都可以帮助我如何获得预期的结果并将中间列与项目符号完美对齐?

使用 geometry 包写简历会很简单。以下代码会有所帮助:

\documentclass{article}

\newlength\leftcolwidth
\setlength\leftcolwidth{3cm}
\newlength\leftcolsep
\setlength\leftcolsep{5mm}

\usepackage
[left=\dimexpr\leftcolwidth+\leftcolsep+3.5cm\relax,right=3.5cm]
{geometry}

\makeatletter
\newcommand*\pagerule
{%
   \par
   \smallskip
   \noindent
   \kern-\leftcolwidth
   \kern-\leftcolsep
   \rule{\dimexpr\textwidth+\leftcolwidth+\leftcolsep}{.4pt}%
   \par
   \smallskip
   \@doendpe % suppress indent of the next line if no blank line is following
}

\newcommand*\entry[3]
{%
   \par
   \noindent
   \llap{\makebox[\leftcolwidth][l]{#1}\kern\leftcolsep}%
   \textbf{#2}%
   \hfill
   \makebox{#3}%
   \par
   \medskip % vertical space below the entries
   \@afterindentfalse % don't indent the first paragraph
   \@afterheading     % don't allow page breaks
 }

 % change the formatting of paragraph
 \renewcommand\paragraph
 {%a
   \@startsection
   {paragraph}{4}%
   {-\dimexpr\leftcolwidth+\leftcolsep\relax}% move it into the margin
   {3.25ex \@plus 1ex \@minus .2ex}% vertical space before the heading
   {1em}% add a bit of vertical space after the heading
   {\normalfont\normalsize\bfseries}% set the wanted font
 }
 \makeatother

 \begin{document}

 \pagerule

 \paragraph{EXTRA CURRICULAR ACTIVITIES} 
 \entry{Sep 2020 -- Present}{Project Manager, X Consultancy}{Groningen}
 \begin{itemize}
 \item
    Have gone through certain projects. Lorem ipsum, or lipsum as it is
    sometimes known, is dummy text used in laying out print, graphic or web
    designs. The passage is attributed to an unknown
 \end{itemize}
 \end{document}`

使用包 tabularxbooktabs 的草图:

\documentclass[10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{tabularx,booktabs}
\usepackage[margin=25mm]{geometry}

\begin{document}

\noindent
\begin{tabularx}{\textwidth}{lX}
\toprule
\multicolumn{2}{l}{\textbf{EXTRA CURRICULAR ACTIVITIES}}\
\midrule
Sep 2020 — Present & \textbf{Project Manager, X Consultancy} Groningen\
 & %
\begin{itemize}
\item Have gone through certain projects. Lorem ipsum, or 
lipsum as it is sometimes known, is dummy text used in laying out print, graphic or web designs. The passage is attributed to an unknown.
\end{itemize}\
\bottomrule
\end{tabularx}

\end{document}