forked from ivan-igorevich/basic-c
initial commit
This commit is contained in:
commit
71813ad6df
|
@ -0,0 +1,55 @@
|
|||
%%% Работа с русским языком
|
||||
\usepackage{cmap} % поиск в PDF
|
||||
\usepackage[T2A]{fontenc} % кодировка
|
||||
\usepackage[utf8]{inputenc} % кодировка исходного текста
|
||||
\usepackage[english,russian]{babel} % локализация и переносы
|
||||
\usepackage[printwatermark]{xwatermark}
|
||||
\usepackage{xcolor}
|
||||
\usepackage{multicol}
|
||||
|
||||
\usepackage{setspace}
|
||||
% XeLaTeX
|
||||
%\usepackage{fontspec}
|
||||
%\setmainfont{Times New Roman}
|
||||
\onehalfspacing
|
||||
\usepackage{titlesec}
|
||||
\usepackage{indentfirst}
|
||||
|
||||
\newcommand{\frm}[1]{
|
||||
\newline
|
||||
\newline
|
||||
\indent
|
||||
\fbox{%
|
||||
\parbox{0.9\textwidth}{%
|
||||
#1
|
||||
}%
|
||||
}
|
||||
\newline
|
||||
\newline
|
||||
}
|
||||
\newcommand{\office}{(LibreOffice, OpenOffice, Microsoft Office, iWork и другие)}
|
||||
|
||||
\hbadness=99999
|
||||
|
||||
\def\code#1{\texttt{#1}}
|
||||
|
||||
\author{Иван Овчинников}
|
||||
\date{\today}
|
||||
|
||||
\usepackage{amsmath,amsfonts,amssymb,amsthm,mathtools} % AMS
|
||||
\usepackage{icomma} % "Умная" запятая: $0,2$ --- число, $0, 2$ --- перечисление
|
||||
%% Перенос знаков в формулах (по Львовскому)
|
||||
\newcommand*{\hm}[1]{#1\nobreak\discretionary{}
|
||||
{\hbox{$\mathsurround=0pt #1$}}{}}
|
||||
\usepackage{layout}
|
||||
\usepackage{titlesec}
|
||||
\newcommand{\sectionbreak}{\clearpage}
|
||||
|
||||
\addto{\captionsrussian}{\renewcommand{\figurename}{}}
|
||||
\usepackage{minted}
|
||||
|
||||
\usepackage[lmargin=1.5cm,rmargin=2.5cm,tmargin=2.5cm,bmargin=2.5cm,paperheight=240mm,paperwidth=170mm]{geometry}
|
||||
%\setlength{\marginparwidth}{0pt}
|
||||
% \begin{multicols}{2}
|
||||
% \columnbreak
|
||||
% \end{multicols}
|
Loading…
Reference in New Issue