Hi all,
I am a complete noob with LaTeX but a friend of mine recently put me on to it for editing/creating CVs. I dowloaded the Deedy Resume/CV template (http://www.latextemplates.com/template/deedy-resume-cv) and tried to compile it in TeXShop on my Mac. When I first tried to typeset it, just to see what it would look like unedited, I was getting a simple white page with "Brief Article" written on it (pic attached). I tried to comment some things out and typeset it again but this time it didn't compile anything and I just got the dialog box with some more text in it (another pic attached).
I have a feeling it is a very simple and obvious solution but as you can probably tell, I'm not very good with this software. I just want to be able to use the template and create my CV using my own information. Could anyone help me get started? Thanks in advance.
Curricula Vitae / Résumés ⇒ Trying to compile a template no avail
Trying to compile a template no avail
- Attachments
-
- Screen Shot 2015-10-03 at 1.48.15 PM.png (68.45 KiB) Viewed 12818 times
-
- Screen Shot 2015-10-03 at 1.46.15 PM.png (39.83 KiB) Viewed 12818 times
Re: Noob here...trying to compile a template but to no avail
Ok, so in the box that appeared, I clicked "Goto Error" and it opened another window (deedy-resume.cls) and took me to that line (pic attached).
- Attachments
-
- Screen Shot 2015-10-03 at 2.02.19 PM.png (69.85 KiB) Viewed 12815 times
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Trying to compile a template no avail
Welcome to the forum, that is not the class file as currently hosted on LaTeX-templates.com
Please check out the latest zip file and start with this template.
Please check out the latest zip file and start with this template.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Trying to compile a template no avail
Hi Mescal,
welcome to the forum!
I confirm, what Johannes said. Another point: within the document class, that .cls file, you loaded another document class (article), that's why the error occured. You mixed code in some way. Perhaps figure that out or post the actual code here.
Stefan
welcome to the forum!
I confirm, what Johannes said. Another point: within the document class, that .cls file, you loaded another document class (article), that's why the error occured. You mixed code in some way. Perhaps figure that out or post the actual code here.
Stefan
LaTeX.org admin
Trying to compile a template no avail
thanks for the reply! i'm trying to figure out what you said but i don't know what's happening in the code... /facepalmStefan_K wrote:Hi Mescal,
welcome to the forum!
I confirm, what Johannes said. Another point: within the document class, that .cls file, you loaded another document class (article), that's why the error occured. You mixed code in some way. Perhaps figure that out or post the actual code here.
Stefan
here are the codes for cv_12.tex and deedy-resume.cls respectively:
Code: Select all
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Deedy CV/Resume
% XeLaTeX Template
% Version 1.0 (5/5/2014)
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
%
% Original author:
% Debarghya Das (http://www.debarghyadas.com)
% With extensive modifications by:
% Vel (vel@latextemplates.com)
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
% Important notes:
% This template needs to be compiled with XeLaTeX.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[letterpaper]{deedy-resume} % Use US Letter paper, change to a4paper for A4
\begin{document}
%----------------------------------------------------------------------------------------
% TITLE SECTION
%----------------------------------------------------------------------------------------
\lastupdated % Print the Last Updated text at the top right
\namesection{Debarghya}{Das}{ % Your name
\urlstyle{same}\url{http://debarghyadas.com} \\ % Your website, LinkedIn profile or other web address
\href{mailto:dd367@cornell.edu}{dd367@cornell.edu} | 607.379.5733 % Your contact information
}
%----------------------------------------------------------------------------------------
% LEFT COLUMN
%----------------------------------------------------------------------------------------
\begin{minipage}[t]{0.33\textwidth} % The left column takes up 33% of the text width of the page
%------------------------------------------------
% Education
%------------------------------------------------
\section{Education}
\subsection{Cornell University}
\descript{MEng in Computer Science}
\location{Expected Dec 2014 | Ithaca, NY \\ Cum. GPA: N/A}
\sectionspace % Some whitespace after the section
\descript{BS in Computer Science}
\location{Expected May 2014 | Ithaca, NY}
Conc. in Software Engineering \\
College of Engineering \\
Dean's List (All Semesters) \\
\location{ Cum. GPA: 3.92 / 4.0 \\
Major GPA: 3.94 / 4.0}
\sectionspace % Some whitespace after the section
%------------------------------------------------
\subsection{La Martiniere for Boys}
\location{Grad. May 2011 | Kolkata, India}
\sectionspace % Some whitespace after the section
%------------------------------------------------
% Links
%------------------------------------------------
\section{Links}
Github:// \href{https://github.com/deedydas}{\bf deedydas} \\
LinkedIn:// \href{https://www.linkedin.com/in/debarghyadas}{\bf debarghyadas} \\
YouTube:// \href{https://www.youtube.com/user/DeedyDash007}{\bf DeedyDash007} \\
Twitter:// \href{https://twitter.com/debarghya_das}{\bf @debarghya\_das} \\
Quora:// \href{https://www.quora.com/Debarghya-Das}{\bf Debarghya-Das}
\sectionspace % Some whitespace after the section
%------------------------------------------------
% Coursework
%------------------------------------------------
\section{Coursework}
\subsection{Graduate}
Advanced Machine Learning \\
Open Source Software Engineering \\
Advanced Interactive Graphics \\
Compilers + Practicum \\
Cloud Computing
\sectionspace % Some whitespace after the section
%------------------------------------------------
\subsection{Undergraduate}
Information Retrieval \\
Operating Systems \\
Artificial Intelligence + Practicum \\
Functional Programming \\
Computer Graphics + Practicum \\
{\footnotesize \textit{\textbf{(Research Asst. \& Teaching Asst) }}} \\
Unix Tools and Scripting
\sectionspace % Some whitespace after the section
%------------------------------------------------
% Skills
%------------------------------------------------
\section{Skills}
\subsection{Programming}
\location{Over 5000 lines:}
Java \textbullet{} Shell \textbullet{} JavaScript \textbullet{} Matlab \\
OCaml \textbullet{} Python \textbullet{} Rails \textbullet{} \LaTeX\ \\
\location{Over 1000 lines:}
C \textbullet{} C++ \textbullet{} CSS \textbullet{} PHP \textbullet{} Assembly \\
\location{Familiar:}
AS3 \textbullet{} iOS \textbullet{} Android \textbullet{} MySQL
\sectionspace % Some whitespace after the section
%----------------------------------------------------------------------------------------
\end{minipage} % The end of the left column
\hfill
%
%----------------------------------------------------------------------------------------
% RIGHT COLUMN
%----------------------------------------------------------------------------------------
%
\begin{minipage}[t]{0.66\textwidth} % The right column takes up 66% of the text width of the page
%------------------------------------------------
% Experience
%------------------------------------------------
\section{Experience}
\runsubsection{Coursera}
\descript{| KPCB Fellow + Software Engineering Intern}
\location{Expected June 2014 â Sep 2014 | Mountain View, CA}
\vspace{\topsep} % Hacky fix for awkward extra vertical space
\begin{tightitemize}
\item 52 out of 2500 applicants chosen to be a KPCB Fellow 2014.
\end{tightitemize}
\sectionspace % Some whitespace after the section
%------------------------------------------------
\runsubsection{Google}
\descript{| Software Engineering Intern}
\location{May 2013 â Aug 2013 | Mountain View, CA}
\begin{tightitemize}
\item Worked on the YouTube Captions team in primarily vanilla Javascript and Python to plan, design and develop the full stack implementation of a new framework to add and edit Automatic Speech Recognition captions.
\item Created a backbone.js-like framework for the Captions editor.
\item All code was reviewed, perfected, and pushed to production.
\end{tightitemize}
\sectionspace % Some whitespace after the section
%------------------------------------------------
\runsubsection{Phabricator}
\descript{| Open Source Contributor \& Team Leader}
\location{Jan 2013 â May 2013 | Palo Alto, CA \& Ithaca, NY}
\begin{tightitemize}
\item Phabricator is used daily by Facebook, Dropbox, Quora, Asana and more.
\item I created the Meme generator, the entire Lipsum application, ported Tokens to different apps, fixed many bugs and more in PHP and Shell.
\item Led a team from MIT, Cornell, IC London and UHelsinki for the project.
\end{tightitemize}
\sectionspace % Some whitespace after the section
%------------------------------------------------
% Research
%------------------------------------------------
\section{Research}
\runsubsection{Cornell Robot Learning Lab}
\descript{| Head Undergrad Research}
\location{Jan 2014 â Present | Ithaca, NY}
Worked with \textbf{\href{http://www.cs.cornell.edu/~ashesh/}{Ashesh Jain}} and \textbf{\href{http://www.cs.cornell.edu/~asaxena/}{Prof Ashutosh Saxena}} to create \textbf{PlanIt}, a tool which learns from large scale user preference feedback to plan robot trajectories in human environments. Publication submitted.
\sectionspace % Some whitespace after the section
%------------------------------------------------
\runsubsection{Cornell Phonetics Lab}
\descript{| Head Undergraduate Researcher}
\location{Mar 2012 â May 2013 | Ithaca, NY}
Lead the development of \textbf{QuickTongue}, the first ever breakthrough tongue-controlled game with \textbf{\href{http://conf.ling.cornell.edu/~tilsen/}{Prof Sam Tilsen}} to aid in Linguistics research. Publication submitted.
\sectionspace % Some whitespace after the section
%------------------------------------------------
% Awards
%------------------------------------------------
\section{Awards}
\begin{tabular}{rll}
2014 & top 52/2500 & KPCB Engineering Fellow\\
2014 & 2\textsuperscript{nd} most points & Google Code Jam, Qualification Round\\
2014 & 1\textsuperscript{st}/50 & Microsoft Coding Competition, Cornell\\
2013 & National & Jump Trading Challenge Finalist\\
2013 & 7\textsuperscript{th}/120 & CS 3410 Cache Race Bot Tournament \\
2012 & 2\textsuperscript{nd}/150 & CS 3110 Biannual Intra-Class Bot Tournament \\
2011 & National & Indian National Mathematics Olympiad (INMO) Finalist \\
2010 & National & Comp. Soc. of India's National Programming Contest\\
\end{tabular}
\sectionspace % Some whitespace after the section
%------------------------------------------------
% Societies
%------------------------------------------------
\section{Societies}
\begin{tabular}{rll}
2014 & top 12\%ile & Tau Beta Pi Engineering Honor Society\\
2014 & National & The Global Leadership and Education Forum (tGELF)\\
2012 & National & Golden Key International Honor Society\\
2012 & National & National Society of Collegiate Scholars\\
\end{tabular}
\sectionspace % Some whitespace after the section
%----------------------------------------------------------------------------------------
\end{minipage} % The end of the right column
%----------------------------------------------------------------------------------------
% SECOND PAGE (EXAMPLE)
%----------------------------------------------------------------------------------------
%\newpage % Start a new page
%\begin{minipage}[t]{0.33\textwidth} % The left column takes up 33% of the text width of the page
%\section{Example Section}
%\end{minipage} % The end of the left column
%\hfill
%\begin{minipage}[t]{0.66\textwidth} % The right column takes up 66% of the text width of the page
%\section{Example Section 2}
%\end{minipage} % The end of the right column
%----------------------------------------------------------------------------------------
\end{document}
Code: Select all
% XeLaTeX can use any Mac OS X font. See the setromanfont command below.
% Input to XeLaTeX is full Unicode, so Unicode characters can be typed directly into the source.
% The next lines tell TeXShop to typeset with xelatex, and to open and save the source with Unicode encoding.
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[12pt]{article}
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{letterpaper} % ... or a4paper or a5paper or ...
%\geometry{landscape} % Activate for for rotated page geometry
%\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx}
\usepackage{amssymb}
% Will Robertson's fontspec.sty can be used to simplify font choices.
% To experiment, open /Applications/Font Book to examine the fonts provided on Mac OS X,
% and change "Hoefler Text" to any of these choices.
\usepackage{fontspec,xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Mapping=tex-text]{Hoefler Text}
\setsansfont[Scale=MatchLowercase,Mapping=tex-text]{Gill Sans}
\setmonofont[Scale=MatchLowercase]{Andale Mono}
\title{Brief hhhhArticle}
\author{The Author}
%\date{} % Activate to display a given date or no date
\begin{document}
\maketitle
% For many users, the previous commands will be enough.
% If you want to directly input Unicode, add an Input Menu or Keyboard to the menu bar
% using the International Panel in System Preferences.
% Unicode must be typeset using a font containing the appropriate characters.
% Remove the comment signs below for examples.
% \newfontfamily{\A}{Geeza Pro}
% \newfontfamily{\H}[Scale=0.9]{Lucida Grande}
% \newfontfamily{\J}[Scale=0.85]{Osaka}
% Here are some multilingual Unicode fonts: this is Arabic text: {\A السلام عليكم}, this is Hebrew: {\H שלום},
% and here's some Japanese: {\J 今日は}.
\end{document} %----------------------------------------------------------------------------------------
% CLASS OPTIONS AND REQUIRED PACKAGES
%----------------------------------------------------------------------------------------
\ProvidesClass{deedy-resume}[2014/04/30 CV class]
\NeedsTeXFormat{LaTeX2e}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions\relax
\LoadClass{article}
\usepackage[hmargin=1.25cm, vmargin=0.75cm]{geometry} % Specifies horizontal and vertical page margins
\usepackage{hyperref} % Required for links
%----------------------------------------------------------------------------------------
% COLORS
%----------------------------------------------------------------------------------------
\usepackage[usenames,dvipsnames]{xcolor} % Required for custom colors
\definecolor{primary}{HTML}{2b2b2b} % The primary document color for content text
\definecolor{headings}{HTML}{6A6A6A} % The color of the large sections
\definecolor{subheadings}{HTML}{333333} % The color of subsections and places worked/studied
\definecolor{date}{HTML}{666666} % The color used for the Last Updated text at the top right
%----------------------------------------------------------------------------------------
% FONTS
%----------------------------------------------------------------------------------------
\usepackage{fontspec} % Required for specifying custom fonts in XeLaTeX
\setmainfont[Color=primary, Path = fonts/lato/,BoldItalicFont=Lato-RegIta,BoldFont=Lato-Reg,ItalicFont=Lato-LigIta]{Lato-Lig} % The primary font for content text; defines bold, italic and bold-italic as well
\setsansfont[Scale=MatchLowercase,Mapping=tex-text, Path = fonts/raleway/]{Raleway-ExtraLight} % The font used where \sfffamily is called
%----------------------------------------------------------------------------------------
% LAST UPDATED COMMAND
%----------------------------------------------------------------------------------------
\usepackage[absolute]{textpos} % Required for positioning the Last Updated text at the top right of the page
\usepackage[UKenglish]{isodate} % Prints the Last Updated date in UK English format
\setlength{\TPHorizModule}{0.01\paperwidth} % Sets the units for the horizontal position used in the \begin{textblock} argument
\setlength{\TPVertModule}{0.01\paperwidth} % Sets the units for the vertical position used in the \begin{textblock} argument
\newcommand{\lastupdated}{ % Create a new command for printing the Last Updated text
\begin{textblock}{25}(75,2) % The position of the Last Updated text on the page (75% of the page across, 2% down)
\color{date}\fontspec[Path = fonts/raleway/]{Raleway-ExtraLight}\fontsize{8pt}{10pt}\selectfont % Text styling of the text
Last Updated on \today % Last Updated text
\end{textblock}}
%----------------------------------------------------------------------------------------
% MAIN HEADING COMMAND
%----------------------------------------------------------------------------------------
\newcommand{\namesection}[3]{ % Defines the command for the main heading
\centering{ % Center the name
\fontsize{40pt}{60pt} % Font size
\fontspec[Path = fonts/lato/]{Lato-Hai}\selectfont #1 % First name font
\fontspec[Path = fonts/lato/]{Lato-Lig}\selectfont #2 % Last name font
} \\[5pt] % Whitespace between the name and contact information
\centering{ % Center the contact information
\color{headings} % Use the headings color
\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{11pt}{14pt}\selectfont #3} % Contact information font
\noindent\makebox[\linewidth]{\color{headings}\rule{\paperwidth}{0.4pt}} % Horizontal rule
\vspace{-5pt} % Reduce whitespace after the rule slightly
}
%----------------------------------------------------------------------------------------
% SECTION TITLE STYLING AND SPACING
%----------------------------------------------------------------------------------------
\usepackage{titlesec} % Required for customizing section/subsection/etc titles
\titlespacing{\section}{0pt}{0pt}{0pt} % Removes the spacing around the main section titles
\titlespacing{\subsection}{0pt}{0pt}{0pt} % Removes the spacing around the subsections
\newcommand{\sectionspace}{\vspace{8pt}} % Defines a command to add a set amount of space after sections and subsections
\titleformat{\section}{ % Customize the large section titles
\color{headings}\scshape\fontspec[Path = fonts/lato/]{Lato-Lig}\fontsize{16pt}{24pt}\selectfont \raggedright\uppercase}{}{0em}{}
\titleformat{\subsection}{ % Customize the subsections and places worked/studied titles
\color{subheadings}\fontspec[Path = fonts/lato/]{Lato-Bol}\fontsize{12pt}{12pt}\selectfont\bfseries\uppercase}{}{0em}{}
\newcommand{\runsubsection}[1]{ % Used for creating subsections where a description is required on the same line
\color{subheadings}\fontspec[Path = fonts/lato/]{Lato-Bol}\fontsize{12pt}{12pt}\selectfont\bfseries\uppercase {#1} \normalfont}
\newcommand{\descript}[1]{ % Used for describing the subsection either on the same line or underneath
\color{subheadings}\raggedright\scshape\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{11pt}{13pt}\selectfont {#1 \\} \normalfont}
\newcommand{\location}[1]{ % Used for specifying a duration and/or location under a subsection
\color{headings}\raggedright\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{10pt}{12pt}\selectfont {#1\\} \normalfont}
%----------------------------------------------------------------------------------------
% SECTION TITLE STYLING AND SPACING
%----------------------------------------------------------------------------------------
\newenvironment{tightitemize} % Defines the tightitemize environment which modifies the itemize environment to be more compact
{\vspace{-\topsep}\begin{itemize}\itemsep1pt \parskip0pt \parsep0pt}
{\end{itemize}\vspace{-\topsep}}
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Trying to compile a template no avail
This
Because this is how the class actually starts.
Stefan
deedy-resume.cls
has something wrong at the beginning: a complete small document. Remove the lines before:Code: Select all
%----------------------------------------------------------------------------------------
% CLASS OPTIONS AND REQUIRED PACKAGES
%----------------------------------------------------------------------------------------
\ProvidesClass{deedy-resume}[2014/04/30 CV class]
Stefan
LaTeX.org admin
Trying to compile a template no avail
it worked!!! thank you, stefan!Stefan_K wrote:Thisdeedy-resume.cls
has something wrong at the beginning: a complete small document. Remove the lines before:
Because this is how the class actually starts.Code: Select all
%---------------------------------------------------------------------------------------- % CLASS OPTIONS AND REQUIRED PACKAGES %---------------------------------------------------------------------------------------- \ProvidesClass{deedy-resume}[2014/04/30 CV class]
Stefan