GeneralCover Letter and Resume Autofill

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
johnsar002
Posts: 1
Joined: Wed May 05, 2021 2:27 pm

Cover Letter and Resume Autofill

Post by johnsar002 »

I am looking to update my Coverletter and Resume in Latex, but I am stumped by this one problem.

The way i currently have my word document set up, I have basically an autofill box where i write in:

hiring manager name= _________
Job Title= _________
Company= __________
Mission Statement=___________

This way when I am applying to multiple jobs, if I fill out the company name and the job title, it is automatically populated into several different areas in the text. Is there some way in LaTex that I can insert a variable like this, and just populate the variable in my cover letter so that I can change the variable definition once, at the top of the document, and see it autopopulate?

I utilize this function in word a lot, and I cannot figure out how to make this work in Latex. I have to believe it is a simple dummy variable or something, but I haven't seen this question asked or answered.

Thanks in advanced!

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Cover Letter and Resume Autofill

Post by Ijon Tichy »

Depends on the letter class you are using. Generally macros are used for such variables. Define, e.g.,

Code: Select all

\newcommand*{\Manager}{John Doe}
at the beginning and then use

Code: Select all

\Manager
where ever and as often as you like. Some classes and packages provide extensions of this. See, e.g., \newkomavar, \setkomavar, \usekomavar in the manual of scrlttr2 or scrletter.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply