带有乳胶的封面

带有乳胶的封面

我怎样才能用乳胶设计以下封面?

在此处输入图片描述

答案1

一个选项可以同时利用两个方面的优势:

\documentclass{article}
\usepackage{pst-all}
\usepackage{auto-pst-pdf}% for running it with pdflatex -shell-escape
\usepackage{pst-light3d}
\usepackage{tikz}
\usepackage{lmodern}
\usetikzlibrary{backgrounds}

\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}

\definecolor{myblue3}{RGB}{81,91,199}
\definecolor{myblue2}{RGB}{66,76,103}
\definecolor{mygray}{RGB}{112,121,139}

\newcommand\MyAmpersand{%
\begin{pspicture}(0,-1)(8,2)
\DeclareFixedFont{\Rmb}{T1}{ptm}{m}{n}{2cm}
\PstLightThreeDText[
  linecolor=white,
  fillstyle=solid,
  fillcolor=myblue3,
  LightThreeDAngle=-30,
  LightThreeDYLength=-0.25,
  LightThreeDColorPsCommand=%
    2.5 div 0.7 exch 0.8 sethsbcolor
  ]{\Rmb \&}
\end{pspicture}%
}

\pagestyle{empty}

\begin{document}

\begin{tikzpicture}[remember picture,overlay]
\begin{pgfonlayer}{background}
\fill[mygray]
  (current page.north west) --
  (current page.north east) --
  ([yshift=1.3cm]current page.east) to[out=195,in=-15]
  ([yshift=3cm]current page.west) --
  cycle;
\fill[myblue2]
  (current page.north west) --
  (current page.north east) --
  ([yshift=3cm]current page.east) to[out=195,in=-15]
  ([yshift=3cm]current page.west) --
  cycle;
\end{pgfonlayer}  
\begin{pgfonlayer}{foreground}
\node[
  align=left,
  font=\color{white}\fontsize{58}{64}\bfseries,
  anchor=north
  ] 
  at ([yshift=-2.3cm]current page.north)
  (name) 
  {\TeX \\[0.3ex] \LaTeX};
\end{pgfonlayer}  
\begin{pgfonlayer}{main}
\begin{scope}[scale=3,transform shape]
\node[] 
  at (name.west)
  {\MyAmpersand};
\end{scope}  
\end{pgfonlayer}
\end{tikzpicture}

\end{document}

输出:

在此处输入图片描述

使用编译

pdflatex --shell-escape

(或其 Windows 等效版本)。根据需要对字体、大小等进行一些调整。

相关内容