Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the first word closer to the lettrine #48

Open
MarcinCiura opened this issue Jun 17, 2019 · 7 comments
Open

Move the first word closer to the lettrine #48

MarcinCiura opened this issue Jun 17, 2019 · 7 comments
Assignees

Comments

@MarcinCiura
Copy link

The space between a lettrine and all the words is equal. In the original, the first word is closer. Also, Bringhurst writes in The Elements of Typographic Style (page 63):

"In English, if the initial letter is A, I or O, a question can arise: is the initial letter itself a word? The answer to this question must come in the spacing of the text in relation to the versal. If the first word of the text is Ahead, for example, excessive space between the initial A and the rest of the word is bound to cause confusion."

initial

@jemmybutton
Copy link
Owner

Thank you. I thought about that but left for later, and it seems like that later is now. Should work now c8d5db3 except for \regularLettrine. I'll fix it soon too.

@MarcinCiura
Copy link
Author

The thing between the lettrine and the first character is a regular space. Its glue expands if the first line is loosely set.
lettrine

An ideal solution would be:

  • Chase the space and replace it e.g. with \hspace{1pt}
  • Add \def\lettrinespace{\hspace{4pt}\ignorespaces} somewhere
  • Replace cases like \problemNP[3]{К}{ данной}{прямой with \problemNP[3]{К}{\lettrinespace данной}{прямой

@MarcinCiura
Copy link
Author

FWIW, the first bullet point above means changing a fragment of line 207 in preamble_be.tex
from \sc\ #3 to \hskip 1.5pt\sc #3.
A similar change should be made in line 189, although I can only see one use of plain \problem (as opposed to \problemNP) in both of your editions.

@jemmybutton
Copy link
Owner

@mciura Thank you. I'd like to avoid making \lettrinespaceuse necessary for spacing to work correctly, but if i won't be able to make spacing work automatically, i'd use your solution.

@jemmybutton
Copy link
Owner

@mciura Here's a fix 04ba9ed#diff-b44801cabf4c040d727c2524313832c6R186 . Basically, it always puts the letter following a lettrine at a fixed distance from it, as it did before, but if the first symbol isn't space (which is ignored by TeX), then the first letter is moved closer to its initial.

@jemmybutton
Copy link
Owner

@mciura Also fixed for \regularLettrine 452cf14

@jemmybutton
Copy link
Owner

@mciura Some of your suggestions are implemented: 0514404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants