# Tag Info

2

Lists like enumerate or itemize cannot occur directly in as content of a tabular cell -- they must be enclosed in a \parbox or, even better, using p{somewidth} - column specifier. \documentclass[parskip=half, fleqn]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage{array} \usepackage{ragged2e}% ...

0

Thank you Christian!!! That's the answer. For all others, here is the working code: \documentclass[parskip=half, fleqn]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[T1]{fontenc} \begin{document} \begin{center} \begin{tabular}{p{.27\textwidth}|p{.27\textwidth}|p{.27\textwidth}} \multicolumn{1}{c|}{OEM} ...

3

Here's your lists with enumitem: \documentclass{article} \usepackage{enumitem} %examlist \newlist{examlist}{enumerate}{1} \setlist[examlist,1]{ align=left, labelwidth=1.5em, labelsep=0pt, leftmargin=1.5em, label=\arabic*., } \newlist{exxamlist}{enumerate}{1} \setlist[exxamlist,1]{ align=left, labelwidth=2em, labelsep=0pt, leftmargin=2em, ...

2

Yes, enumitem can do this in a jiffy. The two nested lists can be modified globally using \usepackage{enumitem,showframe} \setlist[enumerate,1]{ label={\arabic*.}, ref={\arabic*}, labelindent=0pt, widest={10.}, leftmargin=*, align=left} \setlist[enumerate,2]{ label={\alph*)}, ref={\alph*}} This sets the first enumerate level ...

0


4

Most easily: \documentclass[12pt]{article} \usepackage{ebgaramond} \usepackage[shortlabels]{enumitem} \begin{document} \begin{enumerate}[labelwidth = 0.3\linewidth, labelsep =1.5em, leftmargin = \labelwidth] \item[Nonrestrictive: ] Grey, a popular colour this season, is not becoming me. \item[Restrictive: ] The colour grey is not becoming me. ...

1

As a very dirty walkaround I now use \begin{question} \vspace{-\parskip}\vspace{-\baselineskip} \begin{enumerate}[leftmargin=*,topsep=0pt] \item What is $333+333$? \item Compute $999-333$. \end{enumerate} \end{question} This works, but it's not very nice.

0

\leftmargini=10 %(the value 10 works well for me, but you can changed it ) \begin{itemize} \item one \item two ..... \end{itemize}

7

assuming your file is UTF8 encoded the log file shows Missing character: There is no in font ptmr7t! Missing character: There is no in font ptmr7t! Missing character: There is no in font ptmr7t! as you have not told latex you are using UTF-8, so it sees a dash as three separate characters from its three bytes. All of them have the 8th bit set and the ...

1

Just to supplement @cfr, I usually use this general configuration \usepackage{enumitem} \setlist{ listparindent=\parindent, parsep=0pt, } To have paragraphs indented as in the normal doc, and to remove space between paragraphs in lists.

2

\documentclass{article} \usepackage{enumitem,kantlipsum} \begin{document} \begin{enumerate}[label=\arabic*., listparindent=1.5em] \item \kant[1-2] \item \kant[3-4] \end{enumerate} \end{document} If you want the first paragraph of an item indented also, you need something like this but will need to play around, probably, to polish it. ...

2

Here are two simple solutions with enumitem: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[showframe, nomarginpar]{geometry} \usepackage{enumitem} \usepackage{lipsum} \begin{document} \begin{enumerate}[wide=0pt] \item \lipsum[2] \item \lipsum[3] \end{enumerate} \begin{enumerate}[align=left, labelwidth=1em, ...

1

Here is a solution with the wide option of enumitem: \documentclass{article} \usepackage{enumitem} \setlist[enumerate] {labelsep = 0pt} \setlist[enumerate, 1] {wide = 0pt, labelwidth = \parindent, listparindent = \parindent} \setlist[enumerate, 2]{label =\theenumi.\arabic*, wide =\parindent, labelwidth = \parindent, leftmargin =0pt} \begin{document} Main ...

3

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} ...

4

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 ...

1

The indentation you're referring to deals with the paragraphs rather than the list items themselves. This is standard for TeX - something MS Word does not do. If you want to remove all of the regular paragraph indentations, then add \setlength{\parindent}{0pt} to you Document > Settings... > LaTeX Preamble. If you want to selectively remove the indentation ...

8

LaTeX is so not designed for this kind of document. But if you must, must. \documentclass{article} \usepackage{graphicx} \begin{document} \setlength\unitlength{1cm} \vspace*{\fill} \noindent \begin{picture}(0,0)\bfseries\large \put(4,3){\includegraphics{house}} \put(0.5,5){\parbox{5cm}{\raggedright If you are feeling generous I'd like a house, ...

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*)} ...

2

REVISED SOLUTION (takes guesswork out of parameter selection) With this revision, the guesswork is removed from the process, which is accomplished by forcing uniformity across the nested lists with topsep, parsep, and itemsep. Instead, one must just specify 9 well understood parameters, as well as the colors of each bar. \tpset=2pt\relax% uniform \topset ...

3

This is one possible solution where tikzmark is utilized here and \VerticalLine is defined that takes 3 arguments defined in the code as remarks. Code \documentclass{article} \usepackage[left=3in,top=2in]{geometry} \usepackage{tikz,amsmath,enumitem} % \setlist{nosep,before=\vspace{\baselineskip},after=\vspace{\baselineskip}} ...

4

Please always post complete documents, not just fragments. If I complete your document to \documentclass{article} \begin{document} \section{9/17/2014} \subsection{Complex Numbers and Roots of Unity} \begin{itemize} \item Content 1 \end{itemize} \subsection{Dihedral Groups} \item Content 2 \end{itemize} \end{document} Then it produces ! LaTeX Error: ...

