5

I'm new to LaTeX and I'm trying to write the letter in attachment. Even if it is so simple, it's driving me crazy. I'm not able to put the logo only in the first page and not in the others, trying not to let LaTeX put things where he wants and not where I want. Can someone give me some tips?

Page One enter image description here

  • Welcome to TeX.SX could you please provide a minimal working example of what you have so far? – Rico Dec 26 '15 at 19:01
  • Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document} – Rmano Dec 26 '15 at 19:01
  • 2
    From the images you provided, it did not seem like the logo was on both pages. – Runar Dec 26 '15 at 19:11
10

Here's an example that includes a file with the .eps extension for greater image quality. It's placed within a figure environment that allows us to properly place it and also add a caption (if needed).

The space for the word oggetto is achieved with the description environment.

Of course, you'll need to replace image_name with the name of your logo (in .eps format). If the image is in the same directory as your .tex file, you don't need to specify the extension.

example image

\documentclass{article}
\usepackage[margin=2cm]{geometry}
\usepackage{lipsum} % random text
\usepackage{graphicx} % for including images
\usepackage{enumitem} % for description options
\usepackage{epstopdf} % for the .eps file (logo)
\usepackage{caption} % for the caption without the "Figure 1"

\setlength{\parindent}{0pt} % no indent for whole document

\begin{document}
\begin{figure}[htbp]
    \centering
    \scalebox{.3}{\includegraphics{image_name}}
    \caption*{Lorem ipsum dolor sit amet, consectetuer adipiscing elit.}
\end{figure}

\lipsum[1]

\begin{description}[font=\normalfont,leftmargin=5em,labelwidth=5em,labelsep=0pt]
\item[Oggetto:] Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi. Morbi auctor lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus.
\end{description}

\lipsum[2-10]
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.