#ifndef LIGHT_COLOR
#define LIGHT_COLOR papayawhip
#endif
#ifndef DARK_COLOR
#define DARK_COLOR black
#endif
#ifndef LIGHT_ACCENT_COLOR
#define LIGHT_ACCENT_COLOR maroon
#endif
#ifndef DARK_ACCENT_COLOR
#define DARK_ACCENT_COLOR lightcoral
#endif
#ifndef GRAY_COLOR
#define GRAY_COLOR lightgray
#endif
#ifndef META
#define META
#endif
#ifdef HYPERTEXT
TITLE
#ifdef IMAGE
#endif
#ifdef IMAGE
#endif
META
#elifdef LATEX
\documentclass[12pt]{article}
\usepackage[T2A,OT1]{fontenc}
\usepackage[default]{cantarell}
\usepackage[a4paper, top=20mm, bottom=20mm, left=20mm, right=20mm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[russian, english]{babel}
\usepackage{tabu}
\usepackage{hyperref}
\usepackage{parskip}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{float}
\floatstyle{boxed}
\restylefloat{figure}
\usepackage{setspace}
\onehalfspacing
\author{Artyom Bologov}
\date{\today}
\title{TITLE}
\makeatletter
\def\endenv{\expandafter\end\expandafter{\@currenvir}}
\makeatother
#endif /* HYPERTEXT | LATEX */