The Organization of Files in LaTeX (Latex Basic Tutorial-22)

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024
  • Project structure (step by step):
    In this video, we will create a clear structure of the whole project in following way:
    1. A directory only for the project (say 'project' folder where 'main.tex' will be created). We'll refer to that in the following
    parts as the root directory
    2. Four other directories inside the root (inside 'project' folder), three for LaTeX
    documents (say 'front-, main-, back-matter') and one for images (say 'gfx').
    3. The document (we'll call it main.tex, but you can use the name
    you prefer) and your own package (for example mystyle.sty);
    this sty file will help you keep the code cleaner.
    4. If you followed all those steps, these files should be in your root
    directory, using "/" for each directory
    ./main.tex
    ./mystyle.sty or ./foldername/mystyle.sty (if it is in a separate folder)
    ./tex/ or {./foldername/tex where foldername can be frontmatter, mainmatter, or backmatter)
    ./gfx/ or ./foldername/gfx (if all graphics are in separate folder)
    In this video, the differences between \include and \input have been explained for adding additional tex file.
    ---------------------------------------------------------
    Sample file: goo.gl/wLVN4A
    ----------------------------------------------------------
    -----------------------------------------------------------------------------------------------------
    If this worked and helped you
    ► Do not forget to Like, Comment, and Subscribe!
    =================================================
    ► To Watch all our videos, click here - goo.gl/aCCrzi
    ► Subscribe to our channel, click here - goo.gl/9QCQhC

Комментарии • 29