How to draw attractive Borders in LaTeX. A Sample image like this: enter image description here



I traced the bitmap provided using Inkscape and exported the vector paths to TikZ using the inkscape2tikz plugin.

Then I adjusted the shift of coordinates, to have a specified origin (here in the top right corner of the ornament). And wrapped everything into a macro \ornament.

To place it on the page I used a tikzpicture with the remember picture and overlay options. For more on these options review section 16.13 "Referencing Nodes Outside the Current Pictures" on page 199 of the TikZ 2.10 manual.


You need at least two passes of typesetting. See this GitHub Gist for the inkscape.tex file.

\author{Subham Soni}
\begin{tikzpicture}[remember picture,overlay]
    \node[below left] at ([xshift=-1cm,yshift=-1cm]current page.north east) {\ornament{scale=1}};


enter image description here


Late solution with Tikz and pgfornament... There are a lot of possibilities to place the ornaments Something in tikz's style ...

\author{Alain Matthes}

\begin{tikzpicture}[remember picture,overlay]
    \node[below left] at ([xshift=-2cm,yshift=-1cm]current page.north east) {\pgfornament[width = .8cm,
             color = MidnightBlue]{15}
\hspace{-6pt}\pgfornament[width = 1.6cm,
             color = MidnightBlue,
\hspace{-8pt}\pgfornament[width = 2.4cm,
                          color = MidnightBlue]{15}};

\node[below right,rotate=270] at ([xshift=-1cm,yshift=-2cm]current page.north east) {\pgfornament[width = 2.4cm, color = MidnightBlue,symmetry=v]{15}
                           \hspace{-8pt}\pgfornament[width = 1.6cm,
                                        color = MidnightBlue,
                           \hspace{-6pt}\pgfornament[width = 0.8cm,
                                                 color = MidnightBlue,

                    every node/.style={inner sep=0pt}]
 \draw[help lines] (-6,-6) grid (6,6);
 \node[minimum size=12cm](vecbox){}; 
 \node[anchor=north west] at (vecbox.north west)
 \node[anchor=north east] at (vecbox.north east)
 \node[anchor=south west] at (vecbox.south west)
 \node[anchor=south east] at (vecbox.south east)

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.