Skip to content

Instantly share code, notes, and snippets.

@lmasikl
Created July 26, 2018 19:35
Show Gist options
  • Save lmasikl/5ad72f46b11229293121760b2d234e8c to your computer and use it in GitHub Desktop.
Save lmasikl/5ad72f46b11229293121760b2d234e8c to your computer and use it in GitHub Desktop.
c = get_config()
c.NbConvertApp.export_format = 'PDF'
c.TemplateExporter.template_path = ['.']
c.Exporter.template_file = 'cyrillic'
% Default to the notebook output style
((* set cell_style = 'style_python.tplx' *))
% Inherit from the specified cell style.
((* extends cell_style *))
((* block packages *))
((( super() ))) % load all other packages
% For cyrillic symbols
\usepackage[utf8x]{inputenc}
\usepackage[T1,T2A]{fontenc}
\usepackage[russian,english]{babel}
((* endblock packages *))
((* block docclass *))
\documentclass{article}
((* endblock docclass *))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment