The tufts-book class provides a \sidenote-command with an optional offset parameter, that allows the sidenote to be vertically adjusted. I use biblatex' \footcite command to get citations in the margin. If a citation is near the bottom, the citation is below the text or runs off the page (code follows later):

Picture showing how a citation in the margin runs below the last line of text.

Using the answer from this question I added a citation-command which allows for manual offset of the margin citation:

Picture showing a margin citation aligned with the last line of text

The problem is that

  • you need to manually compute the offsets depending on baselineskips and number of lines of the citation
  • Kerning between citation mark and (optional) punctuation cannot be handled by fnpct

The tufte-latex documentation states that the offset parameter of the \sidenote-command was specifically added when sidenotes run of the top or the bottom of the page, so I presume it is not possible the limit sidenotes to the text height.

My question: Is it possible to have a citation command that

  • can be kerned with fnpct
  • results in a margin citation
  • can be passed an offset parameter (or adjusts its vertical offset appropriately)

If not, my current approach requires to pass an optional punctuation with which the citation mark should be kerned. The syntax is quite kludgy (see the following code). Does anyone have a better idea?



\DeclareDocumentCommand{\sjcitep}{ O{} O{0pt} m O{} }{%

    {\cs_set_protected_nopar:Npn \__sct_wrapper:nn ##1 ##2 {\mkbibparens{##2}}}%
    {\cs_set_protected_nopar:Npn \__sct_wrapper:nn ##1 ##2 {\sidenote[][##1]{##2}}}%



Margin baselineskip: {\footnotesize\the\baselineskip}\\
Baselineskip: \the\baselineskip\\
Test sentence\sjcitep[6][-42pt]{springer}[.]

Test sentence\sjcitep[][-16pt]{springer}[,]

Test sentence\sjcitep[][-10pt]{springer} and so on and so on.

PS: I know my question is not very concise. I appologize. I don't know LaTeX very well and would like to avoid replacing all \footcite{}<punctuation>-commands with \sjcitep{}[<punctuation>].

  • fnpct has a series of commands like \AdaptNote for trying to add the kerning feature to other commands. See section 8 of the fnpct manual. Maybe that could be what you're looking for?
    – David R
    Apr 29, 2017 at 9:10

1 Answer 1


I don't think there was an easy solution five years ago when the question was asked. Today you might think of something like this:

  after-punct-space = 0pt ,
  before-footnote-space = .1em





Test sentence\sidecite(-44pt){companion}.

Test sentence\sidecite(-12pt)[see][135]{companion},

Test sentence\sidecite{companion} and so on and so on.


enter image description here

Since biblatex is rather complex I can't say if this has shortcomings from its side, though.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .