我想制作一个像这样的日历首页这里。 有人能帮助我吗?
这是我到目前为止所做的(但没有效果):
\documentclass[ngerman,landscape,fontsize=14pt]{scrartcl}
\renewcommand{\date}{2015}
\usepackage[margin=0pt]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[T1]{fontenc}
\usepackage{translator}
\usepackage{tikz}
\usetikzlibrary{calendar,backgrounds, calc}
\pagecolor{black}
\usepackage{mwe}
\begin{document}
\thispagestyle{empty}
\begin{tikzpicture}[remember picture,overlay]
\node[white] at ($(current page.center) (0,-10cm) $) {\fontsize{40}{48} \textcolor{white}{\scshape calendar --} \textcolor{red}{\date}}
\node[inner sep=0pt] (januar) at (?,?) {example-image};
\end{tikzpicture}
\end{document}
提前非常感谢您!
答案1
下面怎么样?将图片名称替换goldshade
为您自己的图片。
\documentclass[ngerman,landscape,fontsize=14pt]{scrartcl}
\renewcommand{\date}{2015}
\usepackage[margin=2mm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[T1]{fontenc}
\usepackage{translator}
\usepackage{tikz}
\usetikzlibrary{calendar,backgrounds, calc}
\pagecolor{black}
\usepackage{mwe}
\usepackage[skins]{tcolorbox}
\begin{document}
\edef\myspace{2mm}
\edef\wsingle{\the\dimexpr(\linewidth-\myspace*5)/6\relax}
\edef\hsingle{\the\dimexpr1.2\dimexpr\wsingle\relax}
\edef\wdouble{\the\dimexpr\wsingle*2+\myspace\relax}
\edef\hdouble{\the\dimexpr\hsingle*2+\myspace\relax}
\edef\wraster{\the\dimexpr\wsingle+\myspace}
\edef\hraster{\the\dimexpr\hsingle+\myspace}
\thispagestyle{empty}
\vspace*{-12mm}
\begin{center}
\fontsize{40}{48}\selectfont\textcolor{white}{\scshape calendar --} \textcolor{red}{\date}
\end{center}
\noindent\begin{tikzpicture}
\fill[fill overzoom image=example-image-a] (0,0) rectangle +(\wdouble,\hdouble);
\fill[fill overzoom image=blueshade] (0,\hraster*2) rectangle +(\wsingle,\hsingle);
\fill[fill overzoom image=goldshade] (\wraster,\hraster*2) rectangle +(\wsingle,\hsingle);
\fill[fill overzoom image=example-image-a] (\wraster*2,0) rectangle +(\wsingle,\hsingle);
\fill[fill overzoom image=example-image-b] (\wraster*3,0) rectangle +(\wsingle,\hsingle);
\fill[fill overzoom image=goldshade] (\wraster*2,\hraster) rectangle +(\wdouble,\hdouble);
\fill[fill overzoom image=example-image-a] (\wraster*4,0) rectangle +(\wsingle,\hsingle);
\fill[fill overzoom image=goldshade] (\wraster*5,0) rectangle +(\wsingle,\hsingle);
\fill[fill overzoom image=example-image-b] (\wraster*4,\hraster) rectangle +(\wsingle,\hsingle);
\fill[fill overzoom image=blueshade.png] (\wraster*5,\hraster) rectangle +(\wsingle,\hsingle);
\fill[fill overzoom image=goldshade.png] (\wraster*4,\hraster*2) rectangle +(\wsingle,\hsingle);
\fill[fill overzoom image=blueshade.png] (\wraster*5,\hraster*2) rectangle +(\wsingle,\hsingle);
\end{tikzpicture}
\end{document}