BibTeX, biblatex and biber\printbibliography overrides topline-command for capitals

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
pyriand3r
Posts: 13
Joined: Fri Apr 15, 2011 1:16 pm

\printbibliography overrides topline-command for capitals

Post by pyriand3r »

Hi there,
i'm writing my master-thesis with Latex (Lyx) and i'm using a topline with the sections names in capitals. But it seems that the command

Code: Select all

\printbibliography
overrides my command to write the sections name in capitals, so on the bibliography-pages the text in the topline is not in capitals...
Is there a possibility to tell latex/bibtex/biber/lyx to format the text on this specific pages in capitals too?
I'm using koma-script and fancyhdr for the topline, my bib-processor is biber.

Hope anyone can help?
pyri

here's the part of my latex-header where i define the topline and footer:

Code: Select all

\fancyhead[LO]{\leftmark} % Kapitelname links oben

\fancyhead[RO]{\thepage} % Seitenzahl rechts oben

\fancyfoot[LO,CO,RO]{} % Fußzeile leer

\renewcommand{\sectionmark}[1]{%
\markboth{\textsc{#1}}{}}

%Linie unter Kopfzeile:
\renewcommand{\headrulewidth} {0.4pt} 

%Linie über Fußzeile:
\renewcommand{\footrulewidth} {0.0pt}

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

skybirdnomad
Posts: 1
Joined: Mon Feb 13, 2012 5:09 am

Re: \printbibliography overrides topline-command for capital

Post by skybirdnomad »

I just barely got this to work. I found a couple commands in the 200+ page documentation for bibtex, though I've been staring at that pdf off and on for a few months now.

Yes, you can modify the title, and format it also.

\printbibliography command will print a default title, but I suppose you're using different variables in the biblatex package than with the regular title variables. Thats why, I suppose.

To modify the title, go to this pdf (http://ctan.mackichan.com/macros/latex/ ... blatex.pdf)
do a search for \printbibliography and find the one on page 69
and also search for the \defbibheading command (on page 75) (no, I did not read the whole thing, just got a feel for it from a few pages here and there and did different searches to find something related to title and all)

Anyways, read those, as that is what I followed. I found it kind of cryptic though.

Basically you have to set the environment (formatting) with \defbibheading and you can set the title by passing an option to, I think, \printbibliography OR by passing an option to \defbibheading. I did it the latter way with the formatting by calling up a macro I made that produces the heading. Let me know if any clarification is helpful. In \defbibheading a name of the heading (the first option) is defined, and pass the option [heading=nameyoucalledit] to the \printbibliography to let it know what heading to use.

I had trouble when I used some formatting commands directly as a \defbibheading argument, but referencing the macro made it work.
Post Reply