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.
Post Reply
n49o7
Posts: 1
Joined: Wed Jul 18, 2018 6:12 pm

How to put something after preamble but before document begins ?

Post by n49o7 »

I am trying to use the following bit of code

Code: Select all

\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 ?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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

How to put something after preamble but before document begins ?

Post by rais »

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
Post Reply