Skip to content

phpanhey/pythonic_latex_letter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pythonic_latex_letter 👁💌🐍

pythonic latex letter creates a slick letter with signature. all you need to do is to create a config file.

usage

the script depends on a configuration file. name the json file however you like e.g. : john_doe_contract_cancellation.json

{
    "name": "John Doe",
    "street": "John Doe Street 17",
    "zip": "29875",
    "place": "New Yrk",
    "subject": "Contract cancellation",
    "destinationaddress": [
        "Alphabet Inc.",
        "1600 Amphitheater",
        "Parkway Mountain View",
        "CA 94043 USA"
    ],
    "opening": "Hi there",
    "body": "lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
    "closing": "Yours faithfully",
    "date": "08/27/2050",
}

typing

python3 pythonic_latex_letter.py --config john_doe_contract_cancellation.json

will generate a john_doe_contract_cancellation.pdf.

dependecies

command line pdflatex is required.

About

a shortcut to generate a professional letter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published