# Tag Info

0

Better use a table for the job. For example: \documentclass{article} \usepackage{setspace} \begin{document} % \renewcommand{\arraystretch}{1.15}%height of table rows \onehalfspacing%linespacing \begin{tabular}{l p{\dimexpr\linewidth-2.5cm}} Experience & Software Developer\newline Project Manager\\[5mm] Education & M.Sc.\newline B.Sc.\\ ...

4

Edit (After update with MWE by the O.P.) The main cause is paralist which changes the settings of enumerate environment defined by enumitem. If inline lists are required, use \usepackage[inline]{enumitem} and the enumerate* environment. The \begin{enumerate}[\it i)] uses enumerate package syntax (apart from the 'wrong' \it... usage.) This can only work ...

5

The problem is the missing empty line between one paragraph and the following tlpquote. The before code is really before the environment, and so also before any par from the list code. before=xxx would print the text at the end of the preceding paragraph. \singlespacing affects a whole paragraph and when it is issued at the end of a paragraph it will "fight ...

5

I'd recommend using this: \usepackage{etoolbox} \AtBeginEnvironment{tlpquote}{\singlespacing} \AfterEndEnvironment{tlpquote}{\onehalfspacing} You also need to start your tlpquote in a new paragraph: otherwise, you'll mess up the spacing. (The same paragraph can't [easily] be both single and not-single spaced.) The paragraph starting with \noindent should ...

2

enumitem expects a key-value sequence and therefore doesn't expand the optional argument that is supplied. If you're sold on using this interface, you need to make sure that enumitem receives an expanded version of what you supply. Below I've redefined enumerate to expands its optional argument. I've also opted to use a different way of printing \APLbox ...

1

For the amount of effort to set the numeric label, you might just as well use the optional argument typically supported by \item: \documentclass{article} \usepackage{enumitem,xparse} \NewDocumentCommand{\fixeditem}{o}{% \IfNoValueTF{#1} {\item}% \fixeditem {\item[\scshape #1.]}% \fixeditem[..] } \newlist{subp}{enumerate}{1} ...

6

The back tick can be used to get the character code in numerical contexts: a or \a The numerical context can be provided by \number or the following example uses e-TeX's \numexpr for the subtraction. \documentclass{article} \newcommand*{\setcurrentlabel}[1]{\setcounter{enumi}{\numexpr#1-a\relax}} \begin{document} ...

1

The easy way is part of the paralist package (see page 3 of the manual). To achieve a) b) c) just start your enumeration with \begin{enumerate}[a)] (or \begin{inparaenum}[a)]). For capitals use A instead of a, for Roman numbers use i or I, for arabic numbers use 1. The surrounding formatting, e.g., ) can be arbitrary, you can escape the special characters ...

2

You can use ref to set a reference format distinct from label: \documentclass{article} \usepackage{enumitem} \setlist[enumerate,1]{label={(\arabic*)},ref=\arabic*} \begin{document} \begin{enumerate} \item This is the first sentence. \item\label{toprime} I will give a variant of this sentence soon. \end{enumerate} Now here's some intervening material. ...

1

It's Example*i: \documentclass{article} \usepackage{enumitem} \usepackage{xcolor} \newlist{Example}{enumerate}{2}% \setlist[Example]{label={\arabic*.}} \newlist{Example*}{enumerate*}{2}% \setlist[Example*]{itemjoin={\hspace*{2.0em}}, label={\arabic*.}} \begin{document} \textbf{Vertical List} \begin{Example} \item First V item. \item Second V ...

0

Another (equally bad) option, if you really want to use tasks, e.g., for its nice horizontal layout. \begin{question} \begin{tasks}[before-skip=\dimexpr-\topsep-\baselineskip-\parskip\relax] \task What is $333+333$? \task Compute $999-333$. \end{tasks} \end{question} Still, I wish that inline lists was the default behavior with runin heading ...

Top 50 recent answers are included