我对 LaTeX 还比较陌生,目前正尝试使用该软件创建简历。我正在尝试写下我可以使用的不同编码语言。我目前看起来像下面这样,但我希望数据处理(或任何描述)与描述的开头对齐
- Python - 函数、模块、字典、递归、机器学习、区块链、聊天机器人、统计、数据可视化、数据处理
答案1
这是实现此目的的一种方法。
\documentclass{article}
\newcommand{\listHeading}[1]{\parbox{1.7cm}{\textbullet\hspace{5pt}\textbf{#1}}}
\begin{document}
\begin{itemize}
\item[\listHeading{Python}] functions, modules, dictionaries, recursion, machine learning, blockchain, chatbots, statistics, data visualisation, data handling
\item[\listHeading{C++}] functions, modules, dictionaries, recursion, machine learning, blockchain, chatbots, statistics, data visualisation, data handling
\item[\listHeading{Java}] functions, modules, dictionaries, recursion, machine learning, blockchain, chatbots, statistics, data visualisation, data handling
\end{itemize}
\end{document}
如果您使用的标题比 python 更长,则可能需要将宽度增加到\parbox
超过1.7cm
。
答案2
\documentclass[a4paper,14pt]{extreport}
\usepackage[left=1.5cm,right=1.5cm,top=1.5cm,bottom=2cm,bindingoffset=0cm]{geometry}
\begin{document}
\begin{itemize}
\item\textbf{Python }functions, modules, dictionaries, recursion,\\ machine learning, blockchain, chatbots, statistics, data visualisation, data handling
\item \textbf{Python}\qquad functions, modules, dictionaries, recursion,\\ machine learning, blockchain, chatbots, statistics, data visualisation, data handling
\item \textbf{Python }\hspace{2cm} functions, modules, dictionaries, recursion,\\ machine learning, blockchain, chatbots, statistics, data visualisation, data handling
\end{itemize}
\end{document}