# Tag Info

0

You are looking for \setlength\cftbenelibnumwidth{6em} In a more general vein, \numberline can be made to never overlap numbers and titles, no matter what width is specified. (\@tempdima is the width for the number, at the time \numberline does its work.) \makeatletter \renewcommand\numberline[1]{% \begingroup \sbox\@tempboxa{#1 }% \ifdim\wd\@tempboxa<\...

0

A short solution with package enumitem: \documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate} \item Kisertet \begin{enumerate}[label=\theenumi\alph*)] \item jarja \item be \item Europat \end{enumerate} \item a \begin{enumerate}[label=\theenumi\alph*)] \item kommunizmus \item kisertete. \end{...

2

varwidth is not able to do its business when hyperref wants to set anchors. You can emulate with a tabular, if your items aren't too long. However, I also added a different approach, by simply moving the items more to the right than enumerate would do. \documentclass[11pt]{article} \usepackage[margin=1in]{geometry} \usepackage{amsmath,amssymb} \usepackage{...

1

You need to put it in a block and then center it as one unit. The easiest would be a minipage but then you need to specify the width. An alternative then is the varwidth package that defines a variable width minipage. (In my opinion it becomes hard to read and I prefer the solution without centering). \documentclass[11pt]{article} \usepackage[margin=1in]{...

2

You can just add \thesection to your first label definition: \documentclass[a4paper,12pt]{extarticle} \usepackage[utf8]{inputenc} % Section Headers \usepackage{titlesec} %\titlespacing*{<command>}{<left>}{<before-sep>}{<after-sep>} \titlespacing*{\section}{0mm}{9mm}{9mm} \titleformat{\section}{\Large\bfseries}{\arabic{section}.}{0....

2


1

The following code prints the \tableofcontents as an itemized list. I've removed the numbering of the \sections by making \numberline do nothing with it's argument (the section number). Note that you'll have to manually insert sections' titles into the ToC if you're using \section* (see Adding unnumbered sections to ToC). Of course, you can update the way \...

3

Leave the default spacing in place for the list and use \hspace{-\labelsep} for those items where you want it to disappear. \documentclass{article} \usepackage{enumitem} \begin{document} \begin{description}%[labelsep = 0ex] \item[Faint] -- but \emph{faint} is more general, as is \item[Swoon]\hspace{-\labelsep}. \end{description} \...

1

If you don't insist on shoving the table to the right, the material can be made to fit all on one line. \documentclass{article} \usepackage[T1]{fontenc} \usepackage{libertine} \usepackage[british]{babel} \usepackage{courier} \usepackage{amssymb,amsmath,mathrsfs,stmaryrd} \usepackage{enumitem,array,supertabular} \begin{document} \begin{description}[wide=0pt]...

1

You can use flalign for example to do the alignment. In the code below I just put the (i), (ii) and (iii) manually. \documentclass[a5paper]{article} \usepackage{amsmath} \begin{document} \begin{flalign} \text{(i)\enskip}&a=b&\label{e1}\\ \text{(ii)\enskip}&c=d&\label{e2}\\ \text{(iii)\enskip}&x=y&\label{e3} \end{flalign} \end{...

3

As an addendum to Zarko's answer: If I take your code and add \begin{document} and \end{document} to it and try to compile it, I, as expected, receive multiple error messages. As soon as your compiling process results in error messages, do not look at the output, but fix them first. This is especially important, since TeX only tries to recover enough to ...

0

There is an easy trick: \begin{enumerate}[(a)] \item first \item second \item third \end{enumerate} But it only works when you use \usepackage{enumerate}.

4

To long for the comment: Code, which you provide, is not complete and has many errors (see my comment below question). Consequently, we are not able to reproduce your problem. So, I kindly ask you to correct provided code to complete small document, which reproduce your problem. In this please consider my comment below your question. Don't terminate items ...

11

No packages needed really (though enumitem is the package to tame lists). Use enumerate, which will do the numbering for you, then use \item[\textbullet] to force a bullet, \item[] to have nothing, and \item to have it numbered normally. You may want to define a shortcut to \item[\textbullet] like \newcommand\bitem{\item[\textbullet]}. \documentclass{...

1

This is more a workaround than a real solution, but if you don't really need the \paragraph, you could place the "Q:" inside of the first item. \documentclass{oblivoir} \newcommand*{\firstitem}{% \refstepcounter{enumi}% \item[\textbf{Q:} (\theenumi)]% } \begin{document} \begin{enumerate}[(a)] \firstitem Lorem ipsum dolor sit amet, ...

0

0

The problem with your code as it is now is that you are referring to \ExerciseTitle which is global. When you write down all the exercises and then all the answers the last exercise changes the value of \ExerciseTitle and what you get when you expand it is that last value. You could try all sorts of fancy tricks with \expandafter and trying to force latex to ...

2

I think the fundamental issue is that you've set \parskip=12 pt or, more LaTeX-y, \parskip=1\baselineskip. IMNSHO, if that's the right value for other parts of your document, it should be the right value for list environments such as enumerate and itemize as well. If you really must annihilate the non-zero value of \parskip around list environments, you ...

0

I have edited \AnswerHeader so as to contain one extra optional parameter #1 which enables me to manually enter an exact copy of the Exercise description into the answer heading - giving a fool-proof correlation between Exercise and answer. In my estimation, cross-referencing by number does not provide a sufficiently meaningful check.

-1

@Alan Munn and @Gonzalo Medina, my beamer item balls went missing after yesterday's TeXlive update. All were fine before the update. I ended up uninstalling and reinstalling MacTeX but no help so far. And my log file is too big to be put here: Body is limited to 30000 characters; you entered 134781. How do I check incompatible package(s) in a log file so ...

1

If I well understood what you want, here is a way: \documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate} \item First question \begin{itemize}[itemsep=3em, after=\vspace*{\dimexpr 3em-\topsep-\partopsep}] \item Solve: $x^2+1=0$ \item Solve: $x^3+1=0$ \item Solve: $x^4+1=0$ \end{itemize} \item Second question \end{enumerate} \end{...

0

Here is an overkill solution using a math environment $...$: \begin{itemize} \item Pre-text $\text{middle text}$ \item Post-text \end{itemize} If you want the text to be centered, use  instead of \$

0

You could use the enumitem package to redefine the label using \makebox. \documentclass{beamer} \usepackage{enumitem} \setlist[enumerate,1]{% label=\protect\usebeamerfont{enumerate item}% \protect\usebeamercolor[fg]{enumerate item}% \insertenumlabel.% }%http://tex.stackexchange.com/a/45950 \setlist[enumerate,2]{% label={\protect\usebeamerfont{...

3

Here is a code based on eqparbox, moreenum and enumitem. I defined an \emphrbox command, which does the trick (with certain limitations). All lists environments are enumerate, and I had to change the enumerate depth (the default is 4): \documentclass{article} \usepackage[spanish]{babel} \usepackage{enumitem, moreenum} \renewlist{enumerate}{enumerate}{5} \...

2

\documentclass[twocolumn]{article} \usepackage{tabularx,parskip} \begin{document} \def\labelenumi{\Alph{enumi})} \newlength{\nombremaslargo} \settowidth{\nombremaslargo}{Hermenegilda} \def\hermanas#1{\dotfill~~\makebox[\nombremaslargo][l]{\em #1}} Juana y su hermana: \begin{enumerate} \item Con \verb-enumerate- \hermanas{Juana} \item y una macro ...

1

So far your items' labels are right aligned, Do you like to have left aligned? With use of the enumitem package you can simple left align items' labels with option align=left: \documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate}[leftmargin=*, label=\arabic*), widest=7bis), align=left] \item aaa \item bbb ...

Top 50 recent answers are included