-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate_Worksheet.tex
More file actions
108 lines (95 loc) · 2.59 KB
/
template_Worksheet.tex
File metadata and controls
108 lines (95 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
\documentclass[letterpaper]{article}
\usepackage{amsmath}
\usepackage[english,russian]{babel}
\usepackage{tikz}
\usetikzlibrary{calc,shapes}
\usepackage{epigraph}
\usepackage{lipsum}
\usepackage[most]{tcolorbox}
\definecolor{bluegray}{rgb}{0.4, 0.6, 0.8}
\colorlet{LightLavender}{bluegray!50!}
\tcbset{on line,
boxsep=4pt, left=0pt,right=0pt,top=0pt,bottom=0pt,
colframe=white,colback=LightLavender,
highlight math style={enhanced}
}
\renewcommand\epigraphflush{flushright}
\renewcommand\epigraphsize{\normalsize}
\setlength\epigraphwidth{0.7\textwidth}
\definecolor{titlepagecolor}{cmyk}{1,.60,0,.40}
\DeclareFixedFont{\titlefont}{T1}{ppl}{b}{it}{0.5in}
\makeatletter
\def\printauthor{%
{\large \@author}}
\makeatother
\author{%
Kozlov Kirill\\
Faculty of Phisics \\
\texttt{kykozlov@gmail.com}\vspace{20pt} \\
}
% The following code is borrowed from: https://tex.stackexchange.com/a/86310/10898
\newcommand\titlepagedecoration{%
\begin{tikzpicture}[remember picture,overlay,shorten >= -10pt]
\coordinate (aux1) at ([yshift=-15pt]current page.north east);
\coordinate (aux2) at ([yshift=-410pt]current page.north east);
\coordinate (aux3) at ([xshift=-4.5cm]current page.north east);
\coordinate (aux4) at ([yshift=-150pt]current page.north east);
\begin{scope}[titlepagecolor!40,line width=12pt,rounded corners=12pt]
\draw
(aux1) -- coordinate (a)
++(225:5) --
++(-45:5.1) coordinate (b);
\draw[shorten <= -10pt]
(aux3) --
(a) --
(aux1);
\draw[opacity=0.6,titlepagecolor,shorten <= -10pt]
(b) --
++(225:2.2) --
++(-45:2.2);
\end{scope}
\draw[titlepagecolor,line width=8pt,rounded corners=8pt,shorten <= -10pt]
(aux4) --
++(225:0.8) --
++(-45:0.8);
\begin{scope}[titlepagecolor!70,line width=6pt,rounded corners=8pt]
\draw[shorten <= -10pt]
(aux2) --
++(225:3) coordinate[pos=0.45] (c) --
++(-45:3.1);
\draw
(aux2) --
(c) --
++(135:2.5) --
++(45:2.5) --
++(-45:2.5) coordinate[pos=0.3] (d);
\draw
(d) -- +(45:1);
\end{scope}
\end{tikzpicture}%
}
\begin{document}
\noindent
\titlefont WorkSheet\par
\vspace*{1cm}
\noindent
\hfill
\begin{minipage}{0.35\linewidth}
\begin{flushright}
\printauthor
\end{flushright}
\end{minipage}
%
\begin{minipage}{0.02\linewidth}
\rule{1pt}{70pt}
\end{minipage}
\titlepagedecoration
\section*{\LARGE \tcbox{Task 1}}
\large
\textrm{
So we have an equation
\begin{equation}
a ^2 + b^2 = c^2
\end{equation}
}
\end{document}