[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-22041afd0340ce965d47ae6ef1cefeee28c7c493a6346c4f15d667ab976d596c.svg)](https://classroom.github.com/a/loGxo22r) [![Open in Codespaces](https://classroom.github.com/assets/launch-codespace-2972f46106e565e64193e422d61a12cf1da4916b45550586e14ef0a7c637dd04.svg)](https://classroom.github.com/open-in-codespaces?assignment_repo_id=16359747) = GitHub Classroom Assignment: Create Your CV :experimental: true
This assignment will guide you through creating your own CV using LaTeX and GitHub. You will use a GitHub repository template with a pre-configured simplehipstercv.cls
file. By the end of this assignment, you will have your personalized CV hosted on GitHub, and you will create a release.
Please note:
-
You must use VSCode for this assignment.
-
Commit regularly and push changes to GitHub frequently.
-
You must replace the provided photo with your own.
-
Accept the Assignment:
-
Go to the GitHub Classroom invitation link provided by your instructor.
-
Click the btn:[Accept this assignment] button.
-
-
Clone the Repository:
-
Once your repository is created, navigate to your repository page on GitHub.
-
Copy the repository URL and clone it to your local machine using Git from VSCode.
-
$ git clone https://github.com/<your-username>/<repository-name>.git
Replace the URL with the proper one.
-
Open the Project in VSCode:
-
Open VSCode on your machine.
-
From the
File
menu, click btn:[Open Folder], and select the folder of the cloned repository.
-
$ code <repository-name>
You should see the following files:
-
main.tex
: This is the main LaTeX file you will modify. -
simplehipstercv.cls
andsimplehipstercv.sty
: These are the LaTeX class and style files that define the layout. -
Several image files: You must replace the
jack.jpg
image with your own.
-
Open the
main.tex
file in VSCode:-
In the Explorer panel in VSCode, open
main.tex
.
-
-
Update Your Personal Information: Modify the following sections in
main.tex
to reflect your own information:-
Name
-
Title
-
Contact information
-
Degrees and Certifications
-
Skills, Programming Languages
-
Work Experience
-
Languages
-
Any other sections that apply to your CV.
-
-
Replace the Profile Photo:
-
Replace the image
jack.jpg
in the project directory with your own photo, making sure it’s named exactly the same (e.g.,jack.jpg
). -
Ensure your photo is in a supported format like
.jpg
,.jpeg
, or.png
. -
Update the LaTeX command in
main.tex
to use the new photo (if the filename changes):
-
\includegraphics[width=1.1\linewidth]{jack.jpg} % Ensure your image is named 'jack.jpg'
You must commit changes regularly to track your progress. Aim to commit after each significant modification to your CV (e.g., after updating a section or adding a photo).
-
Stage and Commit: After making changes, stage the changes and commit them using VSCode’s built-in Git tools or from the terminal.
-
In VSCode, go to the
Source Control
view (click theSource Control
icon on the sidebar). -
Stage your changes by clicking the
+
next to each file. -
Write a meaningful commit message in the input box (e.g., "Updated CV details" or "Added profile picture").
-
Alternatively, you can use the terminal in VSCode:
$ git add .
$ git commit -m "Updated personal information"
-
Push Changes to GitHub: Push your committed changes to the remote repository on GitHub. You should do this frequently to back up your work.
In VSCode, go to the Source Control
panel and click btn:[Push].
Alternatively, from the terminal:
$ git push origin main
To ensure your CV is correctly formatted, you can compile the LaTeX file into a PDF. VSCode has LaTeX plugins, such as LaTeX Workshop, that can compile the document directly.
> Install LaTeX Workshop from the VSCode extension marketplace and then compile the main.tex
file by opening the Command Palette (btn:[Ctrl+Shift+P] or btn:[Cmd+Shift+P] on macOS) and typing LaTeX Workshop: Build LaTeX project
.
Tip
|
LaTeX Workshop is a VSCode extension will be automatically recommended for installation when you open the project in VSCode. |
Alternatively, compile it using the terminal:
$ pdflatex main.tex
Check the output PDF and ensure everything looks correct.
Throughout this assignment, you are expected to:
-
Commit after every major change (e.g., after updating your photo, updating work experience, or modifying the structure).
-
Push your changes to GitHub regularly to ensure your repository is always up to date.
Once you’re satisfied with your CV, you will create a release on GitHub. A release allows you to package your final PDF version of your CV for download.
-
Generate the Final PDF: Compile your
main.tex
into a final PDF. -
Go to Your Repository on GitHub:
-
Navigate to your GitHub repository.
-
-
Create a New Release:
-
Click the btn:[Releases] tab.
-
Click btn:[Draft a new release].
-
-
Fill in the Release Information:
-
Tag the release (e.g.,
v1.0
). -
Give it a title (e.g.,
Final CV Release
). -
In the description, mention what you’ve updated or finalized.
-
-
Attach the PDF:
-
Upload your final CV PDF (e.g.,
main.pdf
) as an asset for the release.
-
-
Publish the Release:
-
Click btn:[Publish release] to finalize it.
-
Once your release is published, submit the release link to your instructor as your final deliverable.
-
Latex Compilation Issues: Ensure that all necessary LaTeX packages are installed. Check for missing packages in the error logs.
-
Git Issues: If you encounter issues with Git commands or pushing, make sure you’re authenticated correctly, or refer to Git’s troubleshooting guides.
-
VSCode Extensions: Make sure LaTeX Workshop and Git extensions are installed for easy integration with LaTeX and version control.
-
GitHub Docs: https://docs.github.com
-
VSCode Docs: https://code.visualstudio.com/docs
-
Overleaf LaTeX Editor (optional): https://www.overleaf.com
-
LaTeX Wikibook: https://en.wikibooks.org/wiki/LaTeX