GeneralAdding age / Years since to resume / CV

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
pjrobertson
Posts: 3
Joined: Thu Jun 04, 2009 2:59 pm

Adding age / Years since to resume / CV

Post by pjrobertson »

Hi there,

I'm currently writing my CV and am adding an 'age' heading which will have something like: 18 years 3 months

Is there any way to specify a certain date (e.g. my birth date) and get LaTeX to figure out how many years and months have passed since then, so I don't have to update my CV manually every time I reprint it.

If this isn't possible, what's the best way to remind me to update my age?
e.g. is there a way to add a warning so when I'm typesetting it'll pop up to remind me to check the date.

Thanks,

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Adding age / Years since to resume / CV

Post by localghost »

pjrobertson wrote:[...] If this isn't possible, what's the best way to remind me to update my age? [...]
Just insert your date of birth as it is usually done. This will never have to be updated.


Best regards and welcome to the board
Thorsten
pjrobertson
Posts: 3
Joined: Thu Jun 04, 2009 2:59 pm

Re: Adding age / Years since to resume / CV

Post by pjrobertson »

Is it not the custom in the UK to have your age? If not then the problem is simple to solve, and thank you!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Adding age / Years since to resume / CV

Post by localghost »

pjrobertson wrote:Is it not the custom in the UK to have your age? [...]
Such things should be typeset according to the typographical standards in the UK. But I'm not familiar with that. In a CV I have never seen an age given in the way you want do that.
pjrobertson
Posts: 3
Joined: Thu Jun 04, 2009 2:59 pm

Re: Adding age / Years since to resume / CV

Post by pjrobertson »

Cool,

thanks for the help and speedy replies.

Is it actually possible with LaTeX though (incase I ever need the facility in the future)?
PGScooter
Posts: 31
Joined: Mon Jul 14, 2008 2:47 pm

Re: Adding age / Years since to resume / CV

Post by PGScooter »

Although I am unexperienced with LaTeX, I am pretty sure that there is a way. One possibility is perltex. For that you would have to know Perl though :). I haven't tried it yet, but might be willing to give it a try if this issue is important to you.
http://tug.ctan.org/tex-archive/macros/ ... b/perltex/
Post Reply