# Tag Info

0

I'm not sure where you're at on this, but what you ask can be done. Apologize if I have missed the thrust of your question. \documentclass{article} \begin{document} \begin{enumerate} \item A \label{a} \item B \label{b} \item C \label{c} \end{enumerate} Please refer to Items~\ref{b} \& \ref{c}. \end{document}

6

The MWE as posted produces If you don't get that, check your log file for something strange.... Using the updated MWE you see all (automatic) numbering is suppressed so there is nothing to label You should never number "by hand". Just use a list and customise the display, Here I use enumerate although enumitem is newer with more features. ...

4

There were two problems I found. One is that you don't want to use a \\ after \firsthline. That's what added the initial extra row. But also, the itemize environment wants to add that initial space, which Stefan Kottwitz shows how to avoid by putting the itemize into a minipage (Preventing itemize environment to insert initial vertical space). ...

5

In practice I would add \setlength\extrarowheight{3pt} to give a bit of space under the lines. Never use \\ after \hline it will do the wrong thing. \documentclass{report} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{adjustbox} \usepackage{enumitem} \usepackage{array} ...

5

There is seldom a case for nesting a description environment inside a tabular environment like you did, especially with such a narrow column; 2em is very very very narrow (an "em" is a font-dependent length corresponding to the width of an "M" of the font used). Get rid of the tabular environment. Moreover, your modification of the description environment ...

3

enumitem provides separate label and ref components to its lists. So, you could have a different representation of your reference to an item than the label that is set for that item. Here's an example: \documentclass{article} \usepackage{enumitem}% http://ctan.org/pkg/enumitem \begin{document} \begin{enumerate}[label=\arabic*] \item Foo ...

6


2

Here's a quick and dirty way to achieve what you want. All I did was change your \SetLabelAlign{rightbox}{\hss\llap{#1\quad}} to \SetLabelAlign{rightbox}{\hspace{-19ex}\rlap{#1\quad}} Output before: Output after: The complete code becomes: \documentclass{article} \usepackage{enumitem} \begin{document} ...

1

it is a problem with the language setting of frenchb.ldf. Update your system, at least babel then it will work.

0

Top 50 recent answers are included