1

Dear TEXstack community,

I have a problem with \footcite.

For direct quotations I'm using:

\footcite[p. xy]{reference}

For indirect quotations I'm using:

\footcite[Vgl.][S. xy]{Quelle}

Footmisc is integrated as follows:

\usepackage[hang, multiple]{footmisc}

\setlength{\footnotemargin}{1em}

Unfortunately, the footnotes of indirect quotations are indented a bit more than direct quotations: enter image description here

This git repo contains the example code: https://github.com/andygrunwald/FOM-LaTeX-Template

How can I achieve consistent indentation?

I have now searched for several hours, but have not found a suitable solution :(

Thanks in advance for your support!

10
  • Show a small but complete example. – Ulrike Fischer Dec 28 '20 at 17:34
  • Added the screenshot. Which additional information would be helpful? – frederikluettmann Dec 28 '20 at 17:48
  • No, you should show a real document, starting with \documentclass and ending with \end{document}. Something that we can try to reproduce the issue without having to guess which fonts you use, or which bibliography package. If possible use bib entries from e.g. biblatex-examples.bib. – Ulrike Fischer Dec 28 '20 at 17:53
  • Thanks for the support! This helped a lot. A template can be found here: link It contains all files, including a bib example (not the one you mentioned, but it will hopefully do the job). Will add it to my question, too. – frederikluettmann Dec 28 '20 at 17:59
  • 1
    No, make a small example that you can copy here in your question. I won't start to debug some large template. tex.stackexchange.com/a/391022/2388 – Ulrike Fischer Dec 28 '20 at 18:07
0

The issue was caused by a missing "%" and was fixed already in the template (see: github.com/andygrunwald/FOM-LaTeX-Template/issues/186)

Old version with bug:

\renewbibmacro*{cite}{%
  \iffieldundef{shorthand}
    {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
       {\usebibmacro{cite:label}%
        \setunit{\printdelim{nonameyeardelim}}}
      {\toggletrue{abx@bool@giveninits}
        \printnames[family-given]{labelname}%
        \setunit{\printdelim{nameyeardelim}}}%
      \printfield{usera}%
      \setunit{\printdelim{titleyeardelim}}%
     \usebibmacro{cite:labeldate+extradate}}
   {\usebibmacro{cite:shorthand}}}

Fixed version:

\renewbibmacro*{cite}{%
  \iffieldundef{shorthand}
    {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
       {\usebibmacro{cite:label}%
        \setunit{\printdelim{nonameyeardelim}}}
      {\toggletrue{abx@bool@giveninits}%        
        \printnames[family-given]{labelname}%
        \setunit{\printdelim{nameyeardelim}}}%
      \printfield{usera}%
      \setunit{\printdelim{titleyeardelim}}%
     \usebibmacro{cite:labeldate+extradate}}
   {\usebibmacro{cite:shorthand}}}

The fixed version contains a % at the end of line 6: {\toggletrue{abx@bool@giveninits}

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