0

in following question is a "Table of equations" I implemented.
Remove vertical space between title and first line of own "table of"
But unfortunately the space between the section number and the first letter of the line is so small that they overlay.
enter image description here
Can you tell me how to increase the space?
Thank you very much.

4
  • 1
    you can try \DeclareNewTOC[ type=equation, indent=1.5em,hang=2em%or 2.5em ]{equ} – touhami Oct 7 '15 at 15:17
  • Ha, that was it. Thank you very much! Why don't you post it as answer to get a correct answer? – j0chn Oct 7 '15 at 15:48
  • @touhami: Please turn your comment into an answer – user31729 Mar 6 '16 at 22:29
  • @ChristianHupfer Done. – touhami Mar 8 '16 at 10:05
1

Here is a solution. One need to use option hang

\DeclareNewTOC[type=equation, indent=1.5em, hang=2.5em]{equ}

WE

\documentclass[12pt]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}

\DeclareNewTOC[
  type=equation,
  indent=1.5em,
  hang=2.5em
  ]{equ}

\newcaptionname{ngerman}{\equationname}{Gleichung}
\newcaptionname{ngerman}{\listequationname}{Formelverzeichnis}
\newcommand\myequation[1]{\addxcontentsline{equ}{equation}[\theequation]{#1}}

\begin{document}
\listofequations
\chapter{Kapitel}

\setcounter{equation}{20}
Text
\begin{equation}
    \myequation{Abstandsmaß: Hamming-Distanz A}
    \label{eq:Hamming-DistanzA}
    dist_{H}(v,w) = count_{i}(v_{i} \neq w_{i} ) 
\end{equation}
\begin{equation}
    \myequation{Abstandsmaß: Hamming-Distanz B}
    \label{eq:Hamming-DistanzB}
    dist_{H}(v,w) = count_{i}(v_{i} \neq w_{i} ) 
\end{equation}
\begin{equation}
    \myequation{Abstandsmaß: Hamming-Distanz C}
    \label{eq:Hamming-DistanzC}
    dist_{H}(v,w) = count_{i}(v_{i} \neq w_{i} ) 
\end{equation}

\end{document}

enter image description here

1
  • ;-)))))))))))))))))) (+1) – user31729 Mar 8 '16 at 10:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.