I have successfully found out how to add space between entries in the list of contents, but how can I make it work with the lists of figures ad tables?    \documentclass{report} \usepackage[a4paper,bindingoffset=0.5cm, left=2.6cm,right=2.6cm,top=2.6cm,bottom=3cm, footskip=.67cm]{geometry}  \usepackage{etoolbox} \preto\chapter{%     \ifnum\value{chapter}=0\addtocontents{toc}{\vskip0.1pt}\fi     }  %\preto\figure{% %   \ifnum\value{figure}=0\addtocontents{lof}{\vskip10pt}\fi %} \usepackage{longtable} \usepackage{graphicx} \usepackage{float}  \begin{document}  \tableofcontents  \begingroup \let\cleardoublepage\relax \let\clearpage\relax \listoffigures \listoftables \endgroup  \section{Prologue} \section{Acknowledgements} \section{Abstract} \section{Introduction}  \begin{figure}[H]     \centering     \includegraphics[scale=0.5]{gfx/no-cloud}     \caption{There is no cloud} \end{figure}  \section{Theoretical framework}  \begin{figure}[H]     \centering     \includegraphics[scale=0.7]{gfx/lb-stick}     \caption{Libreboot sticker} \end{figure}  \begin{figure}[H]     \centering     \includegraphics[scale=0.6]{gfx/Trisquel}     \caption{Fully free GNU/linux} \end{figure}  \begin{figure}[H]     \centering     \includegraphics[scale=0.6]{gfx/TEX}     \caption{tex.stackexchange.com} \end{figure}   \setcounter{table}{0} \begin{longtable}[H]{c c}     Q &amp; A  \\     \hline     ? &amp; !\\     \caption{Q\&amp;A} \end{longtable}   \begin{longtable}[H]{l r}     1&amp; 2\\     \caption{Numbers} \end{longtable}  \end{document}   ----------  \documentclass{report} \usepackage[a4paper,bindingoffset=0.5cm, left=2.6cm,right=2.6cm,top=2.6cm,bottom=3cm, footskip=.67cm]{geometry}  \usepackage{etoolbox} \preto\chapter{%     \ifnum\value{chapter}=0\addtocontents{toc}{\vskip0.1pt}\fi     }  %\preto\figure{% %   \ifnum\value{figure}=0\addtocontents{lof}{\vskip10pt}\fi %} \usepackage{longtable} \usepackage{graphicx} \usepackage{float}  \begin{document}  \tableofcontents  \begingroup \let\cleardoublepage\relax \let\clearpage\relax \listoffigures \listoftables \endgroup  \section{Prologue} \section{Acknowledgements} \section{Abstract} \section{Introduction}  \begin{figure}[H]     \centering     \includegraphics[scale=0.5]{gfx/no-cloud}     \caption{There is no cloud} \end{figure}  \section{Theoretical framework}  \begin{figure}[H]     \centering     \includegraphics[scale=0.7]{gfx/lb-stick}     \caption{Libreboot sticker} \end{figure}  \begin{figure}[H]     \centering     \includegraphics[scale=0.6]{gfx/Trisquel}     \caption{Fully free GNU/linux} \end{figure}  \begin{figure}[H]     \centering     \includegraphics[scale=0.6]{gfx/TEX}     \caption{tex.stackexchange.com} \end{figure}   \setcounter{table}{0} \begin{longtable}[H]{c c}     Q &amp; A  \\     \hline     ? &amp; !\\     \caption{Q\&amp;A} \end{longtable}   \begin{longtable}[H]{l r}     1&amp; 2\\     \caption{Numbers} \end{longtable}  \end{document}
I am trying to adjust spacing between entries in LoF and LoT. My code is  \documentclass[11pt,a4paper]{book} \usepackage[english,greek]{babel} \setcounter{secnumdepth}{3} \usepackage[iso-8859-7]{inputenc} \usepackage{kerkis} \usepackage[pdftex]{graphicx} \usepackage[margin=2.8cm]{geometry} \usepackage[Glenn]{fncychap} \usepackage{fancyhdr} %!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! \usepackage{tocloft} \setlength\cftparskip{-15pt}%For ToC works great \setlength\cftbeforesecskip{-8pt}%For ToC works great \setlength\cftbeforesubsecskip{-5pt}%For ToC works great \setlength\cftbeforechapskip{-1pt}%For ToC works great \setlength\cftaftertoctitleskip{-50pt}%For ToC works great  % I also tried \renewcommand instead of \setlength \setlength\cftbeforeloftitleskip{-2cm}%It has no effect in LoF \setlength\cftbeforelottitleskip{-5cm}%It has no effect inLoT  \makeatletter \newcommand*{\tocwithouttitle}{\@starttoc{toc}} \makeatother %-------------------------------------------------------------------------------- \makeatletter \newcommand*{\lofwithouttitle}{\@starttoc{lof}} \makeatother %-------------------------------------------------------------------------------- \makeatletter \newcommand*{\lotwithouttitle}{\@starttoc{lot}} \makeatother %-------------------------------------------------------------------------------- %!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}  \begin{document}  %~~~~~~~~~~~~~~~~~~~~~~~Front-Page~~~~~~~~~~~~~~~~~~~~~~~~~~ \begin{titlepage} Εξώφυλλο \end{titlepage}  \chapter*{\contentsname} \markboth{\MakeUppercase{\contentsname}}{\MakeUppercase{\contentsname}} \tocwithouttitle \addcontentsline{toc}{chapter}{Πειρεχόμενα}  %LoF \chapter*{Κατάλογος σχημάτων}%List of Figures \markboth{\MakeUppercase{Κατάλογος Σχημάτων}}{\MakeUppercase{Κατάλογος Σχημάτων}} %\renewcommand\cftbeforeloftitleskip{5pt} %\renewcommand\cftbeforelottitleskip{5pt} \lofwithouttitle %\setlength\cftbeforefigskip{0pt} \addcontentsline{toc}{chapter}{Κατάλογος Σχημάτων}  %LoT \newpage  \chapter*{Κατάλογος Πινάκων} \markboth{\MakeUppercase{Κατάλογος Πινάκων}}{\MakeUppercase{Κατάλογος Πινάκων}} \lotwithouttitle %\renewcommand\cftbeforeloftitleskip{5pt} %\renewcommand\cftbeforelottitleskip{5pt} \addcontentsline{toc}{chapter}{Κατάλογος Πινάκων}  \newpage \end{document}   While some code is working on ToC(See comments in Preamble) I cannot adjust spacing in LoF/LoT. How can this be achieved?
What is the difference between necessary and sufficient conditions? If $p\implies q$ ("$p$ implies $q$"), then $p$ is a sufficient condition for $q$. If $\lnot p\implies \lnot q$ ("not $p$ implies not $q$"), then $p$ is a necessary condition for $q$.   I don't understand what sufficient and necessary mean in this case. How do you know which one is necessary and which one is sufficient? What is $\int_{-\pi}^\pi \cos(nx)\cos(mx)\,dx$? Can a black hole be explained by Newtonian gravity? In the simple explanation that a black hole appears when a big star collapses under missing internal pressure and huge gravity, I can't see  any need to invoke relativity. Is this correct? I was trying to find a font which has obsolete jamo and the right combining behaviour. Yesterday I found out about , which seems to have both of these. However, when I use it in XeTeX, I get some seemingly-arbitrary hanja (or blank spaces) instead of the expected characters.  (I’m guessing the composing behaviour will fix itself when the right characters are selected. And yes, I know that Code2000 is working perfectly in this example, but unfortunately it is the ugliest font in the world. :p)  MWE:  \documentclass{article} \usepackage{fontspec}  % 1. precomposed: U+BB47 % 2. separate jamo: U+1106, U+116E, U+11BA % 3. obsolete [separate jamo]: U+113B, U+119F, U+11EB \newcommand\test[1]{#1 &amp; {\fontspec{#1}{뭇; 뭇; ᄻᆟᇫ}} \\}  \begin{document}  \begin{tabular}{rl} \test{Arial Unicode MS} \test{Batang} \test{Code2000} \test{Gulim} \test{GungSeo} \test{HeadLineA} \test{Nanum Brush Script} \test{Nanum Myeongjo} \test{Nanum Pen Script} \test{Noto Sans Korean} \test{PCMyungjo} \test{PilGi} \test{Adobe Gothic Std} \test{Adobe Myungjo Std} \test{Apple SD Gothic Neo} \test{AppleGothic} \test{AppleMyungjo} \end{tabular}  \end{document} What is an intuitive explanation of the Hopf fibration and the twisted Hopf fibration? As the question suggests, what is an intuitive explanation of the Hopf fibration and the twisted Hopf fibration? Many thanks in advance. Let $F$ be a field and $F[x]$ a polynomial ring. Let $p(x)$ be an irreducible polynomial.  Show that $\gcd(p(x),q(x)) = 1\Longrightarrow \exists r(x),s(x)$ such that $r(x)p(x)+s(x)q(x) = 1$.  I know the proof for Bezout's identity for , but this proof uses the notion of absolute value, which cannot be applied to a polynomial ring.   I am thinking about a way to prove the statement: Use the Euclidean algorithm to compute $\gcd(p(x),q(x))$ and show that the result is $1$, and somehow go backwards to obtain $r(x)p(x)+s(x)q(x) = 1$, but it is a bit messy, and I'm not yet able to see it completely.  Please offer some help. If you have some other methods, that would be great, too. What contributes to expanded company details being displayed in Google search results? For some results returned in Google Search, on the right side it displays the company details, logo, contact numbers, etc...   For example, see the following screenshot:    I'd like to know what contributes to this so that I can try to achieve it for my site too. Twisted serialport dataReceived() provides fragmented data Find   $$\lim _{x\to \infty }x\Big(\ln\left(x+1\right)-\ln x\Big)$$  Here's how I do it:  $$x\Big(\ln(x+1)-\ln x\Big) = x\Bigg(\ln(x(1+\frac{1}{x}) - \ln x\Bigg)$$ $$x\Big(\ln x + \ln(1+\frac{1}{x}\Big)-\ln x =x\ln\Big(1+\frac{1}{x}\Big)$$ $$\ln\Bigg( \Big(1+\frac{1}{x}\Big)^x \Bigg) \rightarrow \ln 1^\infty = 0$$  What am I doing wrong? The answer is supposed to be $1$, but I get $0$. How do I delete Windows after an Ubuntu install? I downloaded Ubuntu 12.04 LTS to my Dell Dimension 4600 with Windows XP installed.  I now have a neat dual-boot system, but I want to get rid of the XP OS and keep Ubuntu as my only OS.  How do I do this? When using the xhtml1-transitional.dtd doctype, collecting a credit card number with the following HTML  &lt;input type="text" id="cardNumber" name="cardNumber" autocomplete='off'/&gt;   will flag a warning on the W3C validator:     there is no attribute "autocomplete".   Is there a W3C / standards way to disable browser auto-complete on sensitive fields in a form? How to type a circumflex over a greek letter in text mode? I have a document divided into \part \chapter \section and \subsection. I have 3 parts and in each part I reset all the counters.  I want that, when I do a crossref to something that is in the 1st part, chapter 3 and section 5, that LaTeX prints something like I-3.5, but  I don't want that in the tableofcontents part that LaTeX prints the part number. For example, what I want is:     Part I      chapter 1 section 1.1 section 1.2      chapter 2   AND NOT     chapter I-1 section I-1.1 section I-1.2      chapter I-2   The command that I've tried   \renewcommand{\thechapter}{\thepart-\arabic{chapter}} \renewcommand{\thesection}{\thechapter.\arabic{section}}   does exactly what I've said  Can anyone help me? May I get off in an intermediate city of my route during transfer? I want to go from Panamá to Turkey. There're direct flights of Turkish Airlines that are expensive. And there're flights Panamá -&gt; Istambul -&gt; Baku there're cheaper 2 times of the same airline. The transfer in Istambul takes 6 hours.    Will it be a violation if I buy a ticket Panamá -&gt; Istambul -&gt; Baku and leave in Istambul? Euclidean domain in which the quotient and remainder are always unique Let $R$ be a Euclidean domain in which the quotient and remainder are always unique. Does it follow that the ring $R$ is either a field or a polynomial ring $F[X]$ for some field $F$? Why singularity in a black hole, and not just "very dense"? Why does there have to be a singularity in a black hole, and not just a very dense lump of matter of finite size? If there's any such thing as granularity of space, couldn't the "singularity" be just the smallest possible size? We're trying to debug some applications performing broadcast.  What is the difference between the broadcast address 255.255.255.255 and as e.g. reported by ifconfig,  Bcast:192.168.1.255 Can't format my usb drive. I have already tried with mkdosfs and gparted I have a MicroSD card in a USB adapter (which plugs into a USB port on my machine, and acts like a USB flash drive). I was using Unetbootin to make this a bootable USB flash drive with Kubuntu. But I needed to cancel while it was working. So I killed the Unetbootin process from the console.  Since then, I can't format the MicroSD or delete the folder that Kubuntu made. I have also tried mkdosfs, with no success. I can't mount the drive anymore either? What can I do to make this drive usable again?  Trying to create a new partition table in GParted, as described in Eliah Kagan's answer, does not work. It fails with the error message "imposible crear tabla de particiones" ("unable to create a partition table"). How can one format a cell to have word wrap in Google Sheets?  I've tried Shift+Enter, but that doesn't seem to work.  One thing I know works is to place  and then if you edit your cell you can have word wrap in it.  But is there a way to do this without switching modes? How can I visualize the file system usage on Windows?