I want to use a small SVG floral pattern unit, much like the one in the image below, (it is just a prototype, which I am not finished working on) to create a border around my page content in LaTeX:

floral pattern

Obviously, the pattern in the provided image requires some corner species as well, to make the transition between vertical and horizontal recurrences.

What package, if any, should I use, and how should I achieve this using the given package? I've heard much about TiKZ, but I'm not sure whether it is the easiest/simplest way to achieve such a result.

Just to make sure I'm clear, I want to use an external SVG image, not generate a pattern via LaTeX.

P.S. The SE interface would not let me include an actual SVG image, so here it is: https://mega.nz/file/A5tzTTzA#6dneLjLA-H24hc45MdoICEQOoAM7LKllWZ-jnGe1apU

  • If they are images, you will need graphicx. \AddToHook{shipout/background}{...} can handle everything else and it is built in. Commented Dec 31, 2022 at 0:47
  • Not directly related but there is the Ornaments package which might suit you as an alternative. Or give ideas on how to do what you want with SVG graphics. Commented Dec 31, 2022 at 2:31
  • @JohnKormylo Thank you for your comment. They are indeed images… What do you mean by "everything else"? Thanks again.
    – GPWR
    Commented Dec 31, 2022 at 22:49
  • You can position each image width \put(x,y) {...} relative to the top left corner of the page, so that \put(\paperwidth,-\paperheight) {...} would be the bottom right corner. \includegraphics can handle rotation and scaling. Default baseline is at the bottom left corner. See also adjustbox [export]. Commented Jan 1, 2023 at 17:46
  • Not what you expected, but this kind of frames also can be made with some font and the nicreframe package. Some example here, here and here.
    – Fran
    Commented Jan 1, 2023 at 23:59

1 Answer 1


For the following answer, I saved a single rapport of your pattern in a file format suitable for latex, e.g. as pdf

enter image description here

Then I'm using the tikzpagenodes package to create a frame:


\usepackage{lipsum} % just for the dummy text


  \foreach \foo in {1,...,\repetition}{%

  \begin{tikzpicture}[remember picture, overlay,inner sep=0pt,outer sep=0pt]
  \node[anchor=south,text width=\textwidth+2*\patternheight] at (current page text area.north) {
  \node[anchor=south,rotate=90,text width=\textheight] at (current page text area.west) {
  \node[anchor=south,rotate=180,text width=\textwidth+2*\patternheight] at (current page text area.south) {
  \node[anchor=south,rotate=270,text width=\textheight] at (current page text area.east) {




enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .