rename i11n to correct i18n.
This commit is contained in:
parent
fef83a42eb
commit
9ddc901e64
|
@ -2,7 +2,7 @@
|
|||
\newif\ifphoto % show photo.
|
||||
\newif\ifextra % show extra content.
|
||||
|
||||
\phototrue
|
||||
\photofalse
|
||||
\extrafalse
|
||||
|
||||
% personal info.
|
||||
|
|
|
@ -15,4 +15,4 @@
|
|||
\ifdefequal{\lang}{\litnil}{\entrue}{} % use english by default.
|
||||
|
||||
% include translations.
|
||||
\input{i11n/month}
|
||||
\input{i18n/month}
|
|
@ -1,13 +1,14 @@
|
|||
\documentclass{article} % basic document class (template).
|
||||
\usepackage[T2A,T1]{fontenc} % specify font encodings.
|
||||
\usepackage[utf8]{inputenc} % specify input file encodings.
|
||||
\usepackage[bidi=default]{babel} % use babel for i11n.
|
||||
\usepackage[bidi=default]{babel} % use babel for i18n.
|
||||
\usepackage{graphicx} % image support.
|
||||
\usepackage{xcolor} % colored text support.
|
||||
\usepackage{montserrat} % custom font.
|
||||
\usepackage{hyperref} % hyperlinks.
|
||||
\usepackage{indentfirst} % auto indent for paragraphs.
|
||||
\usepackage{luacode} % lua scripts support.
|
||||
\usepackage{tcolorbox} % code blocks.
|
||||
|
||||
\input{shell} % import shell support.
|
||||
|
||||
|
@ -39,9 +40,10 @@
|
|||
\babelfont[russian]{tt}{montserrat} % use custom mono font for russian.
|
||||
|
||||
\begin{document}
|
||||
\input{i11n} % import internationalization support.
|
||||
\input{i18n} % import internationalization support.
|
||||
\input{style} % import common styles.
|
||||
\input{const} % import constant values.
|
||||
|
||||
\input{page/title} % import title.
|
||||
\input{page/experience} % import experience info.
|
||||
\end{document}
|
||||
|
|
2
tex/page/experience.tex
Normal file
2
tex/page/experience.tex
Normal file
|
@ -0,0 +1,2 @@
|
|||
% title.
|
||||
|
|
@ -8,6 +8,22 @@
|
|||
\definecolor{link} {RGB}{46,116,181} % web link.
|
||||
\definecolor{main} {RGB}{244,67,54} % main.
|
||||
\definecolor{gray} {RGB}{209,213,219} % gray.
|
||||
\definecolor{ref} {RGB}{53,82,105} % reference color.
|
||||
|
||||
\definecolor{code_background}{RGB}{238,238,238} % code background.
|
||||
\definecolor{code_string} {RGB}{18,118,34} % code string colors like "hello world".
|
||||
\definecolor{code_literal} {RGB}{211,134,155} % code literal colors like "8L".
|
||||
\definecolor{code_property} {RGB}{152,118,170} % code properties like variables and methods.
|
||||
\definecolor{code_keyword} {RGB}{184,92,0} % code keywords like "val", "fun" etc.
|
||||
\definecolor{code_comment} {RGB}{146,131,116} % code comment colors like // todo.
|
||||
|
||||
% code block box.
|
||||
\newtcolorbox{scodebox}[1][]{
|
||||
colback = code_background,
|
||||
colframe = code_background,
|
||||
fontupper = \ttfamily,
|
||||
nobeforeafter
|
||||
}
|
||||
|
||||
% styles.
|
||||
\newcommand{\spar} [0]{\par\vspace{2mm}} % default paragraph break.
|
||||
|
@ -20,3 +36,15 @@
|
|||
\newcommand{\sname} [1]{\fontsize{21}{9}{\selectfont{\sbold{#1}}}} % name style.
|
||||
\newcommand{\scolor} [2]{\textcolor{#1}{#2}} % text color alias.
|
||||
\newcommand{\sicon} [1]{\raisebox{-1mm}{\includegraphics[height=5mm]{#1}}} % icons.
|
||||
\newcommand{\stitle} [1]{\hypertarget{#1}{}\section[#1]{\stoctitle{#1}}} % section title.
|
||||
\newcommand{\shref} [1]{\hyperlink{#1}{\textcolor{fsight_link}{\sunderline{#1}}}} % reference section.
|
||||
\newcommand{\sref} [1]{\textcolor{fsight_ref}{#1}} % reference text.
|
||||
\newcommand{\slist} [1]{\textcolor{fsight_soft}{#1}} % list numbers.
|
||||
\newcommand{\sblcompact}[0]{\renewcommand{\baselinestretch}{1.0}\normalsize} % compact baseline size.
|
||||
\newcommand{\sbldefault}[0]{\renewcommand{\baselinestretch}{1.5}\normalsize} % default baseline size.
|
||||
\newcommand{\scstring} [1]{\textcolor{code_string}{#1}} % color code string.
|
||||
\newcommand{\scliteral} [1]{\textcolor{code_literal}{#1}} % color code string.
|
||||
\newcommand{\scproperty}[1]{\textcolor{code_property}{#1}} % color code string.
|
||||
\newcommand{\sckeyword} [1]{\textcolor{code_keyword}{#1}} % color code string.
|
||||
\newcommand{\sccomment} [1]{\textcolor{code_comment}{#1}} % color code string.
|
||||
\newenvironment{scode}{\begin{scodebox}\catcode32=12}{\end{scodebox}} % code block.
|
||||
|
|
Loading…
Reference in a new issue