I need to insert a line between two particular items in a list. The way I do it (below) creates too much vertical space around the line, and the line is not in the middle between bottom of previous item and top of next item. How can I fix it?  \begin{itemize}     \item text     \item text\\           \rule[0cm]{8cm}{0.4pt}     \item text     \item text \end{itemize}   I'd like the horizontal line to be evenly spaced between bottom of previous item and top of next item. The vertical distance between items separated by line can be increased a bit to accommodate the line.
121988
This is a follow up to . I would like to control the length of the horizontal line to be the same widths as the widest \item in the list. Below, I am manually passing in the text on which to base the length. While that is an acceptable workaround, I thought I'd see if there was some easy way to eliminate the parameter to \sepitem.  Code: \documentclass{article}  \usepackage{enumitem} \usepackage{xcolor} \usepackage{calc}  %% Adapted from  %%    https://tex.stackexchange.com/questions/341614/ %%            insert-small-line-above-an-item-in-a-list-without-adding-extra-space \newcommand\sepitem[1]{\item\raisebox{1.90ex}[0pt]{\rlap{\color{orange}\rule{\widthof{#1}}{0.8pt}}}}  \newcommand{\ShortText}{Short text.} \newcommand{\LongText}{Somewhat wider text.}  \begin{document} \begin{enumerate}[noitemsep] \item \ShortText \item \ShortText \sepitem{\ShortText}A \end{enumerate} %% ------------------- \begin{enumerate}[noitemsep] \item \LongText \item \ShortText \sepitem{\LongText}A \end{enumerate}  \end{document}
31225
So I have a generic list, and an oldIndex and a newIndex value.  I want to move the item at oldIndex, to newIndex...as simply as possible.  Any suggestions?  Note  The item should be end up between the items at (newIndex - 1) and newIndex before it was removed.
92468
I would like items in a list to have a hanging indent (that is, for all lines after the first to be indented by a space or more),  but the traditional \hangindent command doesn't work for this.  \documentclass{article}  \begin{document} \hangindent=1cm This line of text has a hanging indent that looks fine, as long as it is outside a list environment. \begin{enumerate} \item \hangindent=1cm This line is inside a list environment and doesn't have a hanging indent- how can I add one? \end{enumerate} \end{document}     How can I add a hanging indent within a list?
88892
I would like the whitespace between two items within a table to be filled with dots.  Please consider the following picture to get the idea.    So far I tried to achieve this output with the following sequence.  %!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode \documentclass[10pt]{article} \usepackage{booktabs}  \begin{document}  \begin{table}[!htbp]  \begin{tabular}{lrrr}         \toprule     Anzahl &amp; Behandlungstyp &amp; Einzelpreis &amp; Gesamtpreis\\         \midrule     10\dotfill&amp; Manuelle Therapie\dotfill &amp; €32,63\dotfill &amp; €326,30\\     10\dotfill &amp;Krankengymastik\dotfill &amp;€26,93\dotfill &amp;€269,30\\         \bottomrule     \end{tabular}  \end{table}  \end{document}   This, however, yields an unsatisfactory output, where undotted gaps are left over.   How to achieve a continuous dotted line without white spaces like in the first picture?
124172
I have a simple itemized list like the following MWE:  \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{hyperref} \usepackage{lmodern} \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage{lipsum} \begin{document} \begin{itemize} \item \href{http://google.com}{[ID1]: \underline{\lipsum[1]}} \end{itemize} \end{document}   This unfortunately doesn't break the block of text as expected, as shown below:    How can I fix this item so it will line break properly?
92662
(A) How do I shift the footnote vertically down 1 mm or so? (B) I want to introduce some additional space in between one foot note and the next one, and between the first footnote and the line that separates it from the regular text.  \vspace{1mm} inside the \footnote{} command does not solve this.  Using XeTex  \documentclass[12pt]{article} \usepackage[top = 1in, bottom = 1in, left = 1in, right = 1in]{geometry} \usepackage{amsmath, booktabs, graphicx, setspace} \usepackage[T1]{fontenc} \usepackage[hang]{footmisc} \begin{document} \begin{spacing}{1.9} TEXT.\footnote{\vspace{1mm} my footnote is here.} \end{spacing} \end{document}   (C) How do I prevent a long footnote from partly continuing in the next page? (D) I must also find a way to linebreak in footnotes without justifying the first line.  The footmisc package (with the 'hang' option) only makes the footnote symbol flush to the left. (E) I would actually like to put it a couple points away from the left margin. (F) And make the footnote number bold.
81005
I did the following glossary. However, when adding it in my document, the space between items isn't always the same (see pictures).  \documentclass[french]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{graphicx} \usepackage{geometry} \usepackage{multirow} \usepackage{fancyhdr} \usepackage{drawstack} \usepackage{nameref} % For reference \usepackage{hyperref} % url reference \usepackage{tikz} % State diagram \usepackage{amsmath} % For matrix in state machine \usepackage{xcolor} \usepackage{wrapfig} \usepackage{amsthm} \usepackage[justification=centering]{caption} \usepackage{lastpage} % To add lastpage référence. \usepackage{siunitx} % For microsecond \usepackage[explicit]{titlesec} \usepackage{booktabs} \usepackage{tabularx} \usetikzlibrary{chains} \usepackage{epstopdf} \usepackage{lmodern} \usepackage{booktabs} \usepackage{etoolbox} \usepackage[most]{tcolorbox} \usepackage[toc, numberedsection,nonumberlist]{glossaries} \usepackage{chngcntr} % For table of figures section number  \makeglossaries  \begin{document}  \newglossaryentry{RIP}{ name=RIP, description={Routing Information Protocol, un protocol de routage dynamique} } \newglossaryentry{OSPF}{ name=OSPF, description={Open Shortless Path Finder} } \newglossaryentry{Hop}{ name=Hop, description={De l'anglais, saut. Décrit le nombre de passage au travers d'un routeur} } \newglossaryentry{vlsm}{ name=VLSM, description={Variable Length Subnet Mask, sous réseau de taille variable} } \newglossaryentry{RFC}{ name=RFC, description={Request for Comment, série de documents établis par l'IETF et l'ISOC   décrivant les aspects techniques d'Internet ou de différents matériels informatiques} } \newglossaryentry{IETF}{ name=IETF, description={Internet Enginnering Task Force, organisation développant des   standards pour Internet} } \newglossaryentry{ISOC}{ name=ISOC, description={Internet Society, organisation pour promouvoir et coordonner le   développement des réseaux} }  \newglossaryentry{sa}{ name=SA, description={Système autonome (Autonomous System). Ce dit d'un réseau avec   une administration commune, comme le réseau Switch} } \newglossaryentry{IGP}{ name=IGP, description={Interior Gateway Protocol, type de protocole utilisé dans un   système autonome} } \newglossaryentry{EGP}{ name=EGP, description={Exterior Gateway Protocol, type de protocole utilisé entre des   réseaux autonomes} } \newglossaryentry{NDP}{ name=NDP, description={Neighbor Discovery Protocol} } \newglossaryentry{ARB}{ name=ARB, description={Area Border Router, routeur reliant deux zones différentes dans un système autonome utlisant OSPF comme protocole de routage dynamique.} } \newglossaryentry{ASBR}{ name=ASBR, description={AS Boundery Router, routeur échangeant des informations avec   des sources en dehors du système autonome.} } \glsaddall \printglossaries  \end{document}
75207
Does anyone know how to get line spacing in a paragraph to be greater than one and half spacing and less than double spacing? I tried \renewcommand{\baselinestretch}{value} but it did not work.
92809
My bibliography (made with biblatex) has all items close to each other. I would like to introduce some space between them, e.g. half a line.  How can I do this?
33641
I have the following LaTeX code:  \documentclass{article} \begin{document} \begin{description}  \item[foo] bar  \item[baz]  bang  \end{description}  \end{document}   and it produces the following PDF:    I want the definition of the item (in this case the "bar" and the "bang") to be on a separate line from the item (eg the "foo" and the "baz").  However this is part of a system that autogenerates documention, so I can't change the source code. I can put style things in the header of each documention, so I need some sort of LaTeX command that will make all definition list (in LaTeX speak, a "descripition list") go onto a new line.
110129
I would like to insert some explanatory text between two items of a numbered list.   Is there a command that can do this in the same way as the \intertext command in an align environment?
81904
I'd like to have a horizontal line extending from the end of the text on a line to the right margin. So far I've found \hrulefill and \leaders\hrule\hfill, but these draw a line that's flush with the baseline of my text — how can I get it to be vertically centered?
52703
In Beamer, \begin{itemize}[&lt;+-&gt;] causes items to appear one-by-one. However, item 1 is visible starting from the first slide itself. Is there a way to insert a pause before the first item too?  of course I can manually type  \item&lt;2-&gt; first \item&lt;3-&gt; second ...   but is there a shortcut way to specify this?
5651
I want to select non-consecutive items on a list, without using a mouse/trackpad - there should be no clicks involved.  In Windows and Linux (at least Ubuntu) an item can be selected using Space/ button, which, in combination with arrows and Ctrl key allows me to select multiple items in any environment (file manager, IDE etc.) - e.g.  Enter a directory -> hold Ctrl -> down arrow twice -> press Space -> down arrow twice -> press Space.  Now I should have items 1, 3 and 5 selected. Is there a way to do the same thing in OS X?  PS. Sorry for such a verbose description, but so far every answer I encountered advices using Command + Click, and this is something I don't want to do.
89430
The following MWE:  \documentclass[]{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb}  \begin{document}  \begin{equation} \dfrac{dN}{da}=\dfrac{1}{C}\left[\dfrac{\cos\left(\dfrac{\pi a}{W}\right)}{\pi a\Delta\sigma^2}\right]^{m/2} \end{equation}  \end{document}   which is extracted from a much larger document produces the following result:   How do I fix the vertical spacing of the item within the bracket which has the huge space underneath the denominator of the fraction?
39960
I use \listoffigures and \listoftables. Both commands create line breaks for items from different chapters. How can you stop that?  Screenshot:
5636
I've got a long line that I want to insert a space every 4 characters, on a single lone line of solid text to make it easier to read, what's the simplest way to do this? also I should be able to input the line from a pipe. e.g.  echo "foobarbazblargblurg" | &lt;some command here&gt;   gives  foob arba zbla rgbl urg