### Sample BibTeX Entries Source: https://context7.com/liantze/altacv/llms.txt Examples of BibTeX entries for an article and a conference proceeding, demonstrating the required fields for BibLaTeX integration with AltaCV. ```bibtex @article{smith:2023, title = {Machine Learning for CV Generation}, journal = {Journal of Document Processing}, volume = {15}, author = {Smith, John and Doe, Jane and Johnson, Bob}, year = {2023} } @inproceedings{smith:conf:2022, title = {Automated Resume Parsing with NLP}, booktitle = {Proceedings of the ACM Conference on AI}, author = {Smith, John A. and Williams, Alice}, year = {2022}, address = {New York, NY} } ``` -------------------------------- ### Basic AltaCV Document Setup Source: https://context7.com/liantze/altacv/llms.txt Loads the AltaCV class with options for photo style, text justification, and hyperlinks. Includes page geometry configuration and the paracol package for two-column layout. ```latex % Basic setup with circular photos (default) and clickable hyperlinks \documentclass[10pt,a4paper,withhyper]{altacv} % Alternative: normal (non-circular) photos % \documentclass[10pt,a4paper,withhyper,normalphoto]{altacv} % Alternative: ragged2e for better hyphenation while keeping left-justified text % \documentclass[10pt,a4paper,withhyper,ragged2e]{altacv} % Load paracol for two-column layout \usepackage{paracol} % Configure page geometry \geometry{left=1.25cm,right=1.25cm,top=1.5cm,bottom=1.5cm,columnsep=1.2cm} ``` -------------------------------- ### Adjust Header Width with \begin{adjustwidth} Source: https://github.com/liantze/altacv/blob/main/README.md Use the adjustwidth environment to modify the width of the header. This example reduces the sidebar by 2cm and extends the main column by 2cm. ```latex \begin{adjustwidth}{}{-10cm} %% original was -8cm \makecvheader \end{adjustwidth} ``` -------------------------------- ### Configure Icon Markers with \renewcommand Source: https://context7.com/liantze/altacv/llms.txt Replace default icons for list items, skills, dates, and locations by redefining commands like \cvItemMarker, \cvRatingMarker, \cvDateMarker, and \cvLocationMarker. Examples show using text symbols or FontAwesome icons. ```latex % Bullet point marker for itemize lists \renewcommand{\cvItemMarker}{{\small\textbullet}} % Alternative: \renewcommand{\cvItemMarker}{\faAngleRight} % Rating marker for \cvskill \renewcommand{\cvRatingMarker}{\faCircle} % Alternative: \renewcommand{\cvRatingMarker}{\faStar} % Date marker for \cvevent \renewcommand{\cvDateMarker}{\faCalendar[regular]} % Alternative: \renewcommand{\cvDateMarker}{\faClock} % Location marker for \cvevent \renewcommand{\cvLocationMarker}{\faMapMarker} % Alternative: \renewcommand{\cvLocationMarker}{\faMapPin} ``` -------------------------------- ### Customize Font Commands with \renewcommand Source: https://context7.com/liantze/altacv/llms.txt Modify the fonts for various CV elements like names, taglines, headings, and body text using \renewcommand. This example also shows conditional font setup for pdfLaTeX vs. XeLaTeX/LuaLaTeX. ```latex % Customize fonts \renewcommand{\namefont}{\Huge\rmfamily\bfseries} \renewcommand{\taglinefont}{\large\bfseries} \renewcommand{\personalinfofont}{\footnotesize} \renewcommand{\cvsectionfont}{\LARGE\rmfamily\bfseries} \renewcommand{\cvsubsectionfont}{\large\bfseries} % Example with different font families (requires appropriate packages) \iftutex \setmainfont{Roboto Slab} \setsansfont{Lato} \renewcommand{\familydefault}{\sfdefault} \else \usepackage[rm]{roboto} \usepackage[defaultsans]{lato} \renewcommand{\familydefault}{\sfdefault} \fi ``` -------------------------------- ### Adjust Page Geometry and Sidebar Width Source: https://github.com/liantze/altacv/blob/main/README.md Modify page margins and sidebar width using the \geometry command. This example widens the right sidebar by 2cm. ```latex %% original was right=9cm, marginparwidth=6.8cm \geometry{left=1cm,right=11cm,marginparwidth=8.8cm,marginparsep=1.2cm,top=1cm,bottom=1cm} ``` -------------------------------- ### Define Custom Info Fields with Star Source: https://context7.com/liantze/altacv/llms.txt Use \NewInfoField*{...} for platforms with non-standard URLs, requiring an explicit URL as the second argument. Then use the field with two arguments: display text and the full URL. ```latex % Define field with star - requires explicit URL as second argument \NewInfoField*{mastodon}{\faMastodon} \NewInfoField*{bluesky}{\faCloud} % Use with two arguments: display text and full URL \personalinfo{% \mastodon{@user@fosstodon.org}{https://fosstodon.org/@user} \bluesky{@user.bsky.social}{https://bsky.app/profile/user.bsky.social} } ``` -------------------------------- ### Two-Column Layout with paracol Source: https://context7.com/liantze/altacv/llms.txt Set up a flexible two-column layout using the \texttt{paracol} package. Adjust the column width ratio using \texttt{\columnratio}. Content is placed in columns, switching between them with \texttt{\switchcolumn}. ```latex \usepackage{paracol} \begin{document} \makecvheader %% Set the left/right column width ratio to 6:4 \columnratio{0.6} % Start a 2-column paracol \begin{paracol}{2} % LEFT COLUMN CONTENT \cvsection{Experience} \cvevent{Senior Developer}{Tech Corp}{Jan 2020 -- Present}{San Francisco, CA} \begin{itemize} \item Led development of microservices architecture \item Mentored team of 5 junior developers \end{itemize} \divider \cvevent{Developer}{Startup Inc}{Jun 2017 -- Dec 2019}{Austin, TX} \begin{itemize} \item Built REST APIs serving 1M+ daily requests \end{itemize} % Switch to RIGHT COLUMN \switchcolumn \cvsection{Education} \cvevent{M.S. Computer Science}{MIT}{2015 -- 2017}{} \cvevent{B.S. Computer Science}{UC Berkeley}{2011 -- 2015}{} \cvsection{Skills} \cvtag{Python} \cvtag{Go} \cvtag{Kubernetes}\ \cvtag{AWS} \cvtag{PostgreSQL} \end{paracol} \end{document} ``` -------------------------------- ### Create Pie/Wheel Chart with \wheelchart Source: https://context7.com/liantze/altacv/llms.txt Generates a pie or wheel chart visualization. Specify outer and inner radii, followed by comma-separated values for each segment including its size, width, color, and text. ```latex \cvsection{A Day of My Life} % \wheelchart{outer radius}{inner radius}{ % value/text width/color/detail, ... % } \wheelchart{1.5cm}{0.5cm}{ 8/8em/accent!60/Work \& meetings, 6/8em/accent!30/Sleep, 3/8em/accent!40/Side projects, 2/8em/accent!20/Exercise, 3/6em/accent!50/Family time, 2/8em/accent!10/Reading } ``` -------------------------------- ### Define and Use New Information Fields Source: https://github.com/liantze/altacv/blob/main/README.md Define a new information field using `\NewInfoField` for reuse. The field can optionally include a default hyperlink prefix. Then, use the defined field name like a command. ```latex \NewInfoField{gitlab}{\faGitlab}[https://gitlab.com/] \gitlab{your_id} ``` -------------------------------- ### Integrate BibLaTeX for Publications Source: https://context7.com/liantze/altacv/llms.txt Set up AltaCV to display publication lists using BibLaTeX. This involves loading configuration files, adding your bibliography, specifying your name for highlighting, and printing bibliographies by type. ```latex % In preamble - choose citation style % For IEEE numeric style: \input{pubs-num.cfg} % Or for APA author-year style: % \input{pubs-authoryear.cfg} % Load your bibliography file \addbibresource{publications.bib} % In document - highlight your name in publications \mynames{Smith/John, Smith/J., Smith/John\bibnamedelima A.} % Print publications by type with custom headings \cvsection{Publications} \nocite{*} \printbibliography[heading=pubtype,title={\printinfo{\faBook}{Books}},type=book] \divider \printbibliography[heading=pubtype,title={\printinfo{\faFile*[regular]}{Journal Articles}},type=article] \divider \printbibliography[heading=pubtype,title={\printinfo{\faUsers}{Conference Proceedings}},type=inproceedings] ``` -------------------------------- ### Compilation Commands for AltaCV Source: https://context7.com/liantze/altacv/llms.txt Information on compiling your AltaCV document. It supports pdfLaTeX, XeLaTeX, and LuaLaTeX, with Biber recommended for handling publications. ```bash ``` -------------------------------- ### Basic pdfLaTeX Compilation Source: https://context7.com/liantze/altacv/llms.txt Compile your AltaCV document using pdfLaTeX. This is the standard method. Ensure you run it multiple times for references and table of contents to update correctly. ```bash pdflatex sample.tex biber sample # Only if using publications pdflatex sample.tex pdflatex sample.tex ``` -------------------------------- ### Create Skill Tags with \cvtag Source: https://context7.com/liantze/altacv/llms.txt Use \texttt{\cvtag} to create tags or badges for skills, technologies, or keywords. Use \texttt{\divider} and \texttt{\smallskip} for spacing between groups of tags. ```latex \cvsection{Technical Skills} \cvtag{Python} \cvtag{JavaScript} \cvtag{TypeScript}\ \cvtag{React} \cvtag{Node.js} \cvtag{GraphQL} \divider\smallskip \cvtag{AWS} \cvtag{Docker} \cvtag{Kubernetes}\ \cvtag{CI/CD} \cvtag{Terraform} ``` -------------------------------- ### Add Referee Information with \cvref Source: https://context7.com/liantze/altacv/llms.txt Use \texttt{\cvref} to add referee or reference entries, including name, affiliation, email, and address. Use \texttt{\divider} to separate multiple references. ```latex \cvsection{References} \cvref{Prof. John Smith}{MIT}{john.smith@mit.edu} {77 Massachusetts Ave\\ Cambridge, MA 02139} \divider \cvref{Dr. Jane Doe}{Google}{jane.doe@google.com} {1600 Amphitheatre Parkway\\ Mountain View, CA 94043} ``` -------------------------------- ### Synchronize Columns with \switchcolumn* Source: https://context7.com/liantze/altacv/llms.txt Use \texttt{\switchcolumn*} to synchronize columns at the current vertical position, ensuring content in the right column aligns with content in the left column. ```latex \begin{paracol}{2} \cvsection{Left Section} % Content here... \switchcolumn* % Synchronize and switch \cvsection{Right Section Aligned} % This starts at the same vertical position as "Left Section" \end{paracol} ``` -------------------------------- ### Print Information Field with Full Hyperlink Source: https://github.com/liantze/altacv/blob/main/README.md Use `\printinfo` directly with the symbol, detail, and the full hyperlink when a straightforward relation between user ID and hyperlink is not available, such as for Mastodon. ```latex \printinfo{\faMastodon}{@username@instace}[https://instance.url/@username] ``` -------------------------------- ### Print Custom Information Fields Source: https://github.com/liantze/altacv/blob/main/README.md Use the `\printinfo` command within `\personalinfo` to typeset arbitrary information fields with a symbol and detail. An optional hyperlink prefix can be provided. ```latex \printinfo{\faPaw}{Hey ho!} \printinfo{\faGitLab}{your-handle}[https://gitlab.com/] ``` -------------------------------- ### Display Achievements with \cvachievement Source: https://context7.com/liantze/altacv/llms.txt Use \texttt{\cvachievement} to display an achievement or award, optionally with an icon, title, and description. Use \texttt{\divider} to separate multiple achievements. ```latex \cvsection{Achievements} \cvachievement{\faTrophy}{Employee of the Year 2022}{Recognized for exceptional performance and leadership} \divider \cvachievement{\faAward}{AWS Solutions Architect}{Professional certification achieved with distinction} \divider \cvachievement{\faChartLine}{Revenue Growth}{Led initiatives that increased quarterly revenue by 45\%} \divider \cvachievement{\faGraduationCap}{Summa Cum Laude}{Graduated top of class with 4.0 GPA} ``` -------------------------------- ### Define Reusable Custom Info Fields Source: https://context7.com/liantze/altacv/llms.txt Creates reusable custom contact fields using \NewInfoField, which defines a field name, an icon, and an optional hyperlink prefix. These fields can then be used within \personalinfo like built-in fields. ```latex % Define a new field with automatic hyperlink prefix \NewInfoField{gitlab}{\faGitlab}[https://gitlab.com/] \NewInfoField{stackoverflow}{\faStackOverflow}[https://stackoverflow.com/users/] \NewInfoField{medium}{\faMedium}[https://medium.com/@] % Use the new fields \personalinfo{% \gitlab{your_id} % Links to https://gitlab.com/your_id \stackoverflow{12345678} % Links to https://stackoverflow.com/users/12345678 \medium{your_handle} % Links to https://medium.com/@your_handle } ``` -------------------------------- ### Render CV Header Source: https://context7.com/liantze/altacv/llms.txt Renders the complete CV header, including name, tagline, photos, and personal information. Ensure all header commands and personal info fields are defined before calling \makecvheader. ```latex \name{Jane Doe} \tagline{Data Scientist} \photoR{2.5cm}{jane-photo} \personalinfo{% \email{jane@example.com} \phone{+1-555-0123} \location{San Francisco, CA} \linkedin{janedoe} \github{janedoe} } \begin{document} \makecvheader % Rest of CV content... \end{document} ``` -------------------------------- ### Define Custom Colors with \definecolor and \colorlet Source: https://context7.com/liantze/altacv/llms.txt Customize CV colors by defining new colors using \definecolor with HTML values and then assigning them to AltaCV's color tokens using \colorlet. ```latex % Define custom colors \definecolor{VividPurple}{HTML}{3E0097} \definecolor{SlateGrey}{HTML}{2E2E2E} \definecolor{LightGrey}{HTML}{666666} \definecolor{DarkPastelRed}{HTML}{450808} \definecolor{PastelRed}{HTML}{8F0D0D} \definecolor{GoldenEarth}{HTML}{E7D192} % Apply to CV color tokens \colorlet{name}{black} % Name text color \colorlet{tagline}{PastelRed} % Tagline text color \colorlet{heading}{DarkPastelRed} % Section heading color \colorlet{headingrule}{GoldenEarth} % Section heading rule color \colorlet{subheading}{PastelRed} % Subsection heading color \colorlet{accent}{PastelRed} % Accent color (icons, links) \colorlet{emphasis}{SlateGrey} % Emphasized text color \colorlet{body}{LightGrey} % Body text color ``` -------------------------------- ### Format CV Entries with \cvevent Source: https://context7.com/liantze/altacv/llms.txt Use \texttt{\cvevent} to format entries for jobs, education, or projects. It accepts title, organization, date, and location as arguments. Optional bullet points can follow for details. ```latex % Full entry with all fields \cvevent{Software Engineer}{Google}{June 2018 -- Present}{Mountain View, CA} \begin{itemize} \item Developed machine learning pipelines processing 10TB daily \item Reduced infrastructure costs by 30% through optimization \end{itemize} \divider % Entry without location \cvevent{Ph.D. in Computer Science}{Stanford University}{Sept 2014 -- June 2018}{} Dissertation: "Scalable Distributed Systems for Real-Time Analytics" \divider % Entry with only title and organization (for ongoing projects) \cvevent{Open Source Maintainer}{Apache Kafka}{}{} \begin{itemize} \item Core contributor with 50+ merged pull requests \end{itemize} ``` -------------------------------- ### Custom Personal Information Field with Icon Source: https://context7.com/liantze/altacv/llms.txt Adds custom information fields using \printinfo, which takes an icon and text. An optional hyperlink prefix can be provided to automatically construct a URL by concatenating the prefix with the text value. ```latex \personalinfo{% % Basic usage: icon + text \printinfo{\faPaw}{Pet lover} % With hyperlink prefix (concatenated with the text value) \printinfo{\faGitLab}{your-handle}[https://gitlab.com/] % For platforms without simple URL patterns (e.g., Mastodon) % Provide full URL as the hyperlink \printinfo{\faMastodon}{@username@instance}[https://instance.url/@username] } ``` -------------------------------- ### Set CV Tagline Source: https://context7.com/liantze/altacv/llms.txt Sets the professional tagline or job title that appears below the name in the CV header. Use before \makecvheader. ```latex \tagline{Senior Software Engineer \& Open Source Enthusiast} ``` -------------------------------- ### Rate Skills with \cvskill Source: https://context7.com/liantze/altacv/llms.txt Use \texttt{\cvskill} to display a skill rating using filled circles. It accepts the skill name and a rating value from 0.5 to 5 in 0.5 increments. ```latex \cvsection{Languages} \cvskill{English}{5} % Native - 5 filled circles \divider \cvskill{Spanish}{4} % Fluent - 4 filled circles \divider \cvskill{German}{3.5} % Conversational - 3.5 filled circles \divider \cvskill{Japanese}{2} % Basic - 2 filled circles ``` -------------------------------- ### Built-in Personal Information Fields Source: https://context7.com/liantze/altacv/llms.txt Defines common contact information fields within the \personalinfo environment. When the \documentclass option 'withhyper' is used, fields like email, phone, homepage, and social media links are automatically hyperlinked. ```latex \personalinfo{% % Email - links to mailto: \email{your_name@email.com} % Phone - links to tel: \phone{000-00-0000} % Physical mailing address (no hyperlink) \mailaddress{123 Main Street, City, 00000 Country} % Location/city (no hyperlink) \location{New York, USA} % Homepage - links to https:// \homepage{www.yoursite.com} % Social media - each links to appropriate platform URL \xtwitter{@yourusername} % X (formerly Twitter) \linkedin{your-linkedin-id} \github{your-github-username} \orcid{0000-0000-0000-0000} } ``` -------------------------------- ### Set CV Name Source: https://context7.com/liantze/altacv/llms.txt Sets the name displayed prominently at the top of the CV. This command should be used before \makecvheader. ```latex \name{John Smith} ``` -------------------------------- ### Define New Info Field for Full Hyperlink Source: https://github.com/liantze/altacv/blob/main/README.md Define a new info field using `\NewInfoField*` (with a star) to allow specifying the full hyperlink as the second argument when using the new field command. ```latex \NewInfoField*{mastodon}{\faMastodon} \mastodon{@username@instance}{https://instance.url/@username} ``` -------------------------------- ### Customize Hyperlink Prefix and Symbol Source: https://github.com/liantze/altacv/blob/main/README.md Redefine the hyperlink prefix and symbol for personal detail fields when the `withhyper` option is enabled. Useful if your homepage does not use HTTPS or if you prefer a different symbol. ```latex \renewcommand{\homepagehyperprefix}{http://} \renewcommand{\homepagesymbol}{\faLink} ``` -------------------------------- ### LuaLaTeX Compilation Source: https://context7.com/liantze/altacv/llms.txt Compile your AltaCV document using LuaLaTeX. This engine offers advanced features and is compatible with Lua scripts. Run multiple times for full updates. ```bash lualatex sample.tex biber sample lualatex sample.tex ``` -------------------------------- ### Localize Text for ATS with \renewcommand Source: https://context7.com/liantze/altacv/llms.txt Customize the text labels for common CV elements like 'Location' and 'Date' to ensure better text extraction by Applicant Tracking Systems (ATS), especially for non-English CVs. ```latex % Spanish localization \renewcommand{\locationname}{Ubicación} \renewcommand{\datename}{Fecha} % German localization % \renewcommand{\locationname}{Standort} % \renewcommand{\datename}{Datum} % French localization % \renewcommand{\locationname}{Lieu} % \renewcommand{\datename}{Date} ``` -------------------------------- ### Add Sidebar to Next Page Section Source: https://github.com/liantze/altacv/blob/main/README.md Use this command to add sidebar content to the next page's section. The optional argument adjusts the sidebar's vertical alignment. ```latex \cvsection[p1sidebar]{Experience} ... ... END OF FIRST PAGE OF YOUR CV ... \cvsection[page2sidebar]{Publications} ... ``` ```latex \addnextpagesidebar[-1ex]{page3sidebar} ``` -------------------------------- ### Customize Replacement Text for Icons Source: https://github.com/liantze/altacv/blob/main/README.md Redefine `\locationname` and `\datename` to provide replacement text for icons in the `\cvevent` command. This is useful for non-English CVs or to improve ATS compatibility. ```latex \renewcommand{\locationname}{Ubicación} \renewcommand{\datename}{Fecha} ``` -------------------------------- ### Create Subsection Heading Source: https://context7.com/liantze/altacv/llms.txt Use \texttt{\cvsubsection} to create a subsection heading within a major section, allowing for further organization of content. ```latex \cvsection{Experience} \cvsubsection{Management Roles} % Management experience entries... \cvsubsection{Technical Roles} % Technical experience entries... ``` -------------------------------- ### Two-Column Layout with Page Breaking in LaTeX Source: https://github.com/liantze/altacv/blob/main/README.md Use the paracol package to create two columns that can break across pages. This is useful for organizing content like experience and education side-by-side. ```latex %% Set the left/right column width ratio to 6:4. \columnratio{0.6} % Start a 2-column paracol. Both the left and right columns will automatically % break across pages if things get too long. \begin{paracol}{2} \cvsection{Experience} ... ... END OF LEFT COLUMN CONTENTS ... % Now switch to the right column. \switchcolumn \cvsection{Education} ... ...END OF RIGHT COLUMN CONTENTS ... \end{paracol} ``` -------------------------------- ### Create Major Section Heading Source: https://context7.com/liantze/altacv/llms.txt Use \texttt{\cvsection} to create a major section heading in your CV, typically followed by a decorative rule. ```latex \cvsection{Work Experience} \cvsection{Education} \cvsection{Projects} ``` -------------------------------- ### Raw Text Extraction for ATS Source: https://context7.com/liantze/altacv/llms.txt Use `pdftotext -raw` to extract plain text from your generated PDF, stripping away layout information. This is useful for verifying if your CV content is easily readable by Applicant Tracking Systems (ATS). ```bash pdftotext -raw sample.pdf ``` -------------------------------- ### Layout-Preserving Text Extraction for ATS Source: https://context7.com/liantze/altacv/llms.txt Use `pdftotext -layout` to extract text from your PDF while attempting to preserve the original layout, including columns. This can help identify how ATS might interpret your CV's structure. ```bash pdftotext -layout sample.pdf ``` -------------------------------- ### XeLaTeX Compilation with Shell Escape Source: https://context7.com/liantze/altacv/llms.txt Compile your AltaCV document using XeLaTeX, which is required for certain features or fonts. The -shell-escape option is often necessary for external commands. The -output-driver option specifies the PDF output method. ```bash xelatex -shell-escape -output-driver="xdvipdfmx -z 0" sample.tex biber sample xelatex -shell-escape -output-driver="xdvipdfmx -z 0" sample.tex ``` -------------------------------- ### Add Photos to CV Header Source: https://context7.com/liantze/altacv/llms.txt Adds circular photos to the CV header. Use \photoR for the right side or \photoL for the left. Multiple photos can be specified by comma-separating filenames. The \photo command is an alias for \photoR. ```latex % Single photo on the right (2.8cm diameter) \photoR{2.8cm}{profile-photo} % Multiple photos on the left (2.5cm diameter each) \photoL{2.5cm}{company-logo,university-logo} % \photo is an alias for \photoR \photo{2.5cm}{my-photo} ``` -------------------------------- ### Add Visual Separator with \divider Source: https://context7.com/liantze/altacv/llms.txt Use the \divider command to insert a horizontal line for visual separation between different sections or entries in your CV. ```latex \cvevent{Job 1}{Company A}{2020 -- Present}{} \begin{itemize} \item Accomplishment 1 \end{itemize} \divider \cvevent{Job 2}{Company B}{2018 -- 2020}{} \begin{itemize} \item Accomplishment 2 \end{itemize} ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.