Hot answers tagged

7

You can set the third item in a [t]op-aligned tabular: \documentclass{article} \usepackage{enumitem} \setenumerate[1]{label={\alph*)}} \begin{document} \begin{enumerate} \item First item \item Second item \item \begin{tabular}[t]{@{} l *{7}{c} @{}} suppressione de & $\iota$ & $\chi$ & $\lambda$ & \ldots & $\rho$...


5

You can get a list without itemization by using the description list in the enumitem package. So for example: \usepackage{enumitem} \begin{document} \begin{description}[leftmargin=!,labelwidth=3em] \item[$C^{gen}_{gis}$] Investment cost for generation etc. \item[$C^{tran}_{lis}$] Investment cost for transmission etc. \end{description} \end{...


4

You're typing formulas in a very wrong way. From a mathematical point of view, your usage of arrows is wrong, too. \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} \begin{enumerate} \item[SV5] $\forall\,\mathbf{v} \in \mathbf{V}$, $0 \cdot \mathbf{v} = 0$ \item[SV6] $\forall\, \mathbf{v}\in \mathbf{V}$, $(-1) \cdot \mathbf{v} = -\...


3

You can use a normal table/tabular or maybe a tabbing environment (see below and here (external link)). \documentclass{article} \begin{document} \begin{tabbing} xxxxxxxxxxxxxxx \= xxx \= xxx \= xxx \= xxx \kill % Not printed. Just for reserving space. c) TextText \> $i$ \> $\chi$ \> \ldots \> $\sigma$\\ AnotherTextText \> $10$ \&...


2

\documentclass[10pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{enumitem} \usepackage{blindtext} \newenvironment{myNomenclature}{ \begin{description}[labelwidth=1cm] \setlength{\itemsep}{-2pt} }{ \end{description} } \begin{document} \blindtext \begin{myNomenclature} \item[KE]{Kinetic Energy} \item[$C_p$]{...


2

There are a few problems with your code. A trivlist environment should not contain sectional commands. The commands \trivlist and \endtrivlist can only be safely used when defining environments, not commands. Solution: just add the zero width box to the subsubsection title. \documentclass{article} \newcommand{\experiment}[1]{% \subsubsection*{\makebox[...


2

\documentclass{article} \usepackage{parskip} \usepackage{tabto}\NumTabs{11} \def\|{\tab} \begin{document} suppressione de\|\| $\iota$\|$\chi$\|$\lambda$\|\ldots\|$\rho$\|$\sigma$\|\ldots\\ que resulta expresso per\|10\|20\|30\|\ldots\|100\|200\|\ldots \end{document}


2

First solution: redefining \item. Here's a first solution which should fit better your requirements, since it should work without needing much changes to your document. It creates a customlist environment from the enumerate environment, using the enumitem package. In this customlist environment, the labels of the items are in small font, and displayed with ...


2

Welcome! This is a simple way, i.e. something that does not need packages, that works for lists that have an odd number of entries. This update uses information from this answer to make it work at all levels. \documentclass{article} % \makeatletter \newcommand{\OnlyOddItems}{\let\olditem\item \def\item##1\item{% \expandafter\stepcounter{enum\romannumeral\@...


2

It seems rather odd, but I think you are asking for \documentclass{article} \newcounter{lst} \newenvironment{lst}{% \refstepcounter{lst}% \begin{center} \begin{minipage}{.9\textwidth}}{% \end{minipage}% \makebox[.1\textwidth][r]{(\thelst)}% \end{center}} \begin{document} zzzzz \begin{lst} \label{aaa} \begin{itemize} \item zzz \item bbb \item 333 \...


1

In order to be able to nest lists in the solutions, I chose to introduce solutions with \sol instead of \item. This makes it possible to store the solutions in a sequence and to only output those we want. I define three possible choices: even, odd or list. \documentclass{article} \usepackage{xparse,enumitem} \newlist{innersolutions}{enumerate}{1} \...


1

Use the tocloft package as shown in the MWE below (note that most of the code in your MWE has nothing to do with your stated problem). % lofprob.tex SE 526765 Figure before number in LoF \documentclass{report} \usepackage{tocloft} \renewcommand{\cftfigpresnum}{Figure } % put Figure before the number \renewcommand{\cftfigaftersnum}{:} % add colon after ...


1

You need \protect\the, because of how enumitem sets the label at \setlist. \documentclass{article} \usepackage{enumitem} \newlist{mrcenum}{enumerate}{3} \setlist[mrcenum,1]{label=\arabic*.} \setlist[mrcenum,2]{label=\protect\the\numexpr\value{mrcenumi}+1\relax.\arabic*.} \setlist[mrcenum,3]{label*=\arabic*.} \begin{document} \begin{mrcenum} \item a \item ...


1

A simple alternative way to do this is with the outlines package. With the outlines package, you can have a list with 4 levels of enumeration as well as a 0th layer of regular text. The levels are referenced by \0, \1, \2, \3 and \4 from plain text to most indented. \documentclass[12pt]{article} \usepackage{outlines} \begin{document} \begin{outline}[...


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