【发布时间】:2019-11-20 21:26:44
【问题描述】:
我正在尝试在我的 LaTeX 文档的每一页中设置不同的背景。我已经尝试过 tikz、background 和我找到的许多其他包,但我做不到。
I.E.
第一页:\maketitle 一个背景
第二页:\tableofcontents,背景不同
第三页及以下:具有其他背景的内容
[编辑 1]
有些事情我没有解释清楚。您的代码对我帮助很大,但我尝试修改它并遇到了一些问题。
\documentclass[a4paper, 12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{eso-pic}
\usepackage[spanish]{babel}
\usepackage[absolute,overlay]{textpos}
\usepackage{xcolor} \definecolor{letras_portada}{RGB}{229,238,245}
\begin{document}
\AddToShipoutPictureBG*{\includegraphics[width=\paperwidth,height=\paperheight]{First_page.png}}
\begin{textblock*}{15cm}(6.35cm,23cm)
\huge{\textcolor{letras_portada}{\textbf{Report}}}
\end{textblock*}
\cleardoublepage
\AddToShipoutPictureBG*{\includegraphics[width=\paperwidth,height=\paperheight]{Index.png}}
\paragraph{}
\clearpage
\AddToShipoutPictureBG{\includegraphics[width=\paperwidth,height=\paperheight]{Content.png}}
\tableofcontents
\clearpage
\section{section 1}
text example 1text example 1text example 1text example 1text example 1text example 1text example 1text example 1text example 1text example
\subsection{2}
text example 1text example 1text example 1text example 1text example 1text example 1
\subsubsection{3}
text example 1text example 1text example 1text example 1text example 1text example 1
\end{document}
我假装的第一页有我的标题(而不是 maketitle 我是文本),第二页有特定背景但没有文本,第三页我想有目录.但是第二页消失了。
【问题讨论】:
标签: latex pdflatex latex-environment