全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 LATEX论坛
8328 1
2014-11-26

今天给大家分享一个仿制设计的封面样例,有需要的用户可以下载使用。

原稿样式如下:

仿制的样式截图如下:
仿制代码如下:












TeX


\documentclass{article}\pagestyle{empty}\usepackage{fontspec}\setmainfont{Calibri}\usepackage{tikz,xcolor,mwe}\definecolor{cvgreen}{HTML}{92D14F}\definecolor{cvgray}{HTML}{D8E4BE}\definecolor{cvtext}{HTML}{92909B}\usetikzlibrary{shadows}\begin{document}\begin{tikzpicture}[remember picture,overlay]    % green bar    \fill[cvgreen] (current page.north west) rectangle ([xshift=5cm]current page.south west);    % gray bar    \fill[cvgray] ([yshift=-5cm]current page.north west) rectangle ([yshift=-10cm]current page.north east);    % title and date    \node[cvtext,right] at ([yshift=-7cm]current page.north west) {\addfontfeature{Scale = 5}\bfseries The Example of \LaTeX Studio};    \node[cvtext,above left] at ([xshift=-1cm,yshift=-9.5cm]current page.north east) {\huge\bfseries \today};    % cover photo    \node[inner sep=0pt,below right] (image) at ([xshift=5cm,yshift=-10cm]current page.north west) {\includegraphics[width=7cm,height=9cm]{example-image-a}};    % name and address    \node[fill=white,drop shadow,align=center,text width=6.4cm,inner sep=0.3cm,below] (name) at (image.south) {\LARGE \LaTeX Studio};    \node[text width=15cm,inner sep=0.3cm,below right] at (name.south west) {\Large\obeylines%        Road 8        81929 New        Tel.: 01 74 / 98 98 61        E-Mail: latexstudio@yeah.net    };    % attachments    \node[white,text width=5cm,inner sep=0.3cm,above right] at ([yshift=1cm]current page.south west) {\large\obeylines%        \textbf{Introduction:}        Typesetting Services        Source Files Provided        PDF Compatibility and so on    };\end{tikzpicture}\end{document}
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

\documentclass{article}
\pagestyle{empty}
\usepackage{fontspec}
\setmainfont{Calibri}
\usepackage{tikz,xcolor,mwe}
\definecolor{cvgreen}{HTML}{92D14F}
\definecolor{cvgray}{HTML}{D8E4BE}
\definecolor{cvtext}{HTML}{92909B}
\usetikzlibrary{shadows}
\begin{document}
\begin{tikzpicture}[remember picture,overlay]
    % green bar
    \fill[cvgreen] (current page.north west) rectangle ([xshift=5cm]current page.south west);
    % gray bar
    \fill[cvgray] ([yshift=-5cm]current page.north west) rectangle ([yshift=-10cm]current page.north east);
    % title and date
    \node[cvtext,right] at ([yshift=-7cm]current page.north west) {\addfontfeature{Scale = 5}\bfseries The Example of \LaTeX Studio};
    \node[cvtext,above left] at ([xshift=-1cm,yshift=-9.5cm]current page.north east) {\huge\bfseries \today};
    % cover photo
    \node[inner sep=0pt,below right] (image) at ([xshift=5cm,yshift=-10cm]current page.north west) {\includegraphics[width=7cm,height=9cm]{example-image-a}};
    % name and address
    \node[fill=white,drop shadow,align=center,text width=6.4cm,inner sep=0.3cm,below] (name) at (image.south) {\LARGE \LaTeX Studio};
    \node[text width=15cm,inner sep=0.3cm,below right] at (name.south west) {\Large\obeylines%
        Road 8
        81929 New
        Tel.: 01 74 / 98 98 61
        E-Mail: latexstudio@yeah.net
    };
    % attachments
    \node[white,text width=5cm,inner sep=0.3cm,above right] at ([yshift=1cm]current page.south west) {\large\obeylines%
        \textbf{Introduction:}
        Typesetting Services
        Source Files Provided
        PDF Compatibility and so on
    };
\end{tikzpicture}
\end{document}



选自:http://tex.stackexchange.com/questions/165895/package-for-more-creative-text-formatting-in-latex



二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2017-5-18 19:53:50
很想问\node 是做什么用的?需要用那个包吗?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群