Tag Info

Hot answers tagged

16

Have a look for example at the easylistpackage. It simplifies the process by defining one active character whose number of occurences defines the level of this specific list item. \documentclass{article} \usepackage{easylist} \begin{document} \begin{easylist} § First level §§ Second level §§§ Third level §§§ Again third level §§§§ Now fourth level § First ...


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


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


5

You can use \setlist{before=\singlespacing,after=\doublespacing} Code: \documentclass{article} \usepackage{enumitem} \usepackage{lipsum} \usepackage{setspace} \setlist{before=\singlespacing,after=\doublespacing} \doublespacing \begin{document} \lipsum[1] \begin{enumerate} \item \lipsum[1] \item \lipsum[1] \end{enumerate} \lipsum[1] ...


3

You can use before=<code> and / or after=<code> to put the space/some latex code. If you use \setlist{nosep,after=\vspace{\baselineskip}} we get Code: \documentclass{article} \usepackage{enumitem} \setlist{nosep,after=\vspace{\baselineskip}} \begin{document} I like the lack of vertical space between the end of this paragraph and the ...


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


3

\documentclass{article} \newcommand{\ol}[1]{\begin{enumerate}#1\end{enumerate}} \newcommand{\ul}[1]{\begin{itemize}#1\end{itemize}} \newcommand{\li}[1]{\item{#1}} \newlength{\shiftwidth} \setlength{\shiftwidth}{3em} \newcommand{\info}[1]{\par\hspace*{#1\shiftwidth}$\bullet$\quad} \begin{document} Simple ways to make lists less verbosely in \LaTeX: ...


3

You will need the customizable lists (enumitem) module. Once you add that (in Document > Settings> Modules), to resume an enumeration, go to the dropdown list in the upper-right (that probably says either "enumerate" or "standard") and just "Enumerate-Resume" Here is an example .lyx file (requires LyX 2.1 to open): #LyX 2.2 created this file. For more info ...


2

The babel package performs various tasks in a delayed manner, i.e., when the \begin{document} instruction is encountered. To get your (re)definition of \labelitemi to work, you also need to delay it. Thus, replace \renewcommand{\labelitemi}{$\bullet$} with \AtBeginDocument{\renewcommand{\labelitemi}{$\bullet$}} or, better yet, with ...


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


2

You can refer to the current enumeration counter by \@enumctr: \documentclass{article} \makeatletter \newcommand{\skipitems}[1]{% \addtocounter{\@enumctr}{#1}% } \makeatother \begin{document} \begin{enumerate} \item Outer \begin{enumerate} \item Inner \item Inner again \skipitems{2} \item Inner again \skipitems{3} \item Inner ...


2

Instead of using a package, you can also use the built-in features and define a new environment \newenvironment{tight_enumerate}{ \begin{enumerate} \setlength{\itemsep}{0pt} \setlength{\parskip}{0pt} }{\end{enumerate}} This will nicely squeeze the items close together. If you need them even closer, you can use negative numbers, but be careful not to ...


1

enumitem offers ready-made options for eliminating the space between items and paragraphs within the list (noitemsep) or all vertical spacing (nosep): \documentclass[11pt]{article} \usepackage{enumitem, kantlipsum} \begin{document} \paragraph{List without vertical spacing between items and paragraphs:} \kant[2] \begin{enumerate}[noitemsep] ...


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


1

This is a response to a comment on Jaun's answer. It's a modified version of his suggestion that works with description environments. % ========================================================== % Adapted from TeX.StackExchange.com user Juan A. Navarro's % solution for itemize as seen at % http://tex.stackexchange.com/a/4493/327 % ...


1

It depends on what you want. If there is a lot of text between the two points, and the enumerate is somehow "within the text" (if you see what I mean), then you should enumerate-resume as scottkosty says. But if you want the text between the bullet points to be "within the enumerate", then this is supported in LyX as follows, without the need for extra ...


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


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.


1

I hope I understood your question correctly, if so, the following gives you an environment initemize which simply negates the additional one-line space given when using style=nextline: \documentclass{article} \usepackage{enumitem} \setlist[description]{style=nextline} \newenvironment{initemize}{% \vspace{-\baselineskip} \begin{itemize}% }{% ...


1

to start a new list within a description (or other list) environment, all that's required is to put something invisible on the description line before the subsidiary itemize. \leavevmode is used for this purpose in quite a few list environments. to start the text of a description on a new line, something invisible must be placed on the first line. then ...


1

You can remove the stretchability between the items with enumitem: \documentclass{scrbook} \usepackage{enumitem} \usepackage{lipsum} \begin{document} \lipsum[1] \lipsum*[2] \begin{itemize}[itemsep=1\itemsep,parsep=1\parsep,partopsep=1\partopsep,topsep=1\topsep] \item First item \item Second Item \item Third Item \item Fourth Item \item Fifth Item ...


1

\documentclass{beamer} \setbeamerfont{itemize/enumerate subbody}{size=\normalsize} %to set the body size \setbeamertemplate{itemize subitem}{\normalsize\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleright$}} %to set the symbol size \begin{document} \begin{frame} \begin{itemize} \item Top level \begin{itemize} \item Lower level (how to make it ...



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