Tag Info

Hot answers tagged

7

You can use multicol package. \documentclass[12pt,letterpaper]{article} \usepackage{enumitem,multicol} \begin{document} \section*{Section 01} \begin{itemize}[noitemsep,nolistsep] \begin{multicols}{2} \item item 1 \item item 2 \item item 3 \item item 4 \item item 5 \end{multicols} \end{itemize} \end{document}


6

You can define you own list parser using the etoolbox package: Notes: You can have commas in the list elements, and still use a comma as a separator by applying an additional grouping as illustrated in the second MWE below. Code: Using | as a separator \documentclass{article} \usepackage{etoolbox} \DeclareListParser{\MyListParser}{|} ...


6

Simply change the descripton environment for an enumerate environment: \documentclass[12pt, letter]{article} \newenvironment{specifications}{% \let\olditem\item% \renewcommand\item[2][]{\olditem##1\dotfill##2}% \begin{enumerate}}{\end{enumerate}% } \begin{document} \begin{specifications} \item[Input Voltage Range] 36-72 V DC \item[Input ...


6

That is french mocking about, try adding this \addto\captionsenglish{ \renewcommand{\labelitemi}{$\bullet$} } Basically french alters lists, but english does not (AFAIR). So we add such a switch back to english Edit, to ignore french all together, use \usepackage[shortlabels]{enumitem} \setlist[itemize]{label=\textbullet} enumitem is a very good ...


6

Use \frenchbsetup{StandardItemLabels=true}, so babel-french will not use French style itemized lists. \documentclass[10pt,a4paper]{report} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,french]{babel} \usepackage{amsmath,amsthm} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{enumerate} ...


5

Use the \intertext command foralign for any text you wish to have between aligned equations. i.e. your MWE would become: \documentclass{standalone} \usepackage{amsmath} \begin{document} \begin{itemize} \item This is the expansion for $f$: \begin{align} f(X) &= \sum_n {t_n+x_n-s_n-2} X^n \intertext{\item This is the expansion for $g$:} g(X) ...


5

The following solution worked for me. However, I am not sure if it is the best solution. \documentclass[12pt,letterpaper]{article} \usepackage{enumitem} \usepackage{multicol} \begin{document} \section*{Section 01} \begin{multicols}{2} \begin{itemize}[noitemsep,nolistsep] \item item 1 \item item 2 \item item 3 \item ...


5

[Edit I'm editting this to make the solution clearer, inlight of the evolution of the both the question and its solution. As a result, the comments below may not make much sense...] The code below makes it possible to do what you want using just the enumitem package. In particular, etaremune is no longer needed because we trick enumerate into behaving like ...


4

You need a redefinition of the definitions environment to suppress some hard-coded line break commands and to add the colon: \documentclass{isov2} \makeatletter \renewenvironment{definitions}{% \setcounter{cl@level}{6} \ifnum\value{sssssclause}=0 \setcounter{cl@level}{5} \fi \ifnum\value{ssssclause}=0 \setcounter{cl@level}{4} \fi ...


4

One option is to use \raggedright inside the environment (to keep the effect local as requested): \documentclass[12pt,letterpaper]{article} \usepackage{enumitem} \usepackage{multicol} \begin{document} \section*{Section 01} \begin{multicols}{2} \begin{itemize}[noitemsep,nolistsep] \raggedright \item this is a description of item number one ...


4

Here is another solution which does not have to define a new \item command. \documentclass[12pt,a4paper]{article} \usepackage{amsmath,amssymb}%for \dfrac \usepackage[inline]{enumitem}%for enviroment enumerate* \usepackage{tabto}%for \tab and \NumTabs \begin{document} \begin{enumerate}[start=44] \item Evaluate each of the following if $x$ is a non-zero real ...


4

You need to expand the list you process twice and only process the list once: \documentclass{scrreprt} \usepackage{filecontents} \begin{filecontents*}{usecases.csv} ucname,trigger test,This is|A test test2,Barely test3,No List test4,List|Again|Here \end{filecontents*} \usepackage{csvsimple} \usepackage{etoolbox} \DeclareListParser{\ListParser}{|} ...


4

An alternative might be eating off the line width as the item label width increases which also saves a bit of horizontal space. \documentclass[preview, border=0.5cm]{standalone} \usepackage{enumitem,calc} \begin{document} \begin{enumerate}[noitemsep, label = {{\protect\makebox[0.5in - \widthof{\arabic*}]{\hrulefill}\arabic*.}}, ...


3

You can use the iflang package, together with enumitem, instead of enumerate. Note that maybe you'll also have to specify spacings as frenchbhands over to enumitem. If you want to come back with the bullet symbol, even in the French part, just use \setlistitemize,1]{label=\textbullet}. Btw, I think the itemize marker in french should be an endash. ...


3

Not sure I understood what your problem consists in, exactly, but series work, even inside another environment: \documentclass{scrartcl} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{enumitem} \begin{document} \begin{center} \begin{enumerate}[label=\alph*), series=edu] \item One \item Two ...


3

You can give three option for fonts: font = <options> → affects whole caption labelfont = <options> → affects only the caption label and separator and textfont = <options> → affects only the caption text What you need is font = bf (instead of labelfont=bf) in \usepackage[labelsep=newline,% line break after label ...


3

This is an explanation of the problem rather than a full solution. As Joseph Wright suggested this problem would be much easier to understand with a proper minimal working example. In fact, if you cut down to a MWE then it becomes clear what the problem is: as one might suspect, the xparse package is completely innocent. Here is (close to) a MWE. To save ...


3

This is easy with the exsheets package and the tasks package. The following example hopefully is self-explaining: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{mathtools} \DeclarePairedDelimiter\abs{\lvert}{\rvert} \usepackage{exsheets}% loads the `tasks' package \SetupExSheets{ headings = runin-nr } \settasks{ counter-format = tsk[a]. ...


3

Remove the empty line at the beginning before the first \task and the error is gone. \documentclass{article} \usepackage{tasks,amsmath} \begin{document} \settasks{counter-format = tsk/} \begin{tasks}(2) \task $f(x)=3x+4$ \task $f(x)=2x^4+3x^3-x^2+17$ \task $f(x)=\cos(x)\sin(x)$ \task $f(x)=\dfrac{4x}{\sqrt{x}}$ \task $f(x)=x^2-1$ \task ...


3

With etaremune you can use some keys similar to the ones of enumitem: \documentclass{article} \usepackage{etaremune} \begin{document} Some text before \begin{etaremune}[topsep=0pt,itemsep=0pt,partopsep=0pt,parsep=0pt] \item Third item \item Second item \item First item \end{etaremune} Some text after \end{document}


3

A simple redefinition of the symbols environment (a list) will do: \documentclass{isov2} \renewenvironment{symbols}{\list{}% {\itemsep 0pt \parsep 0pt \itemindent 0em \leftmargin 5em \labelsep 1em \labelwidth 4em \let\makelabel\symbollabel}}% {\endlist} \begin{document} Some text here \begin{symbols} \symboldef{ACSE}{association control ...


2

Easiest way: \documentclass{article} \usepackage{booktabs, textcomp} \begin{document} \begin{tabular}{ll} \toprule Feature eines Signales & Feature eines Bildes \\ \midrule \textbullet{} Der Peak des Spektrals & \textbullet{} Der Peak des Spektrals \\ \textbullet{} Der Peak der Autokorrelation & \textbullet{} Die Größe ...


2

With enumitem: \documentclass{article} \usepackage{enumitem} \begin{document} \addtolength{\leftskip}{10mm} \textbf{Short text in here} \begin{itemize}[leftmargin=\dimexpr\parindent+10mm+0.5\labelwidth\relax] \item A description of.. \item Another description of.. \end{itemize} \par \end{document} But, I don't understand some thing. ...


2

I was with the same problem. But I figured it out you could use the "\bullet" command and change its color: \begin{itemize} \item[\textcolor{green}{$\bullet$}] Pro: \item[\textcolor{red}{$\bullet$}] Con: \item[\textcolor{blue}{$\bullet$}] Neutral: \end{itemize} Result: If you want to create a new command with this \textcolor{blue}{$\bullet$} it ...


2

FWIW, wrapfigure works out of the box in ConTeXt. So, it is clearly not a limitation of TeX. \setuppapersize[A5] \useexternalfigure[ctanlion][http://www.ctan.org/lion/ctan_lion_350x350.png][width=3cm] \starttext \placefigure[left,2*hang]{Test} {\externalfigure[ctanlion]} \startitemize[n] \item \input ward \item \input ward \item \input ward ...


2

I'm not sure I understand your question, either, but it seems straightforward to modify the MWE to do what you appear to want, if I've understood correctly, without the need for intervention by the end user: \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{enumitem} \usepackage{xparse} \DeclareDocumentEnvironment ...


2

Here's an approach with xparse and expl3. The command \parselist has an optional argument (the delimiter, default |) and two mandatory ones the column name or, in general, the control sequence containing the delimited data and the code to be executed, where #1 stands for the current item (after splitting). In the example below, the marker is ##1 because ...


2

I think it might be better not to make the Problem ... lists, but rather theorems. Then you do not have to add those "empty" items. Using ntheorem we can also build the list configuration into the surrounding env: \documentclass[a4paper]{memoir} \usepackage{enumitem} \usepackage{ntheorem} \theoremstyle{break} \theorembodyfont{\normalfont} ...


2

I haven't found anything like this at the enumitem documentation and I would also suggest daleif's answer using theorems. But I was able to answer your question by redefining \item before a 1st level enumerate environment and redefining it back to it's original definition after the environment. It also works with a simple ~, you don't need a \mbox{} ...


2

Let's see what happens when you type \begin{itemize. Now that should turn into \itemize, whereas \end{itemize} turns to \enditemize. Let's see what \itemize does: \def\itemize{% \ifnum \@itemdepth >\thr@@\@toodeep\else \advance\@itemdepth\@ne \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% \expandafter \list ...



Only top voted, non community-wiki answers of a minimum length are eligible