我如何创建像下面示例一样的模板?
谢谢您的任何回复!
答案1
我必须承认我有点得意忘形,但我还是完成了。所以就在这里,但下次请尝试发布代码尝试(即使部分代码也有帮助),或添加更多信息。
输出
代码
\documentclass{article}
\usepackage[margin=2cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp}
\usepackage{gensymb}
\usepackage{tikz}
\usepackage{multirow}
\DeclareUnicodeCharacter{00B0}{\degree}
\begin{document}
% header
\begin{tikzpicture}[remember picture,overlay]
\node[yshift=-3cm] at (current page.north west)
{\begin{tikzpicture}[remember picture, overlay]
\draw[draw=none,fill=green!10] (0,-1) rectangle
(\paperwidth,3cm);
\node[anchor=north west, align=center,minimum size=3cm, xshift=1cm, yshift=-5mm, text width=3cm,fill=gray] at (current page.north west) {Logo\\3cm x 3cm};
\node[anchor=north, font=\bfseries,, yshift=-5mm] at (current page.north) (title) {Escola Estadual Professor Valerio de Zevedo Araújo Costa};
\node[anchor=north west,yshift=-5mm, inner sep=0] at (title.south west) (table) {
\begin{tabular}{lp{1cm}lp{1cm}c}
Atividade: & & Etapa: 2\textsuperscript{a} etapa & & Valor: 12 pontos \\
Disciplina: Matemática & & Professor: Lauro Costa & & \multirow{2}{*}{\tikz[baseline,overlay]{\node[anchor=base, draw=black, thick, minimum width=1.8cm, minimum height=7mm,rounded corners, yshift=-2mm,label={[fill=green!10,label distance=-1mm,inner xsep=2pt]90:Nota:}] {};}}\\
Série: 1\textsuperscript{a} EM & & Turno: matutino & & \\
\end{tabular}};
\end{tikzpicture}
};
\end{tikzpicture}
\vspace*{2.5cm}
\noindent Aluno:\makebox[6cm]{\enspace\hrulefill} \enspace N\degree:\makebox[2cm]{\enspace\hrulefill} \enspace Turma:\makebox[3cm]{\enspace\hrulefill} \enspace Data:\makebox[2cm]{\enspace\hrulefill/05/2015}
\end{document}