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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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