# Tag Info

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

1

If you only use the acronym package option, as I assume from your code above, using \printglossary[type=acronym,title={List of Abbreviations}] instead of \printglossaries should do the trick. If you use multiple glossaries, you will have to repeat the \printglossary[] command for each glossary.

0

You can see from this question How to draw this lines with tikzmark a scheme shows the different horizontal lengths in the enumirate environment

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

1

solved it on my own using {enumerate}: \begin{enumerate} \item Point A \begin{enumerate}[label*=\arabic*.] \item Point A1 \item Point A2 \end{enumerate} \item Point B \begin{enumerate}[label*=\arabic*.] \item Point B \begin{enumerate}[label*=\arabic*.] \item Point B1a ...

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

1

Your sample produces blank lines because of how web page works. If you look at generated html, you could see: <dl class="list1"><dt class="list"> * </dt><dd class="list"> <!--l. 8--><p class="noindent" >one </p></dd><dt class="list"> * </dt><dd class="list"> <!--l. ...

2


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

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

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

1

No need of abusing the \cventry here. Simply do this: \documentclass[12pt,letterpaper,sans]{moderncv} \moderncvstyle{classic} \moderncvcolor{red} \usepackage[scale=0.85]{geometry} \usepackage{multicol} \firstname{Joe} \familyname{} \begin{document} \section{Section} \hspace*{\fill} \begin{minipage}{\maincolumnwidth} \begin{multicols}{2} ...

1

I haven't tested this extensively because I am not sure of your use case and your MWE doesn't give many clues. Still, I'm fairly confident that it works as you want because the MWE below produces: In particular, note the spacing, line breaks and special characters that are behaving as you wanted. Moreover, given the comments above, I checked that your ...

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

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

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

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

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

1

\documentclass{article} \usepackage[margin = 0.75in]{geometry} \begin{document} \section*{ABC} abc \section*{ABC} This is a really long paragraph depicting how \LaTeX\ typesets documents. This is a really long paragraph depicting how \LaTeX\ typesets documents. This is a really long paragraph depicting how \LaTeX\ typesets documents. This is a really long ...

1

Here is an approach using the multicol package. The code below defines a branch environment for dealing with your items when they split into two (or more) branches. Inside this environment you can use \newleaf to finish one leaf and start the next. This will automatically take care of the \item numbers for you. This is what the code produces: ...and ...

1

Preamble You have got an error in you current document: You define an environment, which name is an command (\newenvironment{\Exercises}). I have two ideas how to realize this, which are basically what you have done. But somehow, you mix them up, I think. First idea: Manual counter You create a manual counter for the exercises an selfmade label for them, ...

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

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

0

Here's a kluge. It replaces itemize with a lookalike, instead of trying to fiddle around with wrapfig. \documentclass{article} %put this code in preamble \newlength{\bulletwidth}\settowidth{\bulletwidth}{$\bullet$} \newcommand{\mitem}{\setlength{\leftskip}{\leftmargin}\hspace*{-\labelsep}\hspace*{-\bulletwidth}$\bullet$\hspace*{\labelsep}} ...

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

1

Start the second level lists with a empty item \item[] ([] is very important) or define a new list that do this like \newenvironment{mylist}[1][]{\begin{enumerate}[#1]\item[]}{\end{enumerate}} Thus, the normal space of the lists does not change and the options of the enumitem package can be used. \begin{mylist}[<enumitem options>] \item First ...

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

1

Here is a solution using enumitem and etoolbox. I also changed the centred ‘Assignment’s, manually numbered, to sections, automatically numbered and referable, with the titlesec package. \documentclass{article} \usepackage[shortlabels]{enumitem} \setlength{\parindent}{0pt} \setlength{\parskip}{1ex} \usepackage{etoolbox} \newenvironment{problems}{% ...

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

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

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

1

Try this and see \uplevel{ \begin{choices} \choice \choice \choice \choice \end{choices}}

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

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

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

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}

1

A slightly improved variant, that prevents having to write textbullet for each cell: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{array, booktabs} \newcommand\head[1]{ \multicolumn{1}{l}{\phantom{\textbullet\hskip\itemsep}#1}} \begin{document} \begin{table}[H] \centering\setlength\extrarowheight{3pt} ...

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

1

Next code shows a solution with foreach. The command placetext has two parameters, ths first one is the list of labels to distribute and the second the cicle radius. The first foreach counts total items number and the second draws them along the circle. \documentclass[tikz]{standalone} \usepackage[utf8]{inputenx} \usetikzlibrary{decorations.text} ...

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

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

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

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

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

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}

0

You forgot to load amsmath (or better, mathtools), where \dfrac is defined and delete the blank lines: \documentclass{article} \usepackage{tasks} \usepackage{mathtools} \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 ...

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

1

What about changing the itemize environment for a enumerate one. Then we personalize this particular environment just to not interfere with other enumerate environtments. Just like this: \documentclass{article} \usepackage{amsthm} \usepackage{enumitem} \newtheorem{proposition}{Proposition} \begin{document} \begin{proposition} An elliptic curve given by ...

3

You should use enumitem: \documentclass{article} \usepackage{amsthm} \usepackage{enumitem} \newtheorem{proposition}{Proposition} \newenvironment{conditions}[1][\alph] {\begin{enumerate}[label=\upshape(#1*)]} {\end{enumerate}} \begin{document} \begin{proposition} An elliptic curve given by a Weierstrass equation \begin{conditions} \item is nonsingular ...

1

How about this? \documentclass{article} \usepackage{amsthm} \newtheorem{proposition}{Proposition} \begin{document} \begin{proposition} An elliptic curve given by a Weierstrass equation \begin{enumerate} \renewcommand\labelenumi{\normalfont(\alph{enumi})} \item is nonsingular iff $\Delta_E\neq0$. \item has a node iff $\Delta_E=0$ and $c_4\neq0$. \item has a ...

Top 50 recent answers are included