LaTeX forum ⇒ LyXHow to put something after preamble but before document begins ?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
n49o7
Posts: 1
Joined: Wed Jul 18, 2018 6:12 pm

How to put something after preamble but before document begins ?

Postby n49o7 » Wed Jul 18, 2018 6:17 pm

I am trying to use the following bit of code
  1. \DefineBibliographyExtras{french}{\restorecommand\mkbibnamefamily}

but it has to be inserted after Biblatex loads (after \makeatletter) but before \begin{document}.
Is there a way to do that or to somehow pass the option through the (sexy new) bibliography tab in the document settings ?

rais
Posts: 160
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Thu Jul 19, 2018 3:33 pm

You can delay stuff in the preamble by enclosing it in \AtBeginDocument{}.

If that is what you really need, I cannot say, because you gave no MWE to test it with.

KR
Rainer


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 6 guests