GeneralCompatibility (lettrine.sty and go.sty)

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
NinV
Posts: 69
Joined: Sun Oct 05, 2008 12:57 pm

Compatibility (lettrine.sty and go.sty)

Post by NinV »

Hi,

I have to include a go diagram in a document written by an other man, but testing the inclusion I found that the go.sty in incompatible with lettrine.sty: all the text outside
\textbf or \textit is ignored!

Can you help me to understand where is the problem?

Code: Select all

\documentclass[a4paper,10pt,twocolumn,twoside]{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[italian,esperanto]{babel}
\usepackage{pstricks}
\usepackage{go}
%\usepackage{bao}
\usepackage{lettrine}
\usepackage[dvips]{graphicx}
\setlength{\textheight}{690pt}
\setlength{\headsep}{30pt}
\setlength{\voffset}{-0.5cm}
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{Bao News}
\chead{}
\rhead{www.swahili.it/bao}
\lfoot{}
\cfoot{\thepage}
\rfoot{}
\renewcommand{\headrulewidth}{0.4pt}
\begin{document}
\newpage
\begin{center}
\textbf{Bao examples}
by \textit{N. V.}.
\end{center}
\lettrine[lines=3]{\textbf{T}}{his time}  text1 see: 
\textit{www.swahili.it/bao}. 
Without \verb+\lettrine+ all textN are visible:
text2  (  text3). 
text4 \textit{girare}  text5.
Text6 \textit{a} text7 \textit{A} text8 \textit{b} text9 \textit{B} text10.
text11.
\gofontsize{20}
\pos{a}{5}=\white.
\pos{a}{6}=\black.
\pos{e}{6}=\black{\triangle}
\begin{figure}[htb]
$$
\showdiagram a-g:1-9
$$
\begin{center} Dia. 1 \end{center}
\end{figure}

\textit{The player .... {Kunamua}.}

text11

\textit{{Sawings}, multiple sawings .... ( usual), ....}

\textit{Omissis {omissis} omissis.}

\end{document}
Thank you very much
Nino
Window + MiKTeX 2.7
Ubuntu + TexLive + Kile
Xandros (eeePC) + TeTex + TexMaker

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10347
Joined: Mon Mar 10, 2008 9:44 pm

Compatibility (lettrine.sty and go.sty)

Post by Stefan Kottwitz »

Hi Nino,

you could try \normalfont:

Code: Select all

\lettrine[lines=3]{\textbf{T}}{his time}\normalfont\ text ...
Stefan
LaTeX.org admin
NinV
Posts: 69
Joined: Sun Oct 05, 2008 12:57 pm

Re: Compatibility (lettrine.sty and go.sty)

Post by NinV »

Hi, Stefan!

Thank you!

It works for all the following text, but before the \lettrine command appears a cross (one of the new defined fonts for the go diagram).

Besides that, as you know, I was working on the go.sty to get a bao.sty. I succeeded!

When I tried to use it in the posted code I got that strange result.

I could say to the 'editor' to use \normalfont, but it would be very annoying. So it would be better to understand why \lettrine is incompatible with go.sty and to try to change go.sty (i.e. bao.sty) accordingly.

Unfortunately my knowledge of LaTex isn't enough :(

Can you help me?

Thanks a lot,
Nino
Window + MiKTeX 2.7
Ubuntu + TexLive + Kile
Xandros (eeePC) + TeTex + TexMaker
NinV
Posts: 69
Joined: Sun Oct 05, 2008 12:57 pm

Compatibility (lettrine.sty and go.sty)

Post by NinV »

There's another problem!

The cross which appears before the big red T, created by lettrine, appears also at the left bottom corner of any inserted picture!

Ex:

Code: Select all

\begin{figure}[htbp]
	\centering
		\includegraphics[scale=.50]{Kiba.eps}
\end{figure}
As you could see in the attached file.

Thanks,
Nino
Attachments
fda49bao.pdf
(213.52 KiB) Downloaded 254 times
Window + MiKTeX 2.7
Ubuntu + TexLive + Kile
Xandros (eeePC) + TeTex + TexMaker
Post Reply