Using the following code, the beginning of the first line of text following a lettrine chapter number is not always exactly aligned with the beginning of the second line.

Changing the value of Nindent or Findent doesn't solve the problem globally.


%%%%chapter format
\newcommand{\gChapter}[1]{\lettrine[lines=2,nindent=.25em,findent=.1em]{{\textcolor{black}{#1}}}{}\markboth{\chaplabel\ #1:1}{\chaplabel\ #1:1}\renewcommand{\gnumChapters}{#1}}

%%%%verse format
% define a 'smaller textsuperscript' macro

\newcommand{\gverse}[1]{{\textsmallsuperscript{#1}\hspace*{.1em}\ignorespaces\markboth{\chaplabel\ \gnumChapters:#1}{\chaplabel\gnumChapters:#1}}\ignorespaces}


enter image description here

  • Could you add a picture illustrating the problem? I having trouble visualising it and don't have a compiler to hand. What happens if you change the lines=2 in your \lettrine? – Chris H Jul 29 '17 at 10:56

The first line of the indented block starts with the space by the line end after \gChapter{...}. It can be removed by \ignorespaces, for example:

  \markboth{\chaplabel\ #1:1}{\chaplabel\ #1:1}%

The LaTeX warning

LaTeX Font Warning: Size substitutions with differences
(Font)              up to 5.26443pt have occurred.

can be removed by using package fix-cm (makes Computer Modern fonts scalable) or lmodern (Latin Modern Fonts, successor of Computer Modern). The example uses the latter:

Result, page 1

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.