![LaTeX でよりクリエイティブなテキスト書式設定を行うためのパッケージ](https://rvso.com/image/286345/LaTeX%20%E3%81%A7%E3%82%88%E3%82%8A%E3%82%AF%E3%83%AA%E3%82%A8%E3%82%A4%E3%83%86%E3%82%A3%E3%83%96%E3%81%AA%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E6%9B%B8%E5%BC%8F%E8%A8%AD%E5%AE%9A%E3%82%92%E8%A1%8C%E3%81%86%E3%81%9F%E3%82%81%E3%81%AE%E3%83%91%E3%83%83%E3%82%B1%E3%83%BC%E3%82%B8.png)
次の例のようなものを実現するのに使用する適切なパッケージは何ですか(画像の変更を含む):
情報源はhttp://blog.azubiyo.de/bewerbungstipps/deckblatt-bewerbung/attachment/deckblatt-muster-4/(PDF ファイルはそこからダウンロードできます) これは、ドイツの AZUBIYO-Blog のブログ記事の一部です。応募用紙は?サンプルとサンプル以下の著作権が付与されます:
画像引用元: © lev dolgachov-fotolia、© Minerva Studio-fotolia; Urheber Design 1 & 2: デザインコンテスト
答え1
先延ばしチーム、代表!
これはTikZを使えば簡単すぎる;-)
これで、正しい色、正しいフォント、コードが画像と一致しました。タイプセットするには、 または を使用する必要がありxelatex
ますlualatex
。
\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 Bewerbung als Bankkauffrau};
\node[cvtext,above left] at ([xshift=-1cm,yshift=-9.5cm]current page.north east) {\huge\bfseries zum 01.09.2013};
% 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 Martina Mustermann};
\node[text width=15cm,inner sep=0.3cm,below right] at (name.south west) {\Large\obeylines%
Musterweg 8
81929 München
Tel.: 01 74 / 98 98 61
E-Mail: [email protected]
};
% attachments
\node[white,text width=5cm,inner sep=0.3cm,above right] at ([yshift=1cm]current page.south west) {\large\obeylines%
\textbf{Anlagen:}
Lebenslauf
Bewerbungsschreiben
Letzte 2 Schulzeugnisse
Praktikumsbestätigungen
};
\end{tikzpicture}
\end{document}
答え2
ただの楽しみのために:
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\gdef\shift{0}
\foreach \x in {1,...,100}{
\pgfmathsetmacro\r{random(0,5)}
\xdef\shift{\shift,\r}
}
\foreach \sh in {0,...,5}{
\gdef\rec{0}
\foreach \s [count=\c] in \shift { \ifnum\s=\sh \xdef\rec{\rec,\c} \fi }
\begin{scope}
\clip \foreach \x in \rec {(0, \x pt) rectangle ++(110pt,1pt)};
\node[anchor=south west] at (\sh pt,0)
{\includegraphics[width=100pt,height=100pt]{example-image-a}};
\end{scope}
}
\end{tikzpicture}
\end{document}