
이력서를 작성하려고 하는데 제가 수행한 프로젝트를 글머리 기호로 나열하고 싶은 섹션이 있으므로 다음과 같은 환경 itemize
내에서 목록을 사용합니다.tabularx
\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}
\setlist[itemize]{leftmargin=*}
문서 시작 부분에 있는 명령을 사용하여 주요 프로젝트가 포함된 목록 항목의 들여쓰기를 억제할 수 있지만 "주요 프로젝트" 행 바로 뒤에 수직 공백이 있고 목록 끝 바로 뒤에 수직 공백이 있습니다. 억제할 수 없습니다. topsep
아래 블록과 같은 옵션을 사용해 보았지만 작동하지 않았습니다.
& Key projects:\\
& \begin{itemize}[noitemsep,topsep=0pt]
\item Project 1
\item Project 2
\item Project 3
\end{itemize}\\
마지막으로 각 프로젝트 앞에 글머리 기호를 추가하여 프로젝트를 수동으로 나열하려고 했습니다.
& Key projects:\\
& $\bullet$ Project 1\\
& $\bullet$ Project 2\\
& $\bullet$ Project 3\\
마지막 프로젝트의 제목이 그보다 길고 줄 \linewidth
바꿈할 때 텍스트가 이전 줄이 시작하는 곳에서 시작하는 대신 글머리 기호 바로 아래에서 시작된다는 점을 제외하면 잘 작동합니다.
그래서 내 질문은, 내가 어떻게 할 수 있느냐는 것입니다.전 세계적으로목록에서 생성된 들여쓰기와 세로 공백을 모두 억제하시겠습니까?
업데이트: 문제를 재현하고 시각화하기 위한 코드의 일부입니다.
\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}
따라서 첫 번째 경우에는 항목의 들여쓰기와 항목 위와 아래의 수직 공간을 모두 제거할 수 없습니다. 두 번째 부분에서는 글머리 기호를 수동으로 넣었는데 졸업장 논문의 이름이 너무 길어서 위의 단어가 아닌 글머리 기호와 일치하기 때문에 포장되어 보기 흉해 보입니다.
내가 원하는 것은 두 번째 경우처럼 결과가 표시되는 동시에 래핑 문제도 해결하는 것입니다. 나는 나 자신을 분명히하기를 바랍니다. 도와 주셔서 감사합니다.
답변1
테이블 내에서 이를 억제합니다.
\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}