LaTeX Templates Bìa sách tuyệt đẹp 10

\documentclass{article}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{shadows,shadows.blur}
\usepackage{anyfontsize}
\usepackage{pdfrender}
%============================================
\definecolor{myblue}{cmyk}{10,0,0,0}
\definecolor{YankeesBlue}{RGB}{28,40,65}
\definecolor{mygray}{RGB}{112,121,139}
\definecolor{mytan}{HTML}{F6D5A8}
%=================================================


\begin{document}

\pagestyle{empty}

\begin{tikzpicture}[remember picture,overlay]
\path 
(current page.north west) coordinate (A) 
(current page.center) coordinate (E) ;
%=============================================
%%%%%%%%%%%%%%%%%%%% Background %%%%%%%%%%%%%%%%%%%%%%%%

\foreach \i in {1,5,10,15,20}
\foreach \j  in {1,5,10,15,20}
{
	\pgfmathsetmacro\k{\j*2+5}
	\fill[myblue!\k,blur shadow=%
	{
		shadow blur steps=5,
		shadow xshift=-0.8mm,
		shadow yshift=-2mm}]
	($(A)+(0,-\j-\i*0.5)$) rectangle +(5+\j*.5,-5-\i*0.5);
}

%=======================================
%=======================================


%==============================================
%==============================================
%University name
\node[anchor=west] at ([shift={(1,12)}]E){
	\textpdfrender{
		TextRenderingMode=FillStroke, StrokeColor=YankeesBlue, LineWidth=1.5pt, FillColor=white
	}{\fontsize{25}{25}\sffamily\bfseries\color{YankeesBlue}
		University name
}};
%=====================================================
%==============================================
%triangle 1
\def\r{.6}
\foreach \c in {0,1,2}{
	\path 
	($(E)+(0,12)+(120*\c:\r)$)coordinate(T\c) ;
}

\begin{scope}[transform canvas={xshift=0.04cm,yshift=-0.05cm}]
\fill [black, opacity=0.3] 
(T0) -- (T1) -- (T2) -- cycle; 
\end{scope}

\shade [top color=YankeesBlue!60!white, bottom color=YankeesBlue] (T0) -- (T1) -- (T2) -- cycle; 

%=====================================================
%==============================================
% Title
\node[anchor=west] at ($(E)+(-8,0)$){
	\textpdfrender{
		TextRenderingMode=FillStroke, StrokeColor=YankeesBlue, LineWidth=1.5pt, FillColor=white
	}{\fontsize{60}{72}\sffamily\bfseries\color{YankeesBlue}
		Title of the Book
}};

%==============================================
% Year of edition
\draw[gray,line width=4pt]
($(E)+(-5,-9)$) -- ++(0,-2cm) 
node[
midway,
left=0.25cm,
text width=5cm,
align=right,
YankeesBlue
]
{
	{\fontsize{25}{30} \selectfont \bf  EDITION}
} 
node[
midway,
right=0.25cm,
text width=6cm,
align=left,
orange]
{
	{\bfseries\fontsize{32}{46.4} \selectfont 2022}
};

\end{tikzpicture}

\end{document}

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *