mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
new snippets
This commit is contained in:
parent
1e2550f738
commit
f7ec83d186
2 changed files with 49 additions and 0 deletions
45
nvim/my-snippets/UltiSnips/eltech.snippets
Normal file
45
nvim/my-snippets/UltiSnips/eltech.snippets
Normal 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:
|
||||
|
|
@ -1,3 +1,7 @@
|
|||
priority 50
|
||||
|
||||
extends eltech
|
||||
|
||||
snippet 'sympy(.*)sympy' "evaluate sympy" wr
|
||||
`!p
|
||||
from sympy import *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue