Text FormattingText wrapping initial letter

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Nello
Posts: 5
Joined: Sat Aug 29, 2015 1:35 pm

Text wrapping initial letter

Post by Nello »

Since I have a problem using babel with lettrine, I found out a way to use initial letters as lettrine does, but I can't place the text nicely around the capital letter, as shown below:

Code: Select all

    \documentclass[dvips,a4paper,greek,hebrew,italian,10pt]{book}

    \usepackage{ucs}
    \usepackage[utf8]{inputenc}
    \usepackage[LGR,HE8,T1]{fontenc}
    \def\HeblatexEncoding{HE8}
    \def\HeblatexEncodingFile{he8enc}


    \makeatletter
    \let\l@hebrew\l@nohyphenation
    \makeatother


    \usepackage[greek,hebrew,italian]{babel}
    \usepackage{float}
    \usepackage{subfigure}
    \usepackage{pstricks}
    \usepackage{caption}
    \usepackage[pdftex]{graphicx}
    \usepackage{epstopdf}
    \usepackage{aurical}
    \usepackage{wesa}
    \usepackage{inslrmin}
    \usepackage{uncial}
    \usepackage{gfsartemisia-euler}
    \usepackage{aurical}
    \usepackage{amsmath}
    \usepackage{amssymb}
    \usepackage{eufrak}
    \usepackage{psfrag}
    \usepackage{longtable}
    \usepackage{array}
    \usepackage{xcolor}
    \usepackage{colortbl}
    \usepackage{stmaryrd}
    \usepackage{mathbbol}
    \usepackage{bm}
    \usepackage{multirow}
    \usepackage{lscape}
    \usepackage{caption}
    \usepackage{rotating}
    \usepackage{makeidx}
    \usepackage{refstyle}
    \usepackage{cjhebrew}
    \usepackage{hebfont}
    \usepackage{fancyhdr}
    \usepackage{lgreek}
    \usepackage{multicol}
    \usepackage{cancel}
    \usepackage{setspace}
    \usepackage{fix-cm}
    \usepackage{textcomp}
    \usepackage{anyfontsize}
    \usepackage{titlesec, blindtext, color}
    \usepackage{mathtools}
    \usepackage{blindtext}
    \usepackage{lettrine}

\input Rothdn.fd
\newcommand*\initfamily{\usefont{U}{Rothdn}{xl}{n}}

\begin{document}
{{\fontsize{80}{90}\initfamily{
P}}} \blindtext

\end{document} 
Is there a way to wrap that initial letter with the text that follows it?

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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

Text wrapping initial letter

Post by Johannes_B »

You might be interested in alternatives to lettrine.

Code: Select all

\documentclass{book}
\usepackage{drcaps}
\usepackage[hebrew,italian]{babel}
\usepackage{blindtext}
\begin{document}
\RCap{N}ello
\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.
Post Reply