Tag Info

New answers tagged

0

Here is a solution with the wide option of enumitem: \documentclass{article} \usepackage{enumitem} \begin{document} Main text with paragraph indent. Now the list. Notice that the list labels aligns with the left margin, the text and paragraphs thereafter with the paragraph indent \begin{enumerate}[wide = 0pt, labelwidth = \parindent, labelsep = 0pt, ...


2

The following doesn't use the enumitem package but instead mimics a list by inserting the numbering at the correct location. The reason for this approach is because your setup seems to resemble regular paragraph text. As such, fiddling with list indentations can be tricky. \documentclass{article} \setlength{\parindent}{2em} ...


1

With the enumitem package you need: label=\arabic*., % define the label align=left, % align the label to the left itemindent=\parindent,% fit the label and the space following in this width labelwidth=\parindent,% fit the label and the space following in this width labelsep=0pt, listparindent=\parindent, leftmargin=0pt,% New lines in ...


2

Here's one option using the tikzmark library from TikZ and the etoolbox to automatically add the colorized region for the description labels and the frames for the descriptions; the code needs three runs to stabilize: The code: \documentclass[12pt]{article} \usepackage{enumitem} \usepackage{etoolbox} \usepackage{tikzpagenodes} ...


2

The default list environment used by outlines is itemize. If you want to use an enumerate, you have to adjust what the outline environment uses. This is done by redefining \ol@type: \documentclass{article} \usepackage{outlines} \usepackage{enumitem} \setlist[enumerate,1]{label=A\arabic*.} \setlist[enumerate,2]{label=B(\alph*)} ...


3

One way would be to use \after to add a \vspace{} to alter the spacing after the list is output. The first list is the default settings, the second adds a topsep=1cm and the third has topsep=1cm,after=\vspace*{-1cm}: Code: \documentclass{article} \usepackage{enumitem} \newcommand*{\MyText}{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam ...


2

One simple way is to enclose the list inside a minipage so that the spaces are gobbled. \begin{tabular}{L!{\VRule}R} 10/2011-03/2014 & \textbf{Uni of Witchcraft}\\ lorem ipsum & just a dummy line\\ & \begin{minipage}[t]{\linewidth} \begin{itemize}[nosep] ...


1

In your case it suffices to remove any specification of itemindent: \documentclass{article} \usepackage{mathtools,enumitem} \begin{document} \begin{enumerate}[label = {\arabic*)}] \item before \begin{equation*} A \end{equation*} after \end{enumerate} \end{document}


2

You can also use [wide=0\parindent]: \documentclass{article} \usepackage{enumitem} \begin{document} \section{Foo} \subsection{Bar} \subsection{Foobar} \paragraph{Fubar} \begin{description}[wide=0\parindent] \item[First Item] The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. ...


4

Use \leftmargin=0pt to shift the indentation to the left boundary, this works in multiply nested lists. \documentclass{article} \usepackage{enumitem} \begin{document} \section{Foo} \subsection{Bar} \subsection{Foobar} \paragraph{Fubar} \begin{itemize} \item \begin{description}[leftmargin=0pt] ...


4

You can take shelter under \before key and do some math: \usepackage{calc} \newlength{\mylen} \setlength{\mylen}{\widthof{1.1.~}} \usepackage[inline]{enumitem} \newlist{choices}{enumerate*}{1} \setlist[choices]{itemjoin = \hspace{0.75in},before=\noindent\hspace{\mylen},label=(\Alph*)} Code: \documentclass[11pt, twoside]{article} \usepackage[top=1in, ...


5

It is itemjoin. Here the distance between the items can be controlled. \documentclass{article} \usepackage[inline]{enumitem} \newlist{choices}{enumerate*}{1} \setlist[choices]{itemjoin = \hspace{1.125in}, label=(\Alph*)} \begin{document} \begin{choices} \item Test \item Test \end{choices} \end{document}


2

You have to split the number at the period and use \numberstringnum on the two parts. \documentclass{article} \usepackage{fmtcount,xparse} \NewDocumentCommand{\spellamount}{>{\SplitArgument{1}{.}}m}{% \dospellamount#1% } \NewDocumentCommand{\dospellamount}{mm}{% \numberstringnum{#1} \IfValueT{#2}{% \spellcomma\ ...


3

As Bernard mentioned, if the list is a new one, you need to set at least the label because, in this case, you are creating a new list from scratch. If you just want to alter attributes of the default lists, you can instead specify enumerate, for example. \documentclass{article} \usepackage{enumitem} \setlist[enumerate,1]{leftmargin=0pt}% if you just want ...


1

A solution, if I uderstand well what you want, consists in making the sublist wide, but with a left alignment. Here are two ways, differing in the leftmargin of the sublist: \documentclass[11pt, a4paper]{article} \usepackage{enumitem} \newlist{test}{enumerate}{2} \setlist[test, 1]{label = (\alph*), wide = 0pt} \setlist[test, 2]{label = \roman*., wide = ...


3

As David says above you are much better off using a list and letting LaTeX take care of the formatting and numbering. Doing it this way is easier, both to read and to write and, the layout is automatically uniform and easy to change. For this I would use the enumitem package to obtain using: \documentclass{article} \usepackage{enumitem} ...


5

\documentclass[10pt]{amsart} \usepackage{} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \begin{document} \renewcommand\theenumi{\alph{enumi}} \renewcommand\labelenumi{\theenumi.)} \begin{enumerate} \item The domain of $f$ is $\mathbb{R}$. \item $y = 0$ is the equation of the asymptote to the graph of $f$. \item ...



Top 50 recent answers are included