Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using the res class for my resume, but none of the examples show how to add a photo. How do I add a 2x2 photo somewhere in the upper corners without breaking the layout? (I'm using example #2 in the link)

share|improve this question

2 Answers 2

up vote 8 down vote accepted

Add the following code to the preamble; instead of logo write the name of your photo:

\usepackage{graphicx}
\newcommand{\addphoto}[2]{%
  \smash{%
    \makebox[0pt][l]{%
      \raisebox{#1mm}{%
        \hspace{#2mm}\includegraphics[width=2.5cm]{logo}%
      }%
     }%
  }%
}

Then in the first address write

\address{\addphoto{5}{150}%
  {\bf Present Address} \\
   204 Pawling Avenue \\ Troy, NY 12180  \\
   (518) 273-4617 }

The two arguments to \addphoto are the vertical and horizontal displacements in millimeters. Just play with them until you're satisfied.

share|improve this answer

You can use the textpos package. It's really convenient.
Example: (Put this in preamble)

    \usepackage[absolute]{textpos}
    \setlength{\TPHorizModule}{30mm}
    \setlength{\TPVertModule}{\TPHorizModule}
    \textblockorigin{-6mm}{32mm} % start everything near the top-left corner
    \setlength{\parindent}{0pt}

Then this portion goes in the document

    \begin{textblock}{3}(0,0)
      {\large\bf ABU FAZAL MD SHUMON} \\
      {Address} \\
      {State, Country} \\
      {email} \\
      {\href{url}{link-text}} \\
      {\href{Linkedin URL}{LinkedIn Profile}}
    \end{textblock}

To add picture/image in the upper right corner of the image.

    \begin{tabular}{ L{7cm}  R{5.48cm} }
            &
      \includegraphics[width=0.25\textwidth]{shumon.jpg} \\
    \end{tabular}

Hopefully you would get a decent output towards the end. At least that's I got my purpose served.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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