3

The problem is that every first letter of the first paragaph in a section is in a different font than the rest. The O's for example are a lot slimmer than the rest, and this is really bad for me, visually.

How can I avoid this?

\documentclass[a4paper,12pt]{article}

\usepackage[utf8]{inputenc}
\usepackage[brazil]{babel}
\usepackage{indentfirst}

\begin{document}

\section{Introd}
\begin{texttt}
O ter yuio paos wqepo ,kert ekjt elkrt . \\

Osd oeir qowie sajd eoir qwpeo eori lqwjer.

\end{texttt}

\end{document}

Strange O, good O

1
  • Thats it, thank you. I used it a long time ago from an example to start learning, and never removed it.
    – user50039
    May 5, 2014 at 0:55

1 Answer 1

1

There's no texttt environment; your code works with undesired results due to a casuality.

Remove the texttt environment.

\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc} 
\usepackage[brazil]{babel} 
\usepackage{indentfirst}

\begin{document}

\section{Introd} 

O ter yuio paos wqepo ,kert ekjt elkrt .

Osd oeir qowie sajd eoir qwpeo eori lqwjer.


\end{document}

enter image description here If you want mono-spaced font, you can use \texttt{text} or {\ttfamily text}.

2
  • Thats it, thank you. I used it a long time ago from an example to start learning, and never removed it.
    – user50039
    May 5, 2014 at 0:52
  • @user50039 You're welcome! Don't forget that, now that you've received some answers and after a sensible wait, you can accept the answer that you consider best solved your problem by clicking the checkmark to its left. In case of doubt, please see How do you accept an answer?. May 5, 2014 at 0:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .