| 1 |
\documentclass{article} |
| 2 |
\usepackage{fontspec} |
| 3 |
\newfontface\hira{Hiragino Maru Gothic Pro} |
| 4 |
\usepackage{tikz} |
| 5 |
\usetikzlibrary{shadows} |
| 6 |
\usetikzlibrary{shadows.blur} |
| 7 |
\usetikzlibrary{shadings} |
| 8 |
\begin{document} |
| 9 |
\thispagestyle{empty} |
| 10 |
\begin{tikzpicture} |
| 11 |
\def\yy{2.5cm} |
| 12 |
\begin{scope}[shift={(0,9pt)}] |
| 13 |
\fill[black!63,blur shadow={shadow scale=1, shadow yshift=-6pt, |
| 14 |
shadow xshift=0,shadow opacity=30,shadow blur radius=4pt, shadow |
| 15 |
blur steps=8}] (0,2*\yy) -- (-4,\yy) -- (0,0) -- (4,\yy) -- (0,2*\yy); |
| 16 |
|
| 17 |
\clip (0,2*\yy) -- (-4,\yy) -- (0,0) -- (4,\yy) -- (0,2*\yy); |
| 18 |
\shade[left color=black!63,right color=black!60] (-4pt,0) rectangle (0,2*\yy) ; |
| 19 |
\shade[right color=black!63,left color=black!60] (4pt,0) rectangle (0,2*\yy) ; |
| 20 |
\end{scope} |
| 21 |
\begin{scope}[shift={(6pt,-3pt)}] |
| 22 |
\fill[black!45] (0,0) -- (4,\yy) -- (4,-\yy) -- (0,0); |
| 23 |
\fill[black!39,blur shadow={shadow scale=1, shadow yshift=-6pt, |
| 24 |
shadow xshift=0,shadow opacity=30,shadow blur radius=4pt, shadow |
| 25 |
blur steps=8}] (0,0) -- (4,-\yy) -- (0,-2*\yy) -- (0,0) ; |
| 26 |
% extra stripe of different color |
| 27 |
\clip (0,0) -- (4,\yy) -- (4,-\yy) -- (0,-2*\yy) -- (0,0); |
| 28 |
\fill[black!44] (0,0) -- (4,-\yy) -- (4,-\yy+5pt) -- (0,5pt) -- |
| 29 |
(0,0) ; |
| 30 |
\fill[black!38] (0,0) -- (4,-\yy) -- (4,-\yy-5pt) -- (0,-5pt) -- |
| 31 |
(0,0) ; |
| 32 |
\end{scope} |
| 33 |
\begin{scope}[shift={(-6pt,-3pt)}] |
| 34 |
\fill[black!27] (0,0) -- (-4,\yy) -- (-4,-\yy) -- (0,0) ; |
| 35 |
\fill[black!22,blur shadow={shadow scale=1, shadow yshift=-6pt, |
| 36 |
shadow xshift=0,shadow opacity=30,shadow blur radius=4pt, shadow |
| 37 |
blur steps=8}] (0,0) -- (-4,-\yy) -- (0,-2*\yy) -- (0,0) ; |
| 38 |
\clip (0,0) -- (-4,\yy) -- (-4,-\yy) -- (0,-2*\yy) -- (0,0) ; |
| 39 |
\fill[black!26] (0,0) -- (-4,-\yy) -- (-4,-\yy+5pt) -- (0,5pt) -- |
| 40 |
(0,0) ; |
| 41 |
\fill[black!21] (0,0) -- (-4,-\yy) -- (-4,-\yy-5pt) -- (0,-5pt) -- |
| 42 |
(0,0) ; |
| 43 |
\end{scope} |
| 44 |
|
| 45 |
\node [rotate=32] at (2.5,-4.4) {\hira\fontsize{30}{30}\selectfont |
| 46 |
{\color{black!22}考}{\color{black!62}作舍}} ; |
| 47 |
% |
| 48 |
% shading of the upper block |
| 49 |
|
| 50 |
\end{tikzpicture} |
| 51 |
\end{document} |
| 52 |
%%% Local Variables: |
| 53 |
%%% mode: latex |
| 54 |
%%% TeX-master: t |
| 55 |
%%% End: |