\documentclass{ctexart} \usepackage[b5paper,margin={1cm},centering]{geometry} \usepackage{fancyhdr} \pagestyle{empty} \fancyhf{} \usepackage{tikz} \usetikzlibrary{shapes,snakes} % \usepackage[active,tightpage]{preview} % \PreviewEnvironment{tikzpicture} % \setlength\PreviewBorder{5pt} \begin{document} \tikzstyle{topline} =[draw=blue] \tikzstyle{bottomline} =[draw=blue] \tikzstyle{midline} =[draw=red] \tikzstyle{dashedline} =[draw=red, dashed] \noindent\makebox[\textwidth][c]{\bf\scalebox{2.5}[3]{办公专用草纸}} %\vspace{0.1pt} \par\noindent \begin{tikzpicture}[scale=1] \foreach \i in {20.6,19.2,...,-0.4} { \draw[midline] (0,\i-1) -- (\textwidth,\i-1); \draw[dashedline] (0,\i-0.6) -- (\textwidth,\i-0.6); \draw[midline] (0,21) -- (\textwidth,21);%次顶线 \draw[midline] (0,21.1) -- (\textwidth,21.1);%顶线 } \end{tikzpicture} \noindent\makebox[\textwidth][l]{\bf\scalebox{1}[1]{办公专用草纸}\hfill\today} \end{document} \documentclass{ctexart} \usepackage[a4paper,hmargin={2cm},vmargin={1.8cm}]{geometry} \usepackage{fancyhdr} \pagestyle{empty} \fancyhf{} \usepackage{tikz} \usetikzlibrary{shapes,snakes} \begin{document} \noindent \begin{tikzpicture}[scale=1,domain=0:17] \draw (8.5,24)node{\bf\scalebox{2}[2.5]{办公用纸}}; \clip (0,-1)rectangle(17,24); \foreach \m in {0,1,2,...,19}\draw[dash pattern=on 2.5pt off 2.5pt] plot(\x,1.2*\m); \foreach \n in {-1,0,1,...,23}\draw[thick] plot(\x,1.2*\n+0.3); \end{tikzpicture} \end{document} \documentclass{ctexart} \usepackage[b4paper,hmargin={1.7cm},vmargin={1.6cm},landscape]{geometry} \usepackage{fancyhdr} \pagestyle{empty} \fancyhf{} \usepackage{tikz} \usetikzlibrary{shapes,snakes} \begin{document} %稿纸效果 \noindent \begin{tikzpicture}[scale=1,domain=0:15] \draw (7.5,20)node{\bf\scalebox{2}[2.5]{办公用纸}}; \clip (0,-1)rectangle(15,20); \foreach \m in {0,1,2,...,19}\draw[dash pattern=on 2.5pt off 2.5pt] plot(\x,\m); \foreach \n in {-1,0,1,...,23}\draw[] plot(\x,\n+0.3); \end{tikzpicture} \rule{1.5cm}{0pt} \begin{tikzpicture}[scale=1,domain=0:15] \draw (7.5,20)node{\bf\scalebox{2}[2.5]{办公用纸}}; \clip (0,-1)rectangle(15,20); \foreach \m in {0,1,2,...,19}\draw[dash pattern=on 2.5pt off 2.5pt] plot(\x,\m); \foreach \n in {-1,0,1,...,23}\draw[] plot(\x,\n+0.3); \end{tikzpicture} \end{document} \documentclass{ctexart} \usepackage[a4paper,hmargin={4cm},vmargin={4cm}]{geometry} \usepackage{fancyhdr} \pagestyle{empty} \fancyhf{} \usepackage{tikz} \usetikzlibrary{shapes,snakes} \begin{document} %书法用纸效果:田字格(10*14)、米字格 \noindent \begin{tikzpicture}[scale=1.3] \draw[dash pattern=on 2.5pt off 2.5pt](0,0)grid[step=0.5](10,14); \draw[thick](0,0)grid(10,14); \draw[ultra thick](0,0)rectangle(10,14); \draw (5,15)node{\bf\scalebox{2}[2.5]{硬笔书法比赛用纸}}; \end{tikzpicture} \end{document} \documentclass{ctexart} \usepackage[a4paper,hmargin={2cm},vmargin={2.2cm}]{geometry} \usepackage{fancyhdr} \pagestyle{empty} \fancyhf{} \usepackage{tikz} \usetikzlibrary{shapes,snakes} \begin{document} %书法用纸效果:田字格(12*18)、米字格 % \noindent \begin{tikzpicture}[scale=1.3] \draw[dash pattern=on 2.5pt off 2.5pt](0,0)grid[step=0.5](12,18); \draw[thick](0,0)grid(12,18); \draw[ultra thick](0,0)rectangle(12,18); \draw (6,19)node{\bf\scalebox{2}[2.5]{硬笔书法比赛用纸}}; \end{tikzpicture} \end{document} \documentclass{ctexart} \usepackage[b4paper,hmargin={1.5cm},vmargin={2.3cm},landscape]{geometry} \usepackage{fancyhdr} \pagestyle{empty} \fancyhf{} \usepackage{tikz} \usetikzlibrary{shapes,snakes} \begin{document} %书法用纸效果:田字格 \begin{tikzpicture}[scale=1.3] \draw[dash pattern=on 2.5pt off 2.5pt](0,0)grid[step=0.5](10,14); \draw[thick](0,0)grid(10,14); \draw[ultra thick](0,0)rectangle(10,14); \draw (5,15)node{\bf\scalebox{2}[2.5]{硬笔书法比赛用纸}}; \end{tikzpicture} \rule{4cm}{0pt} \begin{tikzpicture}[scale=1.3] \draw[dash pattern=on 2.5pt off 2.5pt](0,0)grid[step=0.5](10,14); \draw[thick](0,0)grid(10,14); \draw[ultra thick](0,0)rectangle(10,14); \draw (5,15)node{\bf\scalebox{2}[2.5]{硬笔书法比赛用纸}}; \end{tikzpicture} \end{document} \documentclass{ctexart} \usepackage[b4paper,hmargin={2cm},vmargin={2.3cm},landscape]{geometry} \usepackage{fancyhdr} \pagestyle{empty} \fancyhf{} \usepackage{tikz} \usetikzlibrary{shapes,snakes} \begin{document} %书法用纸效果:米字格 \begin{tikzpicture}[scale=1.3] \draw (5,15)node{\bf\scalebox{2}[2.5]{硬笔书法比赛用纸}}; \clip (0,0)rectangle(10,14); \foreach \t in {-9,-8,...,13}\draw[very thin,dash pattern=on 2.5pt off 2.5pt] plot[domain=0:10](\x,\x+\t); \foreach \t in {0,1,...,23}\draw[very thin,dash pattern=on 2.5pt off 2.5pt] plot[domain=0:10](\x,-\x+\t); \draw[dash pattern=on 2.5pt off 2.5pt](0,0)grid[step=0.5](10,14); \draw[thick](0,0)grid(10,14); \draw[ultra thick](0,0)rectangle(10,14); \end{tikzpicture} \rule{3cm}{0pt} \begin{tikzpicture}[scale=1.3] \draw (5,15)node{\bf\scalebox{2}[2.5]{硬笔书法比赛用纸}}; \clip (0,0)rectangle(10,14); \foreach \t in {-9,-8,...,13}\draw[very thin,dash pattern=on 2.5pt off 2.5pt] plot[domain=0:10](\x,\x+\t); \foreach \t in {0,1,...,23}\draw[very thin,dash pattern=on 2.5pt off 2.5pt] plot[domain=0:10](\x,-\x+\t); \draw[dash pattern=on 2.5pt off 2.5pt](0,0)grid[step=0.5](10,14); \draw[thick](0,0)grid(10,14); \draw[ultra thick](0,0)rectangle(10,14); \end{tikzpicture} \end{document} \documentclass{ctexart} \usepackage[b4paper,hmargin={2cm},vmargin={2cm},landscape]{geometry} \usepackage{fancyhdr} \pagestyle{empty} \fancyhf{} \usepackage{tikz} \usetikzlibrary{shapes,snakes} \begin{document} %作文纸B4效果1 \begin{tikzpicture}[scale=0.75] %画17条竖线代表单行17个格 \foreach \m in {1,2,...,17}\draw(\m,0) -- (\m,{20*1.4-0.4}); %画19个横矩形,代表20行 \foreach \n in {1,2,...,19}\draw[fill=white,line width=0.4pt](0,{1.4*\n-0.4})rectangle(17,{1.4*\n}); %以下17*20个方格,如果能定义常量就方便操作了。 \draw[thick](0,0)rectangle(17,{20*1.4-0.4}); \end{tikzpicture} \rule{4cm}{0pt} \begin{tikzpicture}[scale=0.75] %画17条竖线代表单行17个格 \foreach \m in {1,2,...,17}\draw(\m,0) -- (\m,{20*1.4-0.4}); %画19个横矩形,代表20行 \foreach \n in {1,2,...,19}\draw[fill=white,line width=0.4pt](0,{1.4*\n-0.4})rectangle(17,{1.4*\n}); %以下17*20个方格,如果能定义常量就方便操作了。 \draw[thick](0,0)rectangle(17,{20*1.4-0.4}); \end{tikzpicture} \end{document} \documentclass{ctexart} \usepackage[b4paper,hmargin={2cm},vmargin={3.1cm},landscape]{geometry} \usepackage{fancyhdr} \pagestyle{empty} \fancyhf{} \usepackage{tikz} \usetikzlibrary{shapes,snakes} \begin{document} %作文纸B4效果2 \begin{tikzpicture}[scale=1,x=0.7cm,y=0.95cm] \foreach \x [count=\xi] in {1,2,...,20} \foreach \y [count=\yi] in {1,2,...,20} \node[anchor=east,draw,minimum size=0.7cm]at(\x,\y){};%$\y$ \draw[thick](0,0.63)rectangle(20,20.37); \end{tikzpicture} \rule{2cm}{0pt} \begin{tikzpicture}[scale=1,x=0.7cm,y=0.95cm] \foreach \x [count=\xi] in {1,2,...,20} \foreach \y [count=\yi] in {1,2,...,20} \node[anchor=east,draw,minimum size=0.7cm]at(\x,\y){};%$\y$ \draw[thick](0,0.63)rectangle(20,20.37); \end{tikzpicture} \end{document}
发表评论 取消回复