Giter Site home page Giter Site logo

weterans / gost Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 1.0 170 KB

Custom LaTeX template and document class, that provide proper GOST 7.32-2017 formatting

License: GNU General Public License v3.0

TeX 98.72% Shell 1.28%
tex latex latex-template biblatex pdflatex

gost's Introduction

GOST 7.32-2017 (ГОСТ 7.32-2017)

You can find GOST here.

Features

This documentclass is extremely easy to use. Almost no configuration is needed. All the default LaTeX commands stay the same but they have GOST style now.

  • Use default LaTeX commands
  • Add GOST section headers with automatic proper ToC formatting
  • Add GOST-style bibliography in 3 lines of code
  • Automatic pages, figures and tables count for РЕФЕРАТ section
  • Title page (you may use this for now)

Installation

  1. Clone or download this repository.

  2. Add following lines to your .zshrc/.bashrc

export TEXINPUTS=/path/to/repository/GOST/src/:
export BSTINPUTS=/path/to/repository/GOST/src/biblatex/:

Or just run install.sh.

Usage

Enable the template

\documentclass[12pt]{gost-7-32}

Fontsize parameter is optional. Default is 12pt. You may choose between 12pt and 14pt.

Supported custom GOST section headings

Keyword Section name
\introduction ВВЕДЕНИЕ
\essay РЕФЕРАТ
\definitions ОПРЕДЕЛЕНИЯ
\abbreviations ОБОЗНАЧЕНИЯ И СОКРАЩЕНИЯ
\defsabbrs ОПРЕДЕЛЕНИЯ, ОБОЗНАЧЕНИЯ И СОКРАЩЕНИЯ
\conclusion ЗАКЛЮЧЕНИЕ
\references СПИСОК ИСПОЛЬЗОВАННЫХ ИСТОЧНИКОВ
\appendix{<name>} ПРИЛОЖЕНИЕ <letter>. <name>

Bibliography

Add bibliography with following lines:

\references
\bibliographystyle{ugost2008}
\bibliography{<bibliography_file>}

Bibliography file entry examples:

@online {bib:rbk2020,
    title = {Число дел о мошенничестве рекордно возросло на фоне пандемии},
    year = {2020},
    url = {https://www.rbc.ru/society/31/08/2020/5f48ea169a79477e21e25d9d},
    urldate = {01.19.2022},
    language = {russian}
}

@inproceedings {bib:lei2007,
    author = {Lei, Howard and Mirghafori, Nikki},
    year = {2007},
    month = {08},
    pages = {746-749},
    title = {Word-conditioned HMM supervectors for speaker recognition},
    volume = {1},
    doi = {10.21437/Interspeech.2007-139},
    language = {russian}
}

Important! You MUST add language = {russian} to each entry.

Compilation

We recommend starting with the following Makefile:

all:
	latexmk -g -output-directory=build -pdf main.tex

clear:
	rm -rf build

Modify to better suit your needs.

gost's People

Contributors

georgyfirsov avatar vladlenafonin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

fasjeit

gost's Issues

Multilevel lists

Add more levels to lists. As of now only 2 levels are supported.

Template

Create a template that's ready to be filled with information.

Template installer

Add some script to turn newly cloned repository to a fully functioning template ready to go. It should replace repository with a template or something.

Bibliography

Add tools to work with bibliography. And maybe specify minimal .bib file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.