# Tag Info

## New answers tagged lists

1

A slightly simpler way to do this, also with enumitem. \documentclass{article} \usepackage{enumitem} \newlist{mybullet}{description}{1} \SetLabelAlign{myleft}{$\bullet$\ #1\hfil} \setlist[mybullet]{align=myleft,labelwidth=1in,font=\normalfont,nosep} \begin{document} \noindent Some text \begin{mybullet} \item[Sept 2004]{Something} \item[May ...

1

You can use enumitem: \documentclass{article} \usepackage{enumitem} \newlist{list2}{itemize}{1} \setlist[list2]{ nosep, before={\let\makelabel=\mymakelabel}, leftmargin=*, labelwidth=6em, label={\hspace{6em}}, } \newcommand{\mymakelabel}[1]{\textbullet\ #1:\hfill} \begin{document} \noindent Example Paper Title \begin{list2} \item[June 2014] ...

1

As LaRiFaRi suggested, try using a table for this purpose instead of a paragraph. The following code should provide you with the desired outcome: \documentclass{article} \begin{document} \renewcommand{\arraystretch}{1.6} % for the extra space between the rows \begin{table} \begin{tabular}{p{3cm} p{10cm}} \textbf{Responsibilities \& Goals} & ...

1

Set leftmargin to 0pt so nothing can fit there and the new line is forced: \documentclass{article} \usepackage{enumitem} %\setlist[description]{style=nextline,leftmargin=0pt} % Optional Global Setup \begin{document} \begin{description}[style=nextline,leftmargin=0pt] % Local Setup \item [Green] The color green. \item [Red] The color red. \item ...

0

If you must use enumerate, you can start the optional argument of the enumerated list with an \hspace to push the whole list farther to the right: \documentclass[leqno]{article} \usepackage{amsmath,enumerate} \begin{document} Some text before the list. \begin{enumerate}[\hspace{18pt}(P1)] \item Some text. \item Some text that goes onto two lines, so you ...

3

By default, arguments passed to a command defined by \NewDocumentCommand (which should be preferred to \DeclareDocumentCommand) are short, that is, they shouldn't contain \par (or a blank line, that's the same). You can make any of the argument long by prefixing the argument specifier with +: so \NewDocumentCommand{\WCBlock}{ O{} O{} O{} O{} O{} O{} m +O{} ...

2

Just add the wide option. Might also be an idea to play with the itemindent \documentclass[a4paper]{memoir} \usepackage{kantlipsum} \usepackage{enumitem} \begin{document} \begin{enumerate}[label=(\arabic*),wide,itemindent=\labelsep] \item \kant[1] \item \kant[1] \end{enumerate} \end{document}

4


2

You can use another overlayarea environment for the inner list: \documentclass{beamer} \begin{document} \begin{frame}{Example} These are my points: \begin{overlayarea}{\textwidth}{.8\textheight} \begin{itemize} \item<1-3> Point 1, which spans\par over two rows \only<2>{ \begin{overlayarea}{\linewidth}{1.6cm} ...

2

To know which version of enumitem is installed in your distribution try with this code \documentclass{article} \usepackage{enumitem} \edef\ver{\csname ver@enumitem.sty\endcsname} \begin{document} enumitem version \ver \end{document} The last version of enumitem is 3.5.2 if not try to update it

2

This is a solution with shortlst patched so that you can choose the number of columns (default=3), line stretch (in case lines would overlap) and \laaabelsep, the distance between label and item body, through $3$ keys: nc, il and ls: \documentclass{article} \usepackage[showframe]{geometry} \usepackage{shortlst, setspace, amsmath} \usepackage{etoolbox} ...

3

\documentclass{article} \usepackage{shortlst,amsmath} \begin{document} \setlength{\shortitemwidth}{.3\linewidth} \begin{shortenumerate} \item $\displaystyle a_n = \frac{4n^3 - (-1)^nn^2}{5n + 2n^3}$ \item $\displaystyle b_n = \frac{(n^3 - 5n)^4 - n^{12}}{n^{11}}$ \item $\displaystyle c_n = \frac{n^{n + 1}}{n!}$ \item ...

1

May be like this \begin{align*} (a)~~ a_n & = \frac{4n^3 - (-1)^nn^2}{5n + 2n^3} & (b)~~ b_n & = \frac{(n^3 - 5n)^4 - n^{12}}{n^{11}} & (c)~~ c_n & = \frac{n^{n + 1}}{n!} \\ (d)~~ e_n & = \frac{2^{(n^3)}}{n!5^{(n^2)} - n^n} & (e)~~ f_n & = \sqrt{n + \sqrt{2n}} - \sqrt{n + \sqrt{2n}}x \end{align*}

1

All you have to do is to add t (top alignment) for the \parbox: The code (I also used the >{...} syntax to simplify a little the code, but this is optional): \documentclass[12pt,a4paper]{article} \usepackage{tabularx} \usepackage{booktabs} \usepackage{enumitem} \usepackage{ragged2e} \usepackage[utf8]{inputenc} \newlist{myQuoteEnumerate}{enumerate}{1} ...

3


5

There are many incorrect inputs that do not generate an error message. (\section[z]{\section{aa}} for example). \section inside a float is an error it is just not trapped by the system (it would have taken an unreasonable amount of memory to do so at the point that latex was designed.) The math/non-math distinction is built in to tex it is much easier to ...

13

Here is a solution (it doesn't use, but I hope it will be compatible with enumitem) Note: I don't understand what the OP want to do with display math Limitation: blank lines not supported (this code will not work) \begin{mathitem} \item E=mc^2 \item e^{i\pi}+1=0 \item \text{ducks} + \text{caffeine} = \text{\url{http://i.stack.imgur.com/GVksc.gif}} ...

6

(Answer modified to (i) add a "MathDescription" environment and (ii) demonstrate compatibility with the enumitem package.) Here's a LuaLaTeX-based solution. It defines three new environments called MathItemize, MathEnumerate, and MathDescription. The environments work just like the "ordinary" itemize, enumerate, and description environments, except that all ...

5

Quick and dirty: \documentclass{article} \makeatletter \newif\if@mathitemize \newif\if@closemathitem \let\orig@item=\item \renewcommand{\item}{\if@closemathitem$\fi\orig@item\if@mathitemize\@closemathitemtrue$\fi} \newenvironment{mathitemize}{\@mathitemizetrue\itemize\@closemathitemfalse}{\$\enditemize} \makeatother \begin{document} \begin{itemize} \item ...

1

Among few options you have, one is to use nosep as the option to itemize (a feature of enumitem package). Add \raggedright additionally so that the weird justification doesn't spoil the looks. If adventurous, you may also consider using tasks package, which, is good in handling the multicolumn lists. I have added tasks environment with all possible ...

0

It is due to the package enumitem. If you disable \usepackage{enumitem}, then the extra line disappears as it works in template.tex of moderncv.

2

The key is to set afterlabel={}, so nothing is added after the empty label: \documentclass[]{article} \usepackage[inline]{enumitem} \usepackage{showframe} % just for the example \setlength{\parindent}{0pt} % just for the example \begin{document} This is a short paragraph \begin{enumerate*}[ label={}, itemjoin={~\textbullet\ }, afterlabel={}, ] ...

Top 50 recent answers are included