Tag Info

New answers tagged

0

You can adjust the way \section works and make \section* act the same way \section does, only with some minor modifications: \documentclass{book} \usepackage{bookmark} \hypersetup{bookmarksnumbered=true} \usepackage{xparse} \makeatletter \renewcommand{\@seccntformat}[1]{\csname the#1\endcsname\space}% Just for this example \let\oldsection\section ...


2

Here is rather crude solution, which just inserts a \- between a vowel and some consonants: \documentclass{article} \usepackage{luacode} \begin{luacode*} function insdisc (s) -- add more letters if necessary s = s:gsub( [[([aeiou])([bcfgklmnpqtxz])]] , '%1\\-%2' ) -- but don't leave a single char alone: s = s:gsub( '^(.)\\%-', '%1') s = ...


0

You can patch \part to issue \partmark instead of \markboth{}{}, similarly to how \chapter issues \chaptermark. Then it's just a matter of defining suitably those two macros. \documentclass[11pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage[top=1in, bottom=1in, left=1in, right=1in, ...


1

You can try with \documentclass[11pt,a4paper]{book} \usepackage[utf8]{inputenc} %\usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{hyperref} \usepackage[head=15pt, top=1in, bottom=1in, left=1in, right=1in]{geometry} \usepackage{lipsum} \newcommand*\parttitle{} \let\origpart\part \renewcommand*{\part}[2][]{% \ifx\\#1\\% optional argument not ...


1

The following will do what you say you want. I am not sure it is what you want, but your mileage may vary. \pagestyle{fancy} \fancyhf{} \fancyhf[coh]{\rightmark} \fancyhf[ceh]{\leftmark} \fancyhf[cf]{\thepage} \renewcommand\chaptermark[1]{\markright{\MakeUppercase{\chaptername{} \thechapter: #1}}} \makeatletter \def\@part[#1]#2{% \ifnum \c@secnumdepth ...



Top 50 recent answers are included