3

itemize is really intended for bullets of various sorts, description adjusts better to large labels: \documentclass{beamer} \usetheme{Madrid} \begin{document} \begin {frame}{Upper gastro-intestinal endoscopy } \begin{description} \item[Esophagus] Four columns of grade IV esophageal varices were noted. Red colored signs present \item ...

2


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] ...

2

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] ...

1

One way to do this is to use \tikzmark to mark the specfic start and end points of the brace and the draw the brace using tikz: Notes: For the case of left brackets/braces, if you want to ensure that your braces and an other labels are with the margins, you need to move the list over to the right a bit. This can be easily done with the enumitem package ...

2

With the lineo package you can use the linenumbers environment to locally enable numbering: You can also use \nolinenumbers to disable numbering for the nested itemize if desired: Code: Use linenumbers environment \documentclass[10pt,a4paper]{article} \usepackage{lipsum} \usepackage{lineno} \begin{document} \lipsum[1] \begin{linenumbers} ...

0

The \mynobreakpar solution does met work properly for user87690 (see comment on the \mynobreakpar solution), because in his scope, the paragraph separator is zero, but the list top separator is not. So it seems better to use the macro \nolisttopbreak below instead. \makeatletter \newcommand{\nolisttopbreak}{\vspace{\topsep}\nobreak\@afterheading} ...

1

Just write \mbox{} after \begin{proof} or \begin{remark}. If you wish not to have a page break between proof (remark) heading and proof (remark) content, which is only (starts immediately with) your list, then add the \nolisttopbreak macro below. Or combine \mbox and \nolisttopbreak in a new proof environment. \makeatletter ...

3

Here's a solution that (a) uses \noindent before the start of the tabularx environment, (b) uses @{} directives to eliminate the (presumably unwanted) vertical whitespace to the left of the first column and the right of the final column, and (c) uses \multicolumn{2}{@{}p{\textwidth}@{}} instead of \multicolumn{2}{>{\hsize=2\hsize}X}. Observe that nothing ...

1

Just quit enumerate at the right place and use enumitem's [resume] option: \documentclass{article} \usepackage{lipsum} \usepackage{enumitem} \begin{document} \begin{enumerate} \item \lipsum*[1] \end{enumerate} \lipsum*[2] \begin{enumerate}[resume] \item \lipsum*[3] \end{enumerate} \end{document} If you want no indentation, either don't leave a blank ...

4

1. Tabularx First the warning from subsection 4.3 last bullet in the tabularx-manual: Do not use \multicolumn entries which cross any X column. To line up the text in the left margin, a simple solution is to load the package enumitem and use a local, optional value let the bullet flush the left margin [leftmargin=*]. To achieve your goal ...

3

If you don't plan to have lists and paragraphs in the “Assigned readings”, you can go with \documentclass{article} \usepackage{advdate} \usepackage[dayofweek]{datetime} \newdateformat{syldate}{% \twodigit{\THEMONTH}/\twodigit{\THEDAY}% \,(\shortdayofweekname {\THEDAY}{\THEMONTH}{\THEYEAR})% } \newlength{\datelength} \newenvironment{schedule} {\par ...

1

The disparity of indent arises from the fact that the 1st line indent is due to \parindent, which does not carry to successive lines. The parameter for carrying an indent to successive lines is \leftskip. I would significantly rewrite the approach (perhaps using a list environment, but to quickly achieve what you ask, I merely inserted this line ...

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

You can use the tasks package, or use the shortlst package, that I have patched to have more flexibility. I define a tabenumerate environment, which accepts two key=value arguments: nc is the number of columns (3 by default) and il is the baseline stretch (1.5 by default). The advantage with respect to other solutions is that if an item is wider than 1 ...

3

All theorem-like environments, along with center, flushleft, flushright, quote, quotation (and some others) are implemented as lists. For instance, center is defined by % latex.ltx, line 3965: \def\center{\trivlist \centering\item\relax} \def\endcenter{\endtrivlist} and \begin{center} something \item \end{center} would not raise an error, because \item ...

1

Insert a manual vertical skip back to the baseline of the \item (a total of \baselineskip plus \topsep): \documentclass[11pt]{article} \usepackage{amsthm} \newtheorem{deff}{Definition} \begin{document} \noindent \begin{tabular}{@{}p{.48\linewidth}p{.48\linewidth}@{}} \begin{itemize} \item In line. \item ...

5

First possibility: \documentclass{book} \usepackage{glossaries} \makeglossaries \newglossaryentry{website01}{name=website01,description=description01} \newglossaryentry{website02}{name=website02,description=description02} \newglossaryentry{website03}{name=website03,description=description03} ...

3

A quick and short way, without much configuration... \documentclass{book} \usepackage{glossaries} \newglossaryentry{website01}{name=website01,description={Blabla}} \newglossaryentry{website02}{name=website02,description={Another Blabla}} \makeglossaries \begin{document} \glsaddall \printglossary[title={List of websites}] \end{document}

1

You can also try with a tree. Next example is done with forest package \documentclass[tikz,border=2mm]{standalone} \usepackage{forest} \usepackage{lipsum} \begin{document} \begin{forest} for tree={grow'=0,l=2cm, anchor=west, child anchor=west, edge=->}, for descendants={node options={text width=8cm,align=left}} [root ...

1

Here is an illustration of how to use \tikz and \tikzmark to add arrows between specific points int he document. You mark the positions with \tikzmark and then invoke the \DrawArrow macro to connect each of the points. Notes: This is intended only to show you how to draw the arrows as I did not pay much attention to the text placement (which does not ...

Top 50 recent answers are included