I have a 30 page apartment lease that I have to fill out with tenants every year. In this lease there are several spaces which I have to go to and enter text such as name of tenant, date, apartment, rent amount, security deposit, move in, move out, etc.. I spend most of my time proof reading and I always worry I am forgetting to edit some section.
My question is this, at beginning of the latex code can I have a section that looks like this:
- Landlord name
- Tenant name
- Rent price
- Security deposit price
- Guarantor
- Move in
- Move out
and then once I fill in each line, it would input that result in a certain place in the 30 page document where it is needed. So I would never have to go through the whole document again but just rely on filling in the code at the beginning and knowing it will fill it in automatically. I would proofread it of course.
Thanks for the help

\newcommand{\tenant}{<your tenants name>}. You can then use\tenantinside of your document's text wherever you want the tenants name to appear. In order to change the name throughout the document, just change the definition in the preamble and recompile. – leandriis Jun 05 '21 at 08:34