
ページの下部から始まり、100 ポイントの間隔で上部に向かって段階的に進む水平線のみを追加しようとしています。段階がページの高さや上部と一致する必要はありません。
私は次のことを試しています。
\documentclass[parskip=true]{scrartcl}
\usepackage[automark,headsepline=true,footsepline=false]{scrlayer-scrpage}
\usepackage{tikz}
\usepackage[]{geometry}
\usepackage{blindtext}
\usetikzlibrary{arrows,shapes,backgrounds}
\begin{document}
\KOMAoptions{paper=432pt:329pt,paper=landscape}
\recalctypearea
\newgeometry{left=0mm,right=0mm,top=0mm, bottom=0mm}
\begin{tikzpicture}[overlay][x=1pt,y=1pt]
\noindent\draw[step=90pt,gray,very thick] (0,-329pt) grid (432pt,0pt);
\end{tikzpicture}
\noindent\blindtext
\end{document}
私が得たのは
答え1
2 回のコンパイル実行で問題ない場合は、左下を として簡単に参照しcurrent page.south west
、その後\foreach
ごとに線を描画する -loop を実行でき100pt
ます。コードは次のようになります。
\documentclass[parskip=true]{scrartcl}
\usepackage[automark,headsepline=true,footsepline=false]{scrlayer-scrpage}
\usepackage{tikz}
\usepackage[]{geometry}
\usepackage{blindtext}
\usetikzlibrary{arrows,shapes,backgrounds,calc}
\begin{document}
\KOMAoptions{paper=432pt:329pt,paper=landscape}
\recalctypearea
\newgeometry{left=0mm,right=0mm,top=0mm, bottom=0mm}
\begin{tikzpicture}[remember picture,overlay,x=1pt,y=1pt]
\foreach \position in {0,100,...,500}
{
\draw[cyan,thick] ($(current page.south west)+(0,\position)$) -- ++(432,0);
}
\end{tikzpicture}
\noindent\blindtext
\end{document}