### Complete CV Template Assembly Source: https://context7.com/jskherman/imprecv/llms.txt A full example demonstrating how to import the package, define user variables, set layout rules, and render CV sections from a YAML data source. ```typst #import "@preview/imprecv:1.0.1": * #let cvdata = yaml("template.yml") #let uservars = ( headingfont: "Libertinus Serif", bodyfont: "Libertinus Serif", fontsize: 10pt, linespacing: 6pt, sectionspacing: 0pt, showAddress: true, showNumber: true, showTitle: true, headingsmallcaps: false, sendnote: false, ) #let customrules(doc) = { set page( paper: "us-letter", numbering: "1 / 1", number-align: center, margin: 1.25cm, ) doc } #let cvinit(doc) = { doc = setrules(uservars, doc) doc = showrules(uservars, doc) doc = customrules(doc) doc } #show: doc => cvinit(doc) #cvheading(cvdata, uservars) #cvwork(cvdata) #cveducation(cvdata) #cvaffiliations(cvdata) #cvprojects(cvdata) #cvawards(cvdata) #cvcertificates(cvdata) #cvpublications(cvdata) #cvskills(cvdata) #cvreferences(cvdata) #endnote(uservars) ``` -------------------------------- ### cvinit - Initialize Document Source: https://context7.com/jskherman/imprecv/llms.txt Initializes the CV document by applying text rules, heading styles, and custom page settings. ```APIDOC ## cvinit ### Description Initializes the CV document by applying text rules, heading styles, and custom page settings. This function wraps the entire document. ### Parameters - **doc** (content) - Required - The document content to be initialized. ``` -------------------------------- ### Initialize CV Document Source: https://context7.com/jskherman/imprecv/llms.txt Initializes the CV document by applying text rules, heading styles, and custom page settings. ```typst #import "@preview/imprecv:1.0.1": * #let cvdata = yaml("template.yml") #let uservars = ( headingfont: "Libertinus Serif", bodyfont: "Libertinus Serif", fontsize: 10pt, linespacing: 6pt, sectionspacing: 0pt, showAddress: true, showNumber: true, showTitle: true, headingsmallcaps: false, sendnote: false, ) #let customrules(doc) = { set page( paper: "us-letter", numbering: "1 / 1", number-align: center, margin: 1.25cm, ) doc } #let cvinit(doc) = { doc = setrules(uservars, doc) doc = showrules(uservars, doc) doc = customrules(doc) doc } #show: doc => cvinit(doc) #cvheading(cvdata, uservars) #cvwork(cvdata) #cveducation(cvdata) #cvskills(cvdata) ``` -------------------------------- ### Render CV Header Source: https://context7.com/jskherman/imprecv/llms.txt Import the template and render the header using the cvheading function. ```typst #import "@preview/imprecv:1.0.1": * #let cvdata = yaml("template.yml") #cvheading(cvdata, uservars) // YAML data structure for personal section: // personal: // name: John Smith L. Doe // email: johndoe@example.com // phone: (+1) 987 6543 210 // url: https://johndoe.com // titles: // - Software Engineer // - Data Analyst // location: // city: New York // region: New York // country: United States of America // profiles: // - network: LinkedIn // username: John Doe // url: https://linkedin.com/in/johndoe ``` -------------------------------- ### Render CV Projects Source: https://context7.com/jskherman/imprecv/llms.txt Renders project entries with name, affiliation, date range, and highlights. ```typst #cvprojects(cvdata) // Or with custom title: #cvprojects(cvdata, title: "Personal Projects", isbreakable: true) // YAML data structure: // projects: // - name: "Job Tailor" // url: https://example.com/ // affiliation: Open University // startDate: 2020-11-01 // endDate: 2021-04-30 // highlights: // - Developed an AI-powered résumé editor app // - Acquired more than 100,000 user sign ups // - Generated profit of upwards $20,000 yearly ``` -------------------------------- ### Render CV References Source: https://context7.com/jskherman/imprecv/llms.txt Renders professional references with name, testimonial quote, and optional URL. ```typst #cvreferences(cvdata) // Or with custom title: #cvreferences(cvdata, title: "References", isbreakable: true) // YAML data structure: // references: // - name: Dr. Jane Austin // reference: John was a great student. He was always eager to learn new things. // url: https://janeaustin.com ``` -------------------------------- ### Render Education Source: https://context7.com/jskherman/imprecv/llms.txt Display academic background using the cveducation function. ```typst #cveducation(cvdata) // Or with custom title: #cveducation(cvdata, title: "Academic Background", isbreakable: true) // YAML data structure: // education: // - institution: Open University // url: https://example.com/ // area: Computer Science // studyType: Bachelor of Science // startDate: 2017-08-01 // endDate: 2021-06-30 // location: City of London, United Kingdom // honors: // - 4.0 / 4.0 GPA // - President's List // courses: // - Algorithms & Data Structures // - Engineering Data Analysis // highlights: // - "*Thesis*: Neural network for climate prediction" ``` -------------------------------- ### cvskills - Display Skills, Languages, and Interests Source: https://context7.com/jskherman/imprecv/llms.txt Renders skills organized by category, language proficiencies, and personal interests. ```APIDOC ## cvskills ### Description Renders skills organized by category, language proficiencies, and personal interests. ### Parameters - **cvdata** (object) - Required - The data source containing skills, languages, and interests. - **title** (string) - Optional - Custom title for the section. - **isbreakable** (boolean) - Optional - Whether the section can break across pages. ``` -------------------------------- ### cvprojects - Display Projects Source: https://context7.com/jskherman/imprecv/llms.txt Renders project entries with name, affiliation, date range, and accomplishment highlights. ```APIDOC ## cvprojects ### Description Renders project entries with name, affiliation, date range, and accomplishment highlights. ### Parameters - **cvdata** (object) - Required - The data source containing project information. - **title** (string) - Optional - Custom title for the section. - **isbreakable** (boolean) - Optional - Whether the section can break across pages. ``` -------------------------------- ### Handle CV Dates Source: https://context7.com/jskherman/imprecv/llms.txt Helper functions for parsing ISO dates and formatting date ranges in CV entries. ```typst // strpdate: Parse ISO date string to formatted display // Input: "2021-08-01" or "present" // Output: "Aug 2021" or "Present" #let start = utils.strpdate("2021-08-01") // Returns "Aug 2021" #let end = utils.strpdate("present") // Returns "Present" // daterange: Format a date range for display #utils.daterange(start, end) // Outputs: "Aug 2021 – Present" // monthname: Convert month number to name #let month = utils.monthname(8, display: "short") // Returns "Aug" #let month = utils.monthname(8, display: "long") // Returns "August" ``` -------------------------------- ### Render CV Certificates Source: https://context7.com/jskherman/imprecv/llms.txt Renders professional certifications with name, issuer, date, and optional credential ID. ```typst #cvcertificates(cvdata) // Or with custom title: #cvcertificates(cvdata, title: "Certifications", isbreakable: true) // YAML data structure: // certificates: // - name: "Learning How to Learn: Powerful mental tools" // date: 2021-09-01 // issuer: Coursera // url: https://example.com // id: "1MPR3CVR3SUM3" ``` -------------------------------- ### Configure CV Appearance Source: https://context7.com/jskherman/imprecv/llms.txt Define the uservars dictionary to customize fonts, spacing, and element visibility. ```typst #let uservars = ( headingfont: "Libertinus Serif", // Font for headings and name bodyfont: "Libertinus Serif", // Font for body text fontsize: 10pt, // Base font size linespacing: 6pt, // Line spacing within sections sectionspacing: 0pt, // Spacing between sections showAddress: true, // Display location/address showNumber: true, // Display phone number showTitle: true, // Display job titles under name headingsmallcaps: false, // Use small caps for headings sendnote: false, // Position of the endnote (true = sideways) ) ``` -------------------------------- ### Render CV Skills Source: https://context7.com/jskherman/imprecv/llms.txt Renders skills organized by category, language proficiencies, and personal interests. ```typst #cvskills(cvdata) // Or with custom title: #cvskills(cvdata, title: "Technical Skills", isbreakable: true) // YAML data structure: // skills: // - category: Programming // skills: // - Python // - SQL, PostgreSQL // - JavaScript // - category: Tools // skills: // - Git // - Docker // - VS Code // languages: // - language: English // fluency: Native speaker // - language: German // fluency: Native speaker // interests: // - Video Games // - Reading Non-fiction ``` -------------------------------- ### cvheading - Display CV Header Source: https://context7.com/jskherman/imprecv/llms.txt Renders the CV header including name, job titles, address, and contact information with social profiles. ```APIDOC ## cvheading ### Description Renders the CV header including name, job titles, address, and contact information with social profiles. ### Parameters - **cvdata** (dictionary) - Required - The parsed YAML data containing personal information. - **uservars** (dictionary) - Required - The configuration dictionary for styling. ### Request Example #cvheading(cvdata, uservars) ``` -------------------------------- ### Render Leadership and Activities Source: https://context7.com/jskherman/imprecv/llms.txt Display organizational affiliations using the cvaffiliations function. ```typst #cvaffiliations(cvdata) // Or with custom title: #cvaffiliations(cvdata, title: "Leadership and Activities", isbreakable: true) // YAML data structure: // affiliations: // - organization: White Hat Hackers Association // position: Vice President for Internal Affairs // location: Cambridge, United Kingdom // url: https://example.com // startDate: 2020-05-30 // endDate: 2021-05-30 // highlights: // - Organized 12 cybersecurity workshops // - Grew membership by 50% ``` -------------------------------- ### Render CV Publications Source: https://context7.com/jskherman/imprecv/llms.txt Renders academic publications with title, publisher, release date, and optional URL. ```typst #cvpublications(cvdata) // Or with custom title: #cvpublications(cvdata, title: "Publications", isbreakable: true) // YAML data structure: // publications: // - name: A convolutional neural network for predicting glacier melt // publisher: Theoretical and Computational Fluid Dynamics // releaseDate: 2020-09-30 // url: https://example.com ``` -------------------------------- ### cvreferences - Display References Source: https://context7.com/jskherman/imprecv/llms.txt Renders professional references with name, testimonial quote, and optional URL. ```APIDOC ## cvreferences ### Description Renders professional references with name, testimonial quote, and optional URL. ### Parameters - **cvdata** (object) - Required - The data source containing reference information. - **title** (string) - Optional - Custom title for the section. - **isbreakable** (boolean) - Optional - Whether the section can break across pages. ``` -------------------------------- ### cvcertificates - Display Licenses and Certifications Source: https://context7.com/jskherman/imprecv/llms.txt Renders professional certifications with name, issuer, date, and optional credential ID. ```APIDOC ## cvcertificates ### Description Renders professional certifications with name, issuer, date, and optional credential ID. ### Parameters - **cvdata** (object) - Required - The data source containing certification information. - **title** (string) - Optional - Custom title for the section. - **isbreakable** (boolean) - Optional - Whether the section can break across pages. ``` -------------------------------- ### Render Work Experience Source: https://context7.com/jskherman/imprecv/llms.txt Display work history using the cvwork function, with optional title and breakability settings. ```typst #cvwork(cvdata) // Or with custom title: #cvwork(cvdata, title: "Professional Experience", isbreakable: true) // YAML data structure: // work: // - organization: X Company // url: https://example.com // location: Remote / New York, New York // positions: // - position: Senior Software Engineer // startDate: 2021-08-01 // endDate: "present" // highlights: // - Led development of microservices architecture // - Improved system performance by 30% // - position: Software Engineer // startDate: 2019-05-31 // endDate: 2021-08-01 // highlights: // - Developed REST APIs using Python and FastAPI ``` -------------------------------- ### cvwork - Display Work Experience Source: https://context7.com/jskherman/imprecv/llms.txt Renders work experience entries with organization details, multiple positions per organization, date ranges, and bullet point highlights. ```APIDOC ## cvwork ### Description Renders work experience entries with organization details, multiple positions per organization, date ranges, and bullet point highlights. ### Parameters - **cvdata** (dictionary) - Required - The parsed YAML data containing work history. - **title** (string) - Optional - Custom title for the section. - **isbreakable** (boolean) - Optional - Whether the section can break across pages. ``` -------------------------------- ### cvaffiliations - Display Leadership and Activities Source: https://context7.com/jskherman/imprecv/llms.txt Renders organizational affiliations, leadership roles, and extracurricular activities with positions and accomplishments. ```APIDOC ## cvaffiliations ### Description Renders organizational affiliations, leadership roles, and extracurricular activities with positions and accomplishments. ### Parameters - **cvdata** (dictionary) - Required - The parsed YAML data containing affiliations. - **title** (string) - Optional - Custom title for the section. - **isbreakable** (boolean) - Optional - Whether the section can break across pages. ``` -------------------------------- ### cveducation - Display Education Source: https://context7.com/jskherman/imprecv/llms.txt Renders education entries with institution, degree, honors, relevant courses, and highlights. ```APIDOC ## cveducation ### Description Renders education entries with institution, degree, honors, relevant courses, and highlights. ### Parameters - **cvdata** (dictionary) - Required - The parsed YAML data containing education history. - **title** (string) - Optional - Custom title for the section. - **isbreakable** (boolean) - Optional - Whether the section can break across pages. ``` -------------------------------- ### cvpublications - Display Research and Publications Source: https://context7.com/jskherman/imprecv/llms.txt Renders academic publications with title, publisher, release date, and optional URL. ```APIDOC ## cvpublications ### Description Renders academic publications with title, publisher, release date, and optional URL. ### Parameters - **cvdata** (object) - Required - The data source containing publication information. - **title** (string) - Optional - Custom title for the section. - **isbreakable** (boolean) - Optional - Whether the section can break across pages. ``` -------------------------------- ### Render CV Awards Source: https://context7.com/jskherman/imprecv/llms.txt Renders awards and honors with title, issuer, date, location, and optional highlights. ```typst #cvawards(cvdata) // Or with custom title: #cvawards(cvdata, title: "Honors and Awards", isbreakable: true) // YAML data structure: // awards: // - title: Champion in Division A Speech Contest // date: 2023-05-09 // issuer: Toastmasters International // url: https://example.com // location: City of London, United Kingdom // highlights: // - Competed against 50 participants ``` -------------------------------- ### cvawards - Display Honors and Awards Source: https://context7.com/jskherman/imprecv/llms.txt Renders awards and honors with title, issuer, date, location, and optional highlights. ```APIDOC ## cvawards ### Description Renders awards and honors with title, issuer, date, location, and optional highlights. ### Parameters - **cvdata** (object) - Required - The data source containing award information. - **title** (string) - Optional - Custom title for the section. - **isbreakable** (boolean) - Optional - Whether the section can break across pages. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.