[Tex/LaTex] \fullcite without indent in biblatex

biblatexspacing

I'm using \fullcite to produce in-margin-note citations as per my older question. I've almost got the behavior I want, but biblatex's \fullcite command inserts a leading indent before the citation starts:

example of space in weird place

I'm using the numeric biblatex style. It's hard to generate a minimal example that generates this text because it relies on a recent version of tufte-latex, but refer to tufte-latex Issue 60.

Best Answer

Okay, so the answer involves my misinterpretations of how the \AtEveryCiteKey definition works. I had the following markup in my document, which I had formatted to be clear (to my C/Java/Ruby-writing programmer's mind) with newlines and indents:

\AtEveryCitekey{
  \clearfield{url}
  \clearfield{doi}
  \clearfield{isbn}
  \clearfield{issn}
}

LaTeX was interpreting the newlines as whitespace separated by (non-printing) characters, and adding four spaces to the beginning of every \fullcite!

I changed the markup to:

\AtEveryCitekey{\clearfield{url}\clearfield{doi}\clearfield{isbn}\clearfield{issn}}

And now all is well.

Related Question