Text FormattingIncorrect text alignment with yinipar

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
MadameBibitte
Posts: 2
Joined: Sun Oct 19, 2014 5:58 am

Incorrect text alignment with yinipar

Post by MadameBibitte »

Hi, I am trying to use \yinipar to insert a Gothic-style drop cap at the beginning of each chapter. When I do something like this...

Code: Select all

\yinipar{T}his is some sample text.  This is some sample text.  This is some sample text.  This is some sample text...
...the drop cap is forced to the bottom of the page, like this:

Image

How can I make it align properly with the rest of the text?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Incorrect text alignment with yinipar

Post by Johannes_B »

I can't reproduce this. Can you post a minimal working example?

Code: Select all

\documentclass{article}
\usepackage{yfonts}
\usepackage{blindtext}
\begin{document}
\yinipar{T}his is some sample text. \blindtext
\end{document}:
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
MadameBibitte
Posts: 2
Joined: Sun Oct 19, 2014 5:58 am

Re: Incorrect text alignment with yinipar

Post by MadameBibitte »

Hi again,

After some more research, I managed to solve my own problem. Replacing the \yinipar command by \textinit gives the same style of drop cap with the correct alignment.

Thanks anyway!
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Incorrect text alignment with yinipar

Post by Johannes_B »

Please test the above minimal example. What do you get on your system?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply