
Estou tentando fazer um currículo e tem uma seção onde quero listar com marcadores os projetos que fiz, então uso itemize
list dentro de um tabularx
ambiente como este:
\begin{tabularx}{\linewidth}{>{\centering\arraybackslash}p{2.8cm}|X}
2015 - 2017 & \textbf{Title of Master} \textbf{(120 ECTS)}, Specialization\\[1mm]
& Key projects:\\
& \begin{itemize}
\item Project 1
\item Project 2
\item Project 3
\end{itemize}\\
\multicolumn{2}{c}{}\\
2010 - 2014 & \textbf{Bachelor (180 ECTS)}\\[1mm]
& Final grade: 7.51/10.00 - Name of University\\
& $\bullet$ Diploma thesis: \textit{"Name of thesis"}\\
& $\bullet$ Type of Specialization \\%[2mm]
\end{tabularx}
Usando o comando \setlist[itemize]{leftmargin=*}
no início do documento consigo suprimir o recuo dos itens da lista com os projetos principais mas há um espaço vertical logo após a linha "Projetos principais" e um logo após o final da lista que eu não pode suprimir. Tentei usar a topsep
opção como no bloco abaixo mas não funcionou:
& Key projects:\\
& \begin{itemize}[noitemsep,topsep=0pt]
\item Project 1
\item Project 2
\item Project 3
\end{itemize}\\
Por fim, tentei listar os Projetos manualmente, apenas adicionando marcadores na frente de cada um:
& Key projects:\\
& $\bullet$ Project 1\\
& $\bullet$ Project 2\\
& $\bullet$ Project 3\\
o que funciona bem, exceto que o título do último projeto é mais longo \linewidth
e, quando quebra, o texto começa logo abaixo do marcador, em vez de começar onde a linha anterior começa.
Então minha pergunta é: como possoglobalmentesuprimir o recuo e os espaços verticais criados pela lista?
ATUALIZAR: Esta é uma parte do código para reproduzir e visualizar o problema.
\documentclass[a4paper,10pt]{article}
%%%%-------------------------Packages-------------------------------------------
%\usepackage{extsizes} %package for extra font sizes
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{titlesec} %package to edit document and section titles
\usepackage{enumitem} %package to edit the lists
\usepackage{parskip} %package to suppress paragraph indentation
\usepackage{verbatim} %package to comment in/out chunks of code
\usepackage{tabularx} %package for better manipulation of matrix dimensions
\usepackage{array} %package that allows an alignement command along with a column width specifier (p-column)
\usepackage{geometry} %package to tweak the margins and dimensions of the page
\geometry{
a4paper,
left=10mm,
right=10mm,
top=9mm,
bottom=8mm
}
\usepackage{hyperref} %package to include hyperlinks
\hypersetup{ %edit how the hyperlinks will appear
colorlinks=true,
linkcolor=blue,
filecolor=magenta,
urlcolor=cyan,
}
\urlstyle{same}
%%%%%%%%%%%%%%%%%%----------------- Beginning of the document-------------------
\begin{document}
%-------------general settings for the whole document--------------------
% \url{https://www.sharelatex.com/learn/Sections_and_chapters#
% Customize_chapters_and_sections}
\titleformat{\section}[block]{\large\bf\raggedright}{}{0cm}{}[\titlerule]
\titlespacing{\section}{0pt}{1.5pt}{0pt}
%\setlist[itemize]{leftmargin=*} % remove the indent from all list items
%\setlist[itemize]{noitemsep, topsep=0pt}
%\setlist[itemize]{nosep}
\pagestyle{empty} %non-numbered pages
%-------------------------Education Section----------------------------------
\section{Education} % Section Education
\begin{tabularx}{\linewidth}{>{\centering\arraybackslash}p{2.8cm}|X}
2015 - 2017 & \textbf{Title of Master} \textbf{(120 ECTS)}, Specialization\\[1mm]
& Key projects:\\
& \begin{itemize}
\item Project 1
\item Project 2
\item Project 3
\end{itemize}\\
\multicolumn{2}{c}{}\\
2010 - 2014 & \textbf{Bachelor (180 ECTS)}\\[1mm]
& Final grade: 7.51/10.00 - Name of University\\
& $\bullet$ Diploma thesis: \textit{"The name of the thesis which is long enough that the text wraps but starts right below the bullet instead of starting where the word ""Diploma" starts}\\
& $\bullet$ Type of Specialization \\%[2mm]
\end{tabularx}
\end{document}
Portanto, no primeiro caso não consigo me livrar tanto do recuo dos itens quanto dos espaços verticais acima e abaixo deles. Na segunda parte coloquei apenas marcadores manualmente mas o nome da tese de diploma é tão longo que enrola e fica feio porque se alinha com o marcador e não com a palavra acima.
O que eu quero é que o resultado apareça como no segundo caso, mas também resolva o problema de empacotamento. Espero ter sido claro. Obrigado pela ajuda.
Responder1
Eu os suprimo dentro da tabela:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[style=british]{csquotes} \usepackage{array, tabularx}
\usepackage{enumitem}
\usepackage[table, x11names]{xcolor}
\begin{document}
\begin{table}[!ht]
\setlist[itemize]{wide=0pt, label=\color{LightBlue3}\textbullet, noitemsep, topsep=2pt, leftmargin=*, after =\vspace*{-\baselineskip}}
\begin{tabularx}{\linewidth}{>{\centering\arraybackslash}p{2.8cm}! {\color{LightBlue3}\vrule width1.5pt}>{\arraybackslash}X}
2015 - 2017 & \textbf{Title of Master} \textbf{(120 ECTS)}, Specialization \\[1mm]
& Key projects:
\begin{itemize}
\item Project 1
\item Project 2
\item Project 3
\end{itemize}\\
\multicolumn{2}{c}{}\\
2010 - 2014 & \textbf{Bachelor (180 ECTS)} \\[1mm]
& Final grade: 7.51/10.00 - Name of University
\begin{itemize}
\item Diploma thesis: \textit{\enquote{The Hunting of the Snark. An agony in eight fits}}
\item Type of Specialization%[2mm]
\end{itemize}
\end{tabularx}
\end{table}
\end{document}