• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

selimb/cookiecutter-latex-article: Cookiecutter template for LaTeX article.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

selimb/cookiecutter-latex-article

开源软件地址(OpenSource Url):

https://github.com/selimb/cookiecutter-latex-article

开源编程语言(OpenSource Language):

TeX 77.7%

开源软件介绍(OpenSource Introduction):

cookiecutter-latex-article

A template for writing LaTeX documents. I myself mostly use this to write lab reports, essays and project reports for school. See https://github.com/audreyr/cookiecutter.

  • Pretty Title Page: fields are automatically populated at project creation.
  • Nomenclature: Ready for nomenclature printing. Make Index script provided (see Nomenclature).
  • BibTeX: Set up to use BibTeX (IEEE style).
  • Standard directory structure.

See Output for screenshots and sample PDF.

Usage

Install cookiecutter:

pip install cookiecutter

Generate a LaTeX project:

cookiecutter https://github.com/kreger51/cookiecutter-latex-mcgill.git

Answer a few questions about the project information as well as if you need support for a Bibliography and/or Nomenclature, a.k.a list of symbols.

Start writing your document! Suggested use is to create new .tex file and include it using:

\input{<file_name>.tex}

Background

I am an engineering student at McGill University, hence the McGill logo and IEEE bibliography style. I wrote the document class SelimArticle.cls because I always use more or less the same packages.

I am in no way affiliated with McGill University

Features

Nomenclature

The nomencl package makes formatting a nomenclature a walk in the park.

Basic Usage:

  • Add symbols to list of symbols using \nomenclature command (see documentation).
  • Assuming you answered positively to the nomenclature question during setup, run provided makeidx.bat from command prompt (Windows).
  • Build main.tex once or twice.

If you're on a non-Windows platform, simply replacing the .bat extension to .sh should work.

BibTeX

An empty dabib.bib file is included with the template if you answer positively to bibtex. Bibliography style and insertion at the bottom of main.tex.

Title Page

Title page formatting is done in mypage.sty package, and parameters such as student ID, name, course name etc... can easily be modified in options.tex.

Logo: The McGill logo is taken from logo.jpg. To change the logo, replace the file with your own.

Document Class

I use my own document class (SelimArticle.cls), which loads the default article document class. The only option proper to this custom class is [Nomencl], which loads necessary packages and adjusts formatting for the list of symbols.

Additional options are passed to the article document class

Directory Structure

I like to keep my figures in a separate folder (in this case "figs") and my .tex files in the same directory as the main. I also like to have my LaTeX files in a subdirectory (in this case "tex") and keep related documents, e.g. an Excel workbook, IPython Notebook or project instructions, in the project's root directory.

Not Exactly What You Want?

Similar Cookiecutter Templates

No similar templates yet.

Fork This and Create Your Own

If you have differences in your preferred setup, I encourage you to fork this and make the desired modifications.

  • Once you have your own version working, add it to the Similar Cookiecutter Templates list above with a brief description.

  • It's up to you whether or not to rename your fork/own version. Do whatever you think sounds good.

Pull Request

I accept suggestions/pull requests.

Output

Sample PDF

Screenshots:

Titlepage Table of Contents Nomenclature Sample Page References




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap