Skip to content

DeMOFromMars/LaTex-File-Maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaTeX File Maker

A python program/library to create and edit individual tex files.

Requirements

  • Python 3.X

Installation

This program has yet to have an automated installation process, however it can be added to a bash session by using an alias:

$ alias lfm="python3 ~/Path/To/File/LatexTemplate.py 

This can be added to your .bashrc or .bash_aliases for pesistent use.

How to use?

Launch the program

Main menu screen

Create

  1. Press N then enter.
  2. Enter a filename without an extension.
  3. Enter a title.
  4. Enter author name.
  5. Enter s or p for sections or paragraphs respectively.
  6. Enter number of sections.

New file prompts

Load

Note: The program makes a backup file.

  1. Press L then enter.
  2. Enter file name without an extension.

Load path, enter file name

Add Section

  1. Select an element where you want insert a section at by entering its corresponding number
  2. Press a, then enter.
  3. Enter a name for the section.

Add example image showing prompts

Result image of adding a new section

Delete Section

  1. Select an element that you want to delete by entering its corresponding number.

Prompt image

  1. Press d then enter.

Deletion result

Output exmaple

This is from after a section was inserted via the program.

Program result

Planned Features

  • Add editing existing sections
  • Single line operation python3 LatexTemplate.py -a DeMO -s {p,p,p, s "Some Section"}
  • Implement parsing (some data classes exist)

About

Python Script to create a pre-filled latex file.

Topics

Resources

License

Stars

Watchers

Forks

Languages