## LaTeX forum ⇒ LyX ⇒ How 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 ?

I am trying to use the following bit of code
\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: 177
Joined: Sun Nov 16, 2014 8:51 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