Graphics, Figures & TablesImage on CV Front Page

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Per_Melin
Posts: 2
Joined: Mon Mar 25, 2013 3:44 pm

Image on CV Front Page

Post by Per_Melin »

Hi the Community!

I'm pretty new in this game and have now come across a problem regarding a figure on my front page of a CV template with document class "\documentclass{scrartcl}".

The code is as following:

Code: Select all

\documentclass{scrartcl}
\reversemarginpar % Move the margin to the left of the page 
\newcommand{\MarginText}[1]{\marginpar{\raggedleft\itshape\small#1}} % New command defining the margin text style
\usepackage[nochapters]{classicthesis} % Use the classicthesis style for the style of the document
\usepackage[LabelsAligned]{currvita} % Use the currvita style for the layout of the document
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{sidecap,caption}
%\usepackage{float}
\usepackage{sidecap}
\usepackage{floatrow}
\usepackage{titlepic}
\usepackage{pdfpages}
\usepackage[font={scriptsize,sc}]{caption}
\renewcommand{\cvheadingfont}{\LARGE\color{Maroon}} % Font color of your name at the top
\usepackage{hyperref} % Required for adding links	and customizing them
\hypersetup{colorlinks, breaklinks, urlcolor=Maroon, linkcolor=Maroon} % Set link colors
\newlength{\datebox}\settowidth{\datebox}{Spring 2011} % Set the width of the date box in each block
\newcommand{\NewEntry}[3]{\noindent\hangindent=2em\hangafter=0 \parbox{\datebox}{\small \textit{#1}}\hspace{1.5em} #2 #3 % Define a command for each new block - change spacing and font sizes here: #1 is the left margin, #2 is the italic date field and #3 is the position/employer/location field
\vspace{0.5em}} % Add some white space after each new entry
\newcommand{\Description}[1]{\hangindent=2em\hangafter=0\noindent\raggedright\footnotesize{#1}\par\normalsize\vspace{1em}} % Define a command for descriptions of each entry - change spacing and font sizes here
\pagestyle{empty}

%----------------------------------------------------------------------------------------

\begin{document}

\thispagestyle{empty} % Stop the page count at the bottom of the first page

%----------------------------------------------------------------------------------------
%	NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------

\begin{cv}{\spacedallcaps{Per J. Melin}}\vspace{1.5em} % 

\noindent\spacedlowsmallcaps{Personal Information}\vspace{0.5em} 

\NewEntry{Birth}{\textit{Born on Mars,}}{27 Mars 1952} 

\NewEntry{Email}{\href{mailto:per.melin@yahoo.com}{per.melin@afconsult.com}} 

\NewEntry{Phone}{(Mobile) +46 (070) 1337 1337}     %\ \ $\cdotp$\ \ } 

\vspace{1em} % Extra white space between the personal information section and goal

\noindent\spacedlowsmallcaps{Short Resume}\vspace{1em} % Goal heading, could be used for a quotation or short profile instead

\Description{M.Sc in Mechanical Engineering - Link\"opings Technical University, with focus on Solid and Fracture Mechanics. I am an open-minded analytical person who loves problem solving and possesses knowhow in several common FEM software. I bring a positive attitude into challenging projects where I can develop as an engineer and possibly more important, as a team player.\newline

\textsc{Interests:} CrossFit\ \ $\cdotp$\ \ Music\ \ $\cdotp$\ \ Movies \ \ $\cdotp$\ \ Skiing\ \ $\cdotp$\ \ After-skiing \ \ }
\vspace{1em} 

%----------------------------------------------------------------------------------------
%	EDUCATION
%----------------------------------------------------------------------------------------
\end{cv}
\end{document}
The following picture shows what this code generates at the moment.
CV-current.png
CV-current.png (43.51 KiB) Viewed 8995 times
And the next picture is my goal to achieve with this thread.
CV-goal.png
CV-goal.png (71.42 KiB) Viewed 8995 times
How can I do this, include a picture there in the right top corner without messing up the other text in the document?

Thank you very much for your time!

best regards, Per

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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

Image on CV Front Page

Post by Stefan Kottwitz »

Hi Per,

welcome to the forum!

You could use the textpos package for this, alternatively eso-pic, atbegshi or everyshi. All those packages provide ways for positioning text at absolute positions on the page.

Stefan
LaTeX.org admin
Per_Melin
Posts: 2
Joined: Mon Mar 25, 2013 3:44 pm

Re: Image on CV Front Page

Post by Per_Melin »

Thank you so much. textpos made it possible to include a picture on my command :)
Post Reply