Dear readers,
using LyX 2.4.2.1 on Ubuntu Linux 24.04 I noticed that custom headers
do not default to textwidth as they did before (LyX 2.3.7 and earlier).
I have to add the line \setlength{\headwidth}{\textwidth} manually into
the document preamble to get a header spanning textwidth. This happens
using the module "Custom header/Footer" or defining the header in the
document preamble.
I have attached a minimal LyX-document, this is the same in LaTeX,
which compiles to a document with headers in textwidth:
\documentclass[a4paper]{article}
\usepackage{fancyhdr}
\lhead{Header left}
\chead{Header center}
\rhead{Header right}
\pagestyle{fancy}
\usepackage{blindtext}
\begin{document}
\section{Test fancyhdr}
\blindtext
\end{document}
Tobias
Test_fancyhdr.lyx
Description: application/lyx
-- lyx-users mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-users
