我想用乳胶制作一个子弹日记本。事实上,我想找到一种方法来把这里变成子弹日记本。对于子弹日记本,我需要一本点状笔记本,其纸张在底部编号。我只能使用以下代码制作点状纸张
\documentclass{memoir}
\usepackage[letterpaper,hmargin={0mm,0mm},vmargin={3mm,3mm}]{geometry}
\usepackage{tikz}
\begin{document}
\centering
\begin{tikzpicture}[scale=.5]
\foreach \x in {0,...,41}
\foreach \y in {0,...,54}
{
\fill[black!65] (\x,\y) circle (0.06cm);
}
\end{tikzpicture}
\end{document}
换句话说,我想改变笔记本中描述的纸张这里就像我使用上面提到的代码所解释的那样,用虚线纸。此外,我需要为一些特定页面添加一些标题,例如 index、futurelog 等。
我不知道如何将这些想法结合起来。
答案1
这可能是一个起点。
\documentclass[tikz]{standalone}
\begin{document}
\IfFileExists{lattice.pdf}{
\tikz{
\foreach\x in{.5,1,...,8}{
\clip(0,0)rectangle(8.5in,11in);
\node[above right]{\includegraphics[page=2]{lattice.pdf}};
\draw(8in,10.5in)node[circle,draw,fill=white]{page 1};
}
}
\tikz{
\foreach\x in{.5,1,...,8}{
\clip(0,0)rectangle(8.5in,11in);
\node[above right]{\includegraphics[page=2]{lattice.pdf}};
\draw(.5in,10.5in)node[rectangle,draw=red,fill=white]{page 2};
}
}
\foreach\page in{3,...,10}{
\tikz{
\clip(0,0)rectangle(8.5in,11in);
\draw(4.25in,\page in)node{Algorithmically generate your pages};
\foreach\t in{1,...,\page}{
\foreach\s in{1,...,\t}{
\draw[shift={(4.25in,5.5in)}](\t*360/\page:5)--(\s*360/\page:5);
}
}
}
}
}
{
\tikz{
\clip(0,0)rectangle(8.5in,11in);
\draw(4.25in,5.5in)node{
Rename the current PDF file as \texttt{lattice.pdf} and compile again.
};
}
\tikz{
\foreach\x in{.5,1,...,8}{
\clip(0,0)rectangle(8.5in,11in);% declare paper size
\draw[dash pattern=on0off.5in,line cap=round,line width=2pt]
(\x in,.5in)--(\x in,10.5in);% Le dots
}
}
}
\end{document}