Important solution fix
[pde-course.git] / Main.tex
blobccb0d1c0de77a4ba053d54cc4a8a20a6c39a3727
1 \documentclass[a4paper,12pt]{report} % Paper format
3 % Packages
4 %\usepackage[T2A]{fontenc} % Internal LaTeX fonts table
5 \usepackage[utf8]{inputenc} % Encoding of this document
6 \usepackage[english,russian]{babel} % Using russian and english dictionaries
7 \usepackage{amsfonts,amsmath,amssymb,calc,fancyhdr,geometry,graphicx,indentfirst,latexsym} % All used packages
8 \usepackage{totpages}
9 \usepackage{ccaption}
11 % СТП СГАУ 6.1.4 - 97
12 \newlength{\standardleftmargin} % Absolute left margin
13 \newlength{\standardrightmargin} % Absolute right margin
14 \newlength{\standardtopmargin} % Absolute top margin
15 \newlength{\standardbottommargin} % Absolute bottom margin
16 \setlength{\standardleftmargin}{30mm} % Absolute left margin
17 \setlength{\standardrightmargin}{10mm} % Absolute right margin
18 \setlength{\standardtopmargin}{15mm} % Absolute top margin
19 \setlength{\standardbottommargin}{20mm} % Absolute bottom margin
21 % Nesting
22 %\pagestyle{fancy}
23 %\fancyhead{}
24 %\fancyfoot{}
25 %\fancyhead[R]{\thepage}
26 %\fancyhead[C]{Аналитическое решение краевых задач математической физики}
27 \renewcommand{\baselinestretch}{1.5} % Sesquialteral interval
28 \setlength{\hoffset}{\standardleftmargin - 1in - \oddsidemargin}
29 \setlength{\voffset}{\standardtopmargin - 1in - \topmargin}
30 \setlength{\textwidth}{\paperwidth - 1in - \hoffset - \oddsidemargin - \marginparsep - \marginparwidth - \standardrightmargin}
31 \setlength{\textheight}{\paperheight - 1in - \voffset - \topmargin - \headheight - \headsep - \footskip - \standardbottommargin}
32 \setlength{\headwidth}{\textwidth + \marginparsep + \marginparwidth}
34 % \addto\captionsrussian{\def\refname{Использованные источники}}
36 % Picture captions
37 \addto\captionsrussian{
38 \def\figurename{Рисунок}
41 \captiondelim{~---~}
43 % Macro
45 \makeatletter
46 \renewcommand{\@makechapterhead}[1]{
47 \vspace*{50 pt}
48 {\parindent=0pt
49 \raggedright \normalfont\huge\bfseries
50 \@chapapp{}
51 \normalfont\Huge\bfseries \thechapter ~ #1\par
52 \nopagebreak
53 \vspace{40 pt}
56 \makeatother
58 % Commands
60 \newcommand{\diff}{\mathrm{d}}
62 \newcommand{\const}{\mathrm{const}}
64 \newcommand{\Z}{\mathbb{Z}}
65 \newcommand{\N}{\mathbb{N}}
66 \newcommand{\R}{\mathbb{R}}
68 \newenvironment{equationsset}
69 {\left\{\begin{array}{rcl}}
70 {\end{array}\right.}
72 % Long formulas
73 \allowdisplaybreaks
75 % leq and geq
76 \renewcommand{\leq}{\leqslant}
77 \renewcommand{\le}{\leqslant}
78 \renewcommand{\geq}{\geqslant}
79 \renewcommand{\ge}{\geqslant}
81 % Page properties
82 \author{Caesar} % Author
83 \title{Рассчётная работа} % Title
85 % Document
86 \begin{document}
87 \renewcommand{\chaptername}{}
88 \input{CoverPage}
89 \input{Problem}
90 \input{Summary}
92 \renewcommand{\contentsname}{\begin{center}Содержание\end{center}}
94 \newcommand{\tocsecindent}{\hspace{7mm}}
95 \renewcommand\bibname{Список использованных источников}
97 % Page numbers
98 \setcounter{page}{2}
99 \tableofcontents
100 % \input{Introduction}
102 % Body
103 \input{Preamble}
104 \input{Model}
105 \input{Solve}
106 \input{Remainder}
107 % End Body
109 \input{Conclusion}
110 \input{Bibliography}
111 \end{document}
113 %%% Local Variables:
114 %%% mode: latex
115 %%% TeX-master: t
116 %%% End: