0

I was making my CV and faced some confusion when making the section for publications. Right now what I have looks something like this:

enter image description here

The code that generated this is:

 \Large{Papers}
 & \begin{tabular}[t]{@{} l l}
 \begin{enumerate}
   \item Publication 1 dddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
   \item Publication 2
 \end{enumerate}
 \end{tabular}

What I want is for each publication is to be numbered, which is why I tried using the enumerate code, but that didn't work. I also want the text to wrap around.

How would I solve both of those problems? Thanks in advance.

2
  • 1
    Please add a minimal working example of your code to your question. And could you clarify what you mean by text wrapping around. Do you mean you want to have text flowing around the enumerate environment or around the table or do you mean the references within the enumerate should should have line breaks?
    – TivV
    Mar 1, 2020 at 9:39
  • For customized ennumeration with enumitem see for example tex.stackexchange.com/a/42907/172164 (\begin{enumerate}[label=Publication \arabic*] in your case). In case your second question is about line breaks, the problem you're having is that within tabular they do not automatically occur. One way to solve this would be to use tabularx, see for example here: tex.stackexchange.com/a/166747/172164 .
    – TivV
    Mar 1, 2020 at 10:00

1 Answer 1

1

This is my guess using tabularx and a customized enumerate environment:

\documentclass{article}
\usepackage{tabularx}

\usepackage{enumitem}
\newlist{tabenum}{enumerate}{1}
\setlist[tabenum]{label*=\arabic*.,leftmargin=*,nosep,leftmargin=*,before=\vspace{-0.5\baselineskip},after=\vspace{-1\baselineskip}}



\begin{document}

\noindent
 \begin{tabularx}{\textwidth}[t]{@{} l >{\raggedright\arraybackslash}X}
  \Large{Papers}&
 \begin{tabenum}
   \item Publication 1 dddddddd ddddd dddddd dddd ddddd ddddd ddddddd dddddd dddd ddddd
   \item Publication 2
 \end{tabenum}
 \end{tabularx}

 \end{document}

With label=Publication \arabic* as suggested by TivV you will get a slighly different numbering scheme:

enter image description here

2
  • I think OP wants labels like: label=Publication \arabic*
    – TivV
    Mar 1, 2020 at 14:08
  • @TivV: Good idea that didn't come to my mind. I have included your suggestion in my answer.
    – leandriis
    Mar 1, 2020 at 17:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .