I am using the res.cls class to write my resume. And I thought it would be nice to put an image of myself just above the name.
However when I have used the \includegraphics[scale =.09]{josh.JPG} I have the option of it being aligned to the left, or centred.
Now given I want the image to be above my name in the resume, I thought \centre would do. But it is still to the left.
In Microsoft word I would just make the image free-transform and drag it where I want.
Is there a way to define how many pixels/cm etc an image is positioned from left or right?
Question I am not sure how to align the image directly over the Name in the resume document?
Other Information Example --> Attached .gz file tex, class file Tex Editor --> Linux Mint 16 TexMaker Required Packages/Classes (res.cls)
Update: I have managed to centre the image, and would now be happy to get either the normal text John. D. Doe or the /name formatting from the resume class to sit directly under the image.
\documentclass[margin]{res}
\textwidth=5.2in % increase textwidth to get smaller right margin
\usepackage{graphicx}
\begin{document}
\hfill \includegraphics[scale =.05]{josh2.jpg}\hspace*{\fill}\\
\begin{center}
{\bf John. Doe} \hspace*{\fill}
\end{center}
\name{John D. Doe\\}
\begin{resume}
\section{\underline{Objective}}
\begin{itemize} \itemsep -2pt
\item To teach
\end{itemize}
\section{Skills}
{\bf Excel Automation:}
\section{Work \\ History}
{\bf Business Analyst}
\begin{itemize}
\item Dot Point
\end{itemize}
\end{resume}
\end{document}



\documentclass{...}and ending with\end{document}. – ChrisS Jun 15 '14 at 09:22meta- question, and you posted actually three question in one, which should be avoided – Jun 15 '14 at 09:39.styfiles, to make them available to all my.texfiles? Finally: You didn't include the.texfile in that.gzfile and we would need to see that. As ChrisS says, it's a lot easier if there is a proper example. And please add the code directly to your post, don't post a link to an archive somewhere else. – Torbjørn T. Jun 15 '14 at 09:48.texfile as well. – Torbjørn T. Jun 15 '14 at 11:58\caption, so now it'll compile at least. – Torbjørn T. Jun 15 '14 at 12:22environment centre undefined, onecaption outside floatand oneExtra }. But never mind. – Torbjørn T. Jun 15 '14 at 12:29