我使用了多列(有 2 列)。但是当行结束时,其中一列的内容不可见。就像第一行上的这样
我对此部分的代码是
\section{Technical Skills}
\begin{tabular}{rl}
\textsc{Techniques Acquainted with:} & Machine Learning, Sentiment Analysis, Data Retrieval, Web Scrapping, Database Management,Working with APIs(REST, OAuth 2), Research paper Writing \\
\textsc{General Programming:} & Java ,C++ ,C ,R ,Python , NLTK, PHP ,Shell Scripting ,HTML ,SQL\\
\textsc{Other Software:} & JFlap ,Anaconda ,Matlab ,Octave ,R Studio ,Android Studio ,Eclipse ,Netbeans ,MySQL ,MS office \\
\end{tabular}
答案1
正如@Zarko 所说,tabularx
如果你不忘记指定表格的总宽度,那么它是有效的:
\documentclass{article}
\usepackage{cabin}
\usepackage{geometry}%
\usepackage{titlesec}
\titleformat*{\section}{\sffamily\Large\scshape}
\usepackage{tabularx}
\setlength\extrarowheight{4pt}
\begin{document}
\section*{Technical Skills}%
\vspace*{-2ex}\hrule\vspace*{2ex}
\sffamily
\begin{tabularx}{\linewidth}{@{}rX@{}}
\textsc{Techniques Acquainted with:} & Machine Learning, Sentiment Analysis, Data Retrieval, Web Scrapping, Database Management,Working with APIs(REST, OAuth 2), Research paper Writing \\
\textsc{General Programming:} & Java, C++, C, R, Python, NLTK, PHP, Shell Scripting, HTML, SQL \\
\textsc{Other Software:} & JFlap, Anaconda, Matlab, Octave, R Studio, Android Studio, Eclipse, Netbeans, MySQL, MS office \\
\end{tabularx}
\end{document}