diff options
Diffstat (limited to 'macros/latex/contrib/bmstu')
-rw-r--r-- | macros/latex/contrib/bmstu/README.md | 12 | ||||
-rw-r--r-- | macros/latex/contrib/bmstu/bmstu-appendix.sty (renamed from macros/latex/contrib/bmstu/sty/bmstu-appendix.sty) | 2 | ||||
-rw-r--r-- | macros/latex/contrib/bmstu/bmstu-biblio.sty (renamed from macros/latex/contrib/bmstu/sty/bmstu-biblio.sty) | 2 | ||||
-rw-r--r-- | macros/latex/contrib/bmstu/bmstu-defabbr.sty (renamed from macros/latex/contrib/bmstu/sty/bmstu-defabbr.sty) | 2 | ||||
-rw-r--r-- | macros/latex/contrib/bmstu/bmstu-essay.sty (renamed from macros/latex/contrib/bmstu/sty/bmstu-essay.sty) | 2 | ||||
-rw-r--r-- | macros/latex/contrib/bmstu/bmstu-figure.sty (renamed from macros/latex/contrib/bmstu/sty/bmstu-figure.sty) | 2 | ||||
-rw-r--r-- | macros/latex/contrib/bmstu/bmstu-listing.sty (renamed from macros/latex/contrib/bmstu/sty/bmstu-listing.sty) | 2 | ||||
-rw-r--r-- | macros/latex/contrib/bmstu/bmstu-logo.pdf (renamed from macros/latex/contrib/bmstu/img/bmstu-logo.pdf) | bin | 129396 -> 129396 bytes | |||
-rw-r--r-- | macros/latex/contrib/bmstu/bmstu-title.sty (renamed from macros/latex/contrib/bmstu/sty/bmstu-title.sty) | 140 | ||||
-rw-r--r-- | macros/latex/contrib/bmstu/bmstu-toc.sty (renamed from macros/latex/contrib/bmstu/sty/bmstu-toc.sty) | 2 | ||||
-rw-r--r-- | macros/latex/contrib/bmstu/bmstu.cls | 6 | ||||
-rw-r--r-- | macros/latex/contrib/bmstu/examples/bmstu-examples.pdf (renamed from macros/latex/contrib/bmstu/examples/examples.pdf) | bin | 877742 -> 877742 bytes | |||
-rw-r--r-- | macros/latex/contrib/bmstu/examples/bmstu-examples.tex (renamed from macros/latex/contrib/bmstu/examples/examples.tex) | 29 | ||||
-rw-r--r-- | macros/latex/contrib/bmstu/manifest.txt | 9 |
14 files changed, 117 insertions, 93 deletions
diff --git a/macros/latex/contrib/bmstu/README.md b/macros/latex/contrib/bmstu/README.md index e62cb3cd35..86a659290d 100644 --- a/macros/latex/contrib/bmstu/README.md +++ b/macros/latex/contrib/bmstu/README.md @@ -1,21 +1,21 @@ # bmstu package -Release 2022-01-24 (v1.0.0) +Release 2023-01-28 (v2.0.0) ## Overview The class defines commands and environments for creating reports and explanatory notes in Bauman Moscow State Technical University (Russia). -Generated files correspond to [requirements of Bauman Moscow State Technical University](https://mf.bmstu.ru/info/uu/ot/norm_docs/docs/polozhenie_normcontrol_pril1.pdf) and [GOST 7.32-2017](https://docs.cntd.ru/document/1200157208). Explanatory notes to graduate qualification works are successfully tested by [TestVKR](https://vkr.bmstu.ru/) (build 203). +Generated files correspond to requirements of Bauman Moscow State Technical University and GOST 7.32-2017. Explanatory notes to graduate qualification works are successfully tested by TestVKR (build 216). Please go to the official repository at https://github.com/Orianti/bmstu-latex-class to submit bug reports, request new features, etc. ## License -This work (except `bmstu-logo.pdf`) is distributed under The LaTeX Project Public License. +Files listed in manifest.txt are distributed under The LaTeX Project Public License. -File `bmstu-logo.pdf` is a logo of Bauman Moscow State Technical University and complies with fair use (article 1274 of the Russian Civil Code). +File bmstu-logo.pdf is a logo of Bauman Moscow State Technical University and complies with fair use (article 1274 of the Russian Civil Code). --- -Copyright © 2020-2022 Mikael Novikov<br> -All rights reserved.
\ No newline at end of file +Copyright © 2020-2023 Mikael Novikov<br> +All rights reserved. diff --git a/macros/latex/contrib/bmstu/sty/bmstu-appendix.sty b/macros/latex/contrib/bmstu/bmstu-appendix.sty index a276edec33..c5dae6e270 100644 --- a/macros/latex/contrib/bmstu/sty/bmstu-appendix.sty +++ b/macros/latex/contrib/bmstu/bmstu-appendix.sty @@ -1,5 +1,5 @@ %% bmstu_appendix.sty -%% Copyright 2022 Mikael Novikov +%% Copyright 2023 Mikael Novikov % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 diff --git a/macros/latex/contrib/bmstu/sty/bmstu-biblio.sty b/macros/latex/contrib/bmstu/bmstu-biblio.sty index 0b08161c90..1000df7eb4 100644 --- a/macros/latex/contrib/bmstu/sty/bmstu-biblio.sty +++ b/macros/latex/contrib/bmstu/bmstu-biblio.sty @@ -1,5 +1,5 @@ %% bmstu_biblio.sty -%% Copyright 2022 Mikael Novikov +%% Copyright 2023 Mikael Novikov % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 diff --git a/macros/latex/contrib/bmstu/sty/bmstu-defabbr.sty b/macros/latex/contrib/bmstu/bmstu-defabbr.sty index 9c557ac6bd..e9c7851556 100644 --- a/macros/latex/contrib/bmstu/sty/bmstu-defabbr.sty +++ b/macros/latex/contrib/bmstu/bmstu-defabbr.sty @@ -1,5 +1,5 @@ %% bmstu_defabbr.sty -%% Copyright 2022 Mikael Novikov +%% Copyright 2023 Mikael Novikov % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 diff --git a/macros/latex/contrib/bmstu/sty/bmstu-essay.sty b/macros/latex/contrib/bmstu/bmstu-essay.sty index 55766d9058..316623de2f 100644 --- a/macros/latex/contrib/bmstu/sty/bmstu-essay.sty +++ b/macros/latex/contrib/bmstu/bmstu-essay.sty @@ -1,5 +1,5 @@ %% bmstu_essay.sty -%% Copyright 2022 Mikael Novikov +%% Copyright 2023 Mikael Novikov % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 diff --git a/macros/latex/contrib/bmstu/sty/bmstu-figure.sty b/macros/latex/contrib/bmstu/bmstu-figure.sty index d2817ca668..dde6c6b2bc 100644 --- a/macros/latex/contrib/bmstu/sty/bmstu-figure.sty +++ b/macros/latex/contrib/bmstu/bmstu-figure.sty @@ -1,5 +1,5 @@ %% bmstu_figure.sty -%% Copyright 2022 Mikael Novikov +%% Copyright 2023 Mikael Novikov % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 diff --git a/macros/latex/contrib/bmstu/sty/bmstu-listing.sty b/macros/latex/contrib/bmstu/bmstu-listing.sty index 1f39686a0e..b4a0c0148a 100644 --- a/macros/latex/contrib/bmstu/sty/bmstu-listing.sty +++ b/macros/latex/contrib/bmstu/bmstu-listing.sty @@ -1,5 +1,5 @@ %% bmstu_listing.sty -%% Copyright 2022 Mikael Novikov +%% Copyright 2023 Mikael Novikov % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 diff --git a/macros/latex/contrib/bmstu/img/bmstu-logo.pdf b/macros/latex/contrib/bmstu/bmstu-logo.pdf Binary files differindex 226943b0b4..226943b0b4 100644 --- a/macros/latex/contrib/bmstu/img/bmstu-logo.pdf +++ b/macros/latex/contrib/bmstu/bmstu-logo.pdf diff --git a/macros/latex/contrib/bmstu/sty/bmstu-title.sty b/macros/latex/contrib/bmstu/bmstu-title.sty index ea707bdc7a..d2dea47245 100644 --- a/macros/latex/contrib/bmstu/sty/bmstu-title.sty +++ b/macros/latex/contrib/bmstu/bmstu-title.sty @@ -1,5 +1,5 @@ %% bmstu_title.sty -%% Copyright 2022 Mikael Novikov +%% Copyright 2023 Mikael Novikov % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -10,7 +10,7 @@ % version 2005/12/01 or later. % % This work has the LPPL maintenance status `maintained'. -% +% % The Current Maintainer of this work is Mikael Novikov. % % This work consists of all files listed in manifest.txt. @@ -51,9 +51,9 @@ \begin{wrapfigure}[7]{l}{0.14\linewidth} \vspace{3.4mm} \hspace{-8mm} - \includegraphics[width=0.89\linewidth]{img/bmstu-logo} + \includegraphics[width=0.89\linewidth]{bmstu-logo} \end{wrapfigure} - + { \singlespacing \small Министерство науки и высшего образования Российской Федерации \\ @@ -64,13 +64,13 @@ (национальный исследовательский университет)>> \\ (МГТУ им. Н.~Э.~Баумана) \\ } - + \vspace{-4.2mm} \vhrulefill{0.9mm} \\ \vspace{-7mm} \vhrulefill{0.2mm} \\ \vspace{2.8mm} - + { \small ФАКУЛЬТЕТ \longunderline{<<#1>>} \\ @@ -84,12 +84,12 @@ { { \LARGE \bfseries - ОТЧЕТ \\ + РАСЧЕТНО-ПОЯСНИТЕЛЬНАЯ ЗАПИСКА \\ } \vspace{5mm} { \Large \itshape - ПО НАУЧНО-ИССЛЕДОВАТЕЛЬСКОЙ РАБОТЕ \\ + К НАУЧНО-ИССЛЕДОВАТЕЛЬСКОЙ РАБОТЕ \\ \vspace{5mm} НА ТЕМУ: \\ <<#1>> \\ @@ -124,124 +124,146 @@ } % Создание поля студента -\newcommand{\titlepagestudent}[2] +\RequirePackage{pgffor} + +\newcommand*\titlepagestudentscontent{} + +\newcommand{\maketitlepagestudent}[1] { - Студент \fixunderline{#1}{25mm}{(Группа)} & - \fixunderline{}{40mm}{(Подпись, дата)} \vspace{1.3mm} & - \fixunderline{#2}{40mm}{(И.~О.~Фамилия)} \\ + \foreach \s/\g in {#1} { + \gappto\titlepagestudentscontent{Студент \fixunderline} + \xappto\titlepagestudentscontent{{\g}} + \gappto\titlepagestudentscontent{{25mm}{(Группа)} &} + \gappto\titlepagestudentscontent{\fixunderline{}{40mm}{(Подпись, дата)} \vspace{1.3mm} &} + \gappto\titlepagestudentscontent{\fixunderline} + \xappto\titlepagestudentscontent{{\s}} + \gappto\titlepagestudentscontent{{40mm}{(И.~О.~Фамилия)} \\} + } } % Создание прочих полей -\newcommand{\titlepageothers}[2] +\newcommand*\titlepageotherscontent{} + +\newcommand{\maketitlepageothers}[2] { - #1 & - \fixunderline{}{40mm}{(Подпись, дата)} \vspace{1.3mm} & - \fixunderline{#2}{40mm}{(И.~О.~Фамилия)} \\ + \foreach \c in {#2} { + \gappto\titlepagestudentscontent{#1 &} + \gappto\titlepagestudentscontent{\fixunderline{}{40mm}{(Подпись, дата)} \vspace{1.3mm} &} + \gappto\titlepagestudentscontent{\fixunderline} + \xappto\titlepagestudentscontent{{\c}} + \gappto\titlepagestudentscontent{{40mm}{(И.~О.~Фамилия)} \\} + } } % Установка исполнителей работы -\newcommand{\titlepageauthors}[7] +\newcommand{\titlepageauthors}[5] { { + \renewcommand{\titlepagestudentscontent}{} + \maketitlepagestudent{#1} + + \renewcommand{\titlepageotherscontent}{} + \maketitlepageothers{#2}{#3} + \maketitlepageothers{Консультант}{#4} + \maketitlepageothers{Нормоконтролер}{#5} + \small \begin{tabularx}{\textwidth}{@{}>{\hsize=.5\hsize}X>{\hsize=.25\hsize}X>{\hsize=.25\hsize}X@{}} - \titlepagestudent{#1}{#2} - \titlepageothers{#3}{#4} - \ifthenelse{\isempty{#5}}{}{\titlepageothers{Консультант}{#5}} - \ifthenelse{\isempty{#6}}{}{\titlepageothers{Консультант}{#6}} - \ifthenelse{\isempty{#7}}{}{\titlepageothers{Нормоконтролер}{#7}} + \titlepagestudentscontent + + \titlepageotherscontent \end{tabularx} } } % Создание титульной страницы РПЗ к ВКР -\newcommand{\makethesistitle}[9] +\newcommand{\makethesistitle}[7] { - \documentmeta{РПЗ к ВКР}{#5}{#4}{#3} - + \documentmeta{РПЗ к ВКР}{#4}{}{#3} + \begin{titlepage} \centering - + \titlepageheader{#1}{#2} \vspace{15.8mm} - + \titlepagenotetitle{К ВЫПУСКНОЙ КВАЛИФИКАЦИОННОЙ РАБОТЕ}{#3} \vfill - - \titlepageauthors{#4}{#5}{Руководитель ВКР}{#6}{#7}{#8}{#9} + + \titlepageauthors{#4}{Руководитель ВКР}{#5}{#6}{#7} \vspace{14mm} - + \textit{{\the\year} г.} \end{titlepage} - + \setcounter{page}{2} } % Создание титульной страницы отчета по НИР -\newcommand{\makeresearchtitle}[8] +\newcommand{\makeresearchtitle}[6] { - \documentmeta{Отчет по НИР}{#5}{#4}{#3} - + \documentmeta{Отчет по НИР}{#4}{}{#3} + \begin{titlepage} \centering - + \titlepageheader{#1}{#2} \vspace{15.8mm} - + \titlepageresearchtitle{#3} \vfill - - \titlepageauthors{#4}{#5}{Руководитель НИР}{#6}{#7}{#8}{} + + \titlepageauthors{#4}{Руководитель НИР}{#5}{#6}{} \vspace{14mm} - + \textit{{\the\year} г.} \end{titlepage} - + \setcounter{page}{2} } % Создание титульной страницы РПЗ к КР -\newcommand{\makecourseworktitle}[8] +\newcommand{\makecourseworktitle}[6] { - \documentmeta{РПЗ к КР}{#5}{#4}{#3} - + \documentmeta{РПЗ к КР}{#4}{}{#3} + \begin{titlepage} \centering - + \titlepageheader{#1}{#2} \vspace{15.8mm} - + \titlepagenotetitle{К КУРСОВОЙ РАБОТЕ}{#3} \vfill - - \titlepageauthors{#4}{#5}{Руководитель курсовой работы}{#6}{#7}{#8}{} + + \titlepageauthors{#4}{Руководитель курсовой работы}{#5}{#6}{} \vspace{14mm} - + \textit{{\the\year} г.} \end{titlepage} - + \setcounter{page}{2} } % Создание титульной страницы отчета -\newcommand{\makereporttitle}[9] +\newcommand{\makereporttitle}[8] { - \documentmeta{Отчет}{#8}{#3 #4}{#5} - + \documentmeta{Отчет}{#7}{по #3 по курсу #4}{#5} + \begin{titlepage} \centering - + \titlepageheader{#1}{#2} \vspace{15.8mm} - + \titlepagereporttitle{#3}{#4}{#5}{#6} \vfill - - \titlepageauthors{#7}{#8}{Преподаватель}{#9}{}{}{} + + \titlepageauthors{#7}{Преподаватель}{#8}{}{} \vspace{14mm} - + \textit{{\the\year} г.} \end{titlepage} - + \setcounter{page}{2} -}
\ No newline at end of file +} diff --git a/macros/latex/contrib/bmstu/sty/bmstu-toc.sty b/macros/latex/contrib/bmstu/bmstu-toc.sty index 809698a170..c3c86c6a02 100644 --- a/macros/latex/contrib/bmstu/sty/bmstu-toc.sty +++ b/macros/latex/contrib/bmstu/bmstu-toc.sty @@ -1,5 +1,5 @@ %% bmstu_toc.sty -%% Copyright 2022 Mikael Novikov +%% Copyright 2023 Mikael Novikov % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 diff --git a/macros/latex/contrib/bmstu/bmstu.cls b/macros/latex/contrib/bmstu/bmstu.cls index 10f59f876d..48bca7b78c 100644 --- a/macros/latex/contrib/bmstu/bmstu.cls +++ b/macros/latex/contrib/bmstu/bmstu.cls @@ -1,5 +1,5 @@ %% bmstu.cls -%% Copyright 2022 Mikael Novikov +%% Copyright 2023 Mikael Novikov % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -17,10 +17,10 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{bmstu}[2022/01/24 v1.0.0 BMSTU class] +\ProvidesClass{bmstu}[2023/01/28 v2.0.0 BMSTU class] % Установка базового класса -\LoadClass[14pt]{extreport} +\LoadClass[a4paper,oneside,14pt]{extreport} % Настройка кодировки и языков \RequirePackage[T1,T2A]{fontenc} diff --git a/macros/latex/contrib/bmstu/examples/examples.pdf b/macros/latex/contrib/bmstu/examples/bmstu-examples.pdf Binary files differindex 89f3f3d602..89f3f3d602 100644 --- a/macros/latex/contrib/bmstu/examples/examples.pdf +++ b/macros/latex/contrib/bmstu/examples/bmstu-examples.pdf diff --git a/macros/latex/contrib/bmstu/examples/examples.tex b/macros/latex/contrib/bmstu/examples/bmstu-examples.tex index f95b1fc21f..1f846d4aaa 100644 --- a/macros/latex/contrib/bmstu/examples/examples.tex +++ b/macros/latex/contrib/bmstu/examples/bmstu-examples.tex @@ -15,8 +15,7 @@ {Операционные системы} % Название курса (необязательный аргумент) {Обработчик прерывания от системного таймера} % Тема работы {} % Номер варианта (необязательный аргумент) - {ИУ7-51Б} % Номер группы - {Иванов~И.~И.} % ФИО студента + {Иванов~И.~И./ИУ7-51Б} % Номер группы/ФИО студента (если авторов несколько, их необходимо разделить запятой) {Петров~П.~П.} % ФИО преподавателя % Расчетно-пояснительная записка к курсовой работе @@ -25,23 +24,19 @@ {Информатика, искусственный интеллект и системы управления} % Название факультета {Программное обеспечение ЭВМ и информационные технологии} % Название кафедры {Исследование распределения памяти в многопоточных приложениях Linux} % Тема работы - {ИУ7-71Б} % Номер группы - {Иванов~И.~И.} % ФИО студента + {Иванов~И.~И./ИУ7-71Б} % Номер группы/ФИО студента (если авторов несколько, их необходимо разделить запятой) {Петров~П.~П.} % ФИО научного руководителя - {Сидоров~С.~С.} % ФИО консультанта (необязательный аргумент) - {Кузнецов~К.~К.} % ФИО консультанта (необязательный аргумент) - + {Сидоров~С.~С.,Кузнецов~К.~К.} % ФИО консультанта (необязательный аргумент; если консультантов несколько, их необходимо разделить запятой) + % Отчет по научно-исследовательской работе \makeresearchtitle {Информатика, искусственный интеллект и системы управления} % Название факультета {Программное обеспечение ЭВМ и информационные технологии} % Название кафедры {Исследование методов генерации исходного кода} % Тема работы - {ИУ7-81Б} % Номер группы - {Иванов~И.~И.} % ФИО студента + {Иванов~И.~И./ИУ7-81Б,Сергеев~С.~С./ИУ7-82Б} % Номер группы/ФИО студента (если авторов несколько, их необходимо разделить запятой) {Петров~П.~П.} % ФИО научного руководителя - {} % ФИО консультанта (необязательный аргумент) - {} % ФИО консультанта (необязательный аргумент) + {} % ФИО консультанта (необязательный аргумент; если консультантов несколько, их необходимо разделить запятой) % Расчетно-пояснительная записка к выпускной квалификационной работе @@ -49,11 +44,9 @@ {Информатика, искусственный интеллект и системы управления} % Название факультета {Программное обеспечение ЭВМ и информационные технологии} % Название кафедры {Метод обнаружения спутников как точечных объектов на изображении} % Тема работы - {ИУ7-81Б} % Номер группы - {Иванов~И.~И.} % ФИО студента + {Иванов~И.~И./ИУ7-81Б} % Номер группы/ФИО студента (если авторов несколько, их необходимо разделить запятой) {Петров~П.~П.} % ФИО научного руководителя - {Сидоров~С.~С.} % ФИО консультанта (необязательный аргумент) - {} % ФИО консультанта (необязательный аргумент) + {Сидоров~С.~С.} % ФИО консультанта (необязательный аргумент; если консультантов несколько, их необходимо разделить запятой) {Кузнецов~К.~К.} % ФИО нормоконтролера % Рисунок @@ -143,13 +136,13 @@ Unix (<<UNIX>> является зарегистрированной торго \end{equation} \begin{equation*} - A_{m,n} = + A_{m,n} = \begin{pmatrix} a_{1,1} & a_{1,2} & \cdots & a_{1,n} \\ a_{2,1} & a_{2,2} & \cdots & a_{2,n} \\ \vdots & \vdots & \ddots & \vdots \\ - a_{m,1} & a_{m,2} & \cdots & a_{m,n} + a_{m,1} & a_{m,2} & \cdots & a_{m,n} \end{pmatrix} \end{equation*} -\end{document}
\ No newline at end of file +\end{document} diff --git a/macros/latex/contrib/bmstu/manifest.txt b/macros/latex/contrib/bmstu/manifest.txt new file mode 100644 index 0000000000..ba4982966c --- /dev/null +++ b/macros/latex/contrib/bmstu/manifest.txt @@ -0,0 +1,9 @@ +bmstu.cls +bmstu_appendix.sty +bmstu_defabbr.sty +bmstu_figure.sty +bmstu_title.sty +bmstu_biblio.sty +bmstu_essay.sty +bmstu_listing.sty +bmstu_toc.sty |