![我怎样才能在某个部分之前水平添加这 3 个链?](https://linux22.com/image/445513/%E6%88%91%E6%80%8E%E6%A0%B7%E6%89%8D%E8%83%BD%E5%9C%A8%E6%9F%90%E4%B8%AA%E9%83%A8%E5%88%86%E4%B9%8B%E5%89%8D%E6%B0%B4%E5%B9%B3%E6%B7%BB%E5%8A%A0%E8%BF%99%203%20%E4%B8%AA%E9%93%BE%EF%BC%9F.png)
我在文档中添加了背景图像,还在文档边框中添加了装饰。但文本没有从正确的位置开始。另外,我试图在某个部分之前添加五个水平放置的小装饰圆圈。但我不知道如何定义它的位置以及如何控制它的大小。我正在遵循 CTAN 的教程并按照它进行编写。装饰链也从错误的位置开始。这是我的代码
\documentclass{article}
\usepackage{tikz}
\usepackage[top=2cm, bottom=2cm, outer=0cm, inner=0cm]{geometry}
\title{abc}
\author{saad}
\date{12-12-12}
\usepackage[paper=a4paper, verbose, centering]{geometry}
\usepackage{pgfornament}
\usetikzlibrary{chains}
\usepackage{titling}%
\begin{document}
\maketitle
\section{A section A Section A Section A Section}
\tikz[remember picture,overlay] \node[opacity=0.2,inner sep=0pt] at (current page.center){\includegraphics[width=\paperwidth,height=\paperheight]{bright 2.png}};
\begin{tikzpicture}[remember picture, overlay, start chain, node distance=-2mm]
\node (nworn) [shift={(5mm,-5mm)}, anchor=north west, on chain ] at (current page.north west) {\pgfornament[width=10mm]{7}};
\foreach \i in {1,...,17}
\node [on chain] {\pgfornament[width=10mm]{7}};
\node (neorn) [on chain] {\pgfornament[width=10mm]{7}};
\foreach \i in {1,...,24}
\node [continue chain=going below, on chain] {\pgfornament[width=10mm]{7}};
\node (seorn) [on chain] {\pgfornament[width=10mm]{7}};
\foreach \i in {1,...,17}
\node [continue chain=going left, on chain] {\pgfornament[width=10mm]{7}};
\node (sworn) [on chain] {\pgfornament[width=10mm]{7}};
\foreach \i in {1,...,24}
\node [continue chain=going above, on chain] {\pgfornament[width=10mm]{7}};
\end{tikzpicture}
\begin{tikzpicture}[start chain=circle placed %
{at=(\tikzchaincount*30:2)}]
\foreach \i in {1,...,12} \node [on chain]%
{\pgfornament[width=1cm]{4}};
\end{tikzpicture}
\begin{tikzpicture}[start chain=circle placed %
{at=(\tikzchaincount*30:2)}]
\foreach \i in {1,...,12} \node [on chain]%
{\pgfornament[width=0.8cm]{4}};
\end{tikzpicture}
\begin{tikzpicture}[start chain=circle placed %
{at=(\tikzchaincount*30:2)}]
\foreach \i in {1,...,12} \node [on chain]%
{\pgfornament[width=1cm]{4}};
\end{tikzpicture}
\section{A Section A Section A Section}
\clearpage
text
\end{document}
我几乎不知道如何放置这些链并控制它们的大小。所以有人能描述一下解决方案吗?
答案1
\documentclass{article}
\usepackage{tikz}
\usepackage[top=1cm, bottom=2cm, outer=0cm, inner=0cm]{geometry}
\title{abc}
\author{saad}
\date{12-12-12}
%\usepackage[paper=a4paper, verbose, centering]{geometry}
\usepackage{pgfornament}
\usetikzlibrary{chains}
\usepackage{titling}%
\begin{document}
\maketitle
\vspace*{1cm}
\section{A section A Section A Section A Section}
%
% \tikz[remember picture,overlay] \node[opacity=0.2,inner sep=0pt] at (current page.center){\includegraphics[width=\paperwidth,height=\paperheight]{bright 2.png}};
%
\begin{tikzpicture}[remember picture, overlay, start chain, node distance=-2mm]
\node (nworn) [shift={(5mm,-5mm)}, anchor=north west, on chain ] at (current page.north west) {\pgfornament[width=10mm]{7}};
\foreach \i in {1,...,17}
\node [on chain] {\pgfornament[width=10mm]{7}};
\node (neorn) [on chain] {\pgfornament[width=10mm]{7}};
\foreach \i in {1,...,4}
\node [continue chain=going below, on chain] {\pgfornament[width=10mm]{7}};
\node (seorn) [on chain] {\pgfornament[width=10mm]{7}};
\foreach \i in {1,...,17}
\node [continue chain=going left, on chain] {\pgfornament[width=10mm]{7}};
\node (sworn) [on chain] {\pgfornament[width=10mm]{7}};
\foreach \i in {1,...,4}
\node [continue chain=going above, on chain] {\pgfornament[width=10mm]{7}};
\end{tikzpicture}
\begin{tikzpicture}[start chain=circle placed %
{at=(\tikzchaincount*30:2)}]
\foreach \i in {1,...,12} \node [on chain]%
{\pgfornament[width=1cm]{4}};
\end{tikzpicture}
\begin{tikzpicture}[start chain=circle placed %
{at=(\tikzchaincount*30:2)}]
\foreach \i in {1,...,12} \node [on chain]%
{\pgfornament[width=0.8cm]{4}};
\end{tikzpicture}
\begin{tikzpicture}[start chain=circle placed %
{at=(\tikzchaincount*30:2)}]
\foreach \i in {1,...,12} \node [on chain]%
{\pgfornament[width=1cm]{4}};
\end{tikzpicture}
\section{A Section A Section A Section}
\clearpage
text
\end{document}
h