Tag Info

New answers tagged

2

\bool_if:NT \l_sectioning_numbered_bool { \thesection.\ } \bool_if:NTF \l_sectioning_lowercase_bool { \tl_lower_case:n } { \tl_upper_case:n } { #1 } In that case, I think that would be enough. May be clearer is \bool_if:NT \l_sectioning_numbered_bool { \thesection.\ } \bool_if:NTF \l_sectioning_lowercase_bool { \tl_lower_case:n { #1 } } { ...


0

The default headers for book class are given by \def\@evenhead{\thepage\hfil\slshape\leftmark}% \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% although the default does not include a line beneath the headers. These give you complete control over the header content, although for your purposes simply changing \leftmark and/or \rightmark should do. Even ...


0

\part*{} does not alter headers. If you want them changed, you can issue a \markboth{}{} manually with the content you desire. To avoid the sections appearing in the headers, you can redefine \sectionmark to just \relax. Finally, with egreg's premable, I don't have any odd mixing of cases in the headers. \documentclass[11pt,a4paper]{book} ...


2

To answer this to satisfy the OP ... The whole bunch of macro definition commands are quite connected: \newcommand{\foo}[num_of_args][opt first arg value]{% definition} defines \foo \newcommand*{\foo}[num_of_args][opt first arg value]{% definition} defines \foo but does not allow for parbreaks in the arguments. \renewcommand{\foo} redefines an already ...


1

When I first got in contact with LaTeX, I bought Lamport’s LaTeX: A Document Preparation System, but, alas, I found it too superficial and didn’t understand many (even basic) things. So, as I later took notice that all started with Knuth’s TeX, I felt that it might be the logical way to begin with looking at TeX. In consequence I bought Knuth’s The TeXbook, ...



Top 50 recent answers are included