update template.
This commit is contained in:
parent
112913d464
commit
eaf7c191ac
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
|||
color = 3EB489
|
||||
color = 000000
|
||||
photo = true
|
||||
extra = true
|
||||
build = $(CURDIR)/build
|
||||
|
|
BIN
image/icon/ic_bullet.png
Normal file
BIN
image/icon/ic_bullet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
|
@ -53,6 +53,7 @@
|
|||
\input{page} % import pages info.
|
||||
\input{i18n/month} % import month values.
|
||||
\input{view/radio} % import radio view.
|
||||
\input{view/place} % import place view.
|
||||
\input{view/list} % import list view.
|
||||
|
||||
\input{page/example} % example page.
|
||||
\end{document}
|
||||
|
|
|
@ -1 +1,16 @@
|
|||
\stitle{\pexample}\spar\vspace{-4mm}\noindent
|
||||
\noindent\stitle{\pexample}\spar\vspace{0mm}\noindent
|
||||
\vlist{%
|
||||
\en{sample list}%
|
||||
\ru{пример списка}%
|
||||
}{%
|
||||
\en{sample text}%
|
||||
\ru{пример текста}%
|
||||
}{%
|
||||
\en{sample text}%
|
||||
\ru{пример текста}\newline%
|
||||
\vradio{3}%
|
||||
}{%
|
||||
example.com%
|
||||
}{%
|
||||
a;b;c%
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
\newcommand{\shref} [1]{\hyperlink{#1}{\textcolor{link}{\sunderline{#1}}}} % reference section.
|
||||
\newcommand{\sref} [1]{\textcolor{ref}{#1}} % reference text.
|
||||
\newcommand{\slist} [1]{\textcolor{lgray}{#1}} % list numbers.
|
||||
\newcommand{\sbullet} [0]{\raisebox{0.5mm}{\bullet}\hspace{4mm}} % list bullet symbol.
|
||||
\newcommand{\sbullet} [0]{\sicon{ic_bullet}\hspace{4mm}} % list bullet symbol.
|
||||
\newcommand{\stitle} [1]{\hypertarget{#1}{}\fontsize{11}{11}%
|
||||
{\selectfont{\textcolor{main}{\ssemibold{#1}}}}} % section title.
|
||||
|
||||
|
|
15
tex/view/list.tex
Normal file
15
tex/view/list.tex
Normal file
|
@ -0,0 +1,15 @@
|
|||
% args: company's name, period, position, url, elements (separated by ;).
|
||||
\newcommand{\slistlink}[1]{\sicon{ic_link}\ \href{https://#1}{\sitallic{#1}}} % job webpage.
|
||||
\newcommand{\slisttitle}[2]{\sreset{\ssemibold{#1}}\sreset\hfill\fontsize%
|
||||
{10}{10}\selectfont\textcolor{gray}{#2}} % job place.
|
||||
|
||||
\newcommand{\vlist}[5]{%
|
||||
\noindent
|
||||
\slisttitle{#1}{#2}\newline
|
||||
\stext{#3}\newline
|
||||
\setsepchar{;}%
|
||||
\ignoreemptyitems%
|
||||
\readlist\elements{#5}%
|
||||
\foreachitem\element\in\elements{\stext{\slist{\sbullet}\ \element}\newline}
|
||||
\def\plink{#4}\ifx\plink\empty{}\else{\slistlink{#4}\spar}\fi
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
% args: company's name, period, position, url, tasks (separated by ;).
|
||||
\newcommand{\place}[5]{%
|
||||
\noindent
|
||||
\sjplace{#1}{#2}\newline
|
||||
\stext{#3}\newline
|
||||
\setsepchar{;}%
|
||||
\ignoreemptyitems%
|
||||
\readlist\tasks{#5}%
|
||||
\foreachitem\task\in\tasks{\stext{\slist{\sbullet}\ \task}\newline}
|
||||
\def\plink{#4}\ifx\plink\empty{}\else{\sjlink{#4}\spar}\fi
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
\newcommand{\radio}[1]{%
|
||||
\newcommand{\vradio}[1]{%
|
||||
\ifnum#1>0{\sicon{ic_radio_checked}}\else{\sicon{ic_radio_unchecked}}\fi
|
||||
\ifnum#1>1{\sicon{ic_radio_checked}}\else{\sicon{ic_radio_unchecked}}\fi
|
||||
\ifnum#1>2{\sicon{ic_radio_checked}}\else{\sicon{ic_radio_unchecked}}\fi
|
||||
|
|
Loading…
Reference in a new issue