new snippets

This commit is contained in:
Pavel Korytov 2019-10-16 22:06:02 +03:00
parent 1e2550f738
commit f7ec83d186
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,45 @@
priority -50
snippet defdoc "Default document template"
\documentclass[a4paper, 14pt]{extarticle}
\usepackage{./styles/generalPreamble}
\begin{document}
$0
\end{document}
endsnippet
snippet etutitle "ETU default report title"
\begin{titlepage}
\centering
{\bfseries
\uppercase{
Минобрнауки России \\
Санкт-Петербургский государственный \\
Электротехнический университет \\
\enquote{ЛЭТИ} им. В.И.Ульянова (Ленина)\\
}
Кафедра ${1:МО ЭВМ}
\vspace{\fill}
\uppercase{${2:Отчёт}}
по ${3:лабораторной работе} ${4:№1}
по дисциплине \enquote{$5} \\
Тема: $6
}
\vspace{\fill}
\begin{tabularx}{0.8\textwidth}{l X c r}
Студент гр. 6304 & & \underline{\hspace{3cm}} & Корытов П.В.\\
Преподаватель & & \underline{\hspace{3cm}} & $7
\end{tabularx}
\vspace{1cm}
Санкт-Петербург \\
\the\year{}
\end{titlepage}
$0
endsnippet
# vim:ft=snippets:

View file

@ -1,3 +1,7 @@
priority 50
extends eltech
snippet 'sympy(.*)sympy' "evaluate sympy" wr
`!p
from sympy import *