Skip to main content
12 votes
Accepted

Vertical alignment of glyph

One can raise the ornaments using a \vcenter{\hbox{...}} approach. That way, the ornaments will be placed on the (implicit) math axis. A couple of style-related comments: (i) If you provide this type ...
Mico's user avatar
  • 508k
11 votes

Vertical alignment of glyph

The ornament sits symmetrically on the baseline, which is good for deciding how much to raise it in your case. Assuming you use lining figures, the amount of raising is exactly half the height of a ...
egreg's user avatar
  • 1.1m
8 votes
Accepted

How to put tcolorbox around whole picture?

By using \begin{picture}(0,0) you are basically setting the size of the picture to 0. You could either choose a suitable size for the picture (might require changing some of the coordinates...) or, as ...
samcarter_is_at_topanswers.xyz's user avatar
7 votes

Drawing in the style of pgfornament

So I was wondering if there was a way to produce similar-looking drawings in LaTeX? I fear that there is no easy way to write down a few LaTeX or TikZ commands to get any animal drawing in that style....
Fritz's user avatar
  • 6,303
6 votes
Accepted

Centering ornaments from `pgfornaments` around a theorem environment?

You should add option [width=13cm] to your used command \pgfornament like \pgfornament[width=13cm]{88} Without this width the ornament is to long to fit into the textwidth of your text. You can use ...
Mensch's user avatar
  • 65.5k
6 votes

How to make old school vintage label?

You need to look at the documentation ! An example : \documentclass[a4paper]{tufte-handout} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{pgfornament,tikzrput} \begin{...
Alain Matthes's user avatar
5 votes

Centering ornaments from `pgfornaments` around a theorem environment?

Your ornaments are actually stretching beyond the margins, as the overfull vbox warnings your code issues, tell you. So, you could set things up better with a \makebox also taking care of indent with:...
gusbrs's user avatar
  • 13.9k
5 votes

How to add new ornaments to psvectorian?

It does not make real sense to extend the psvectorian package. It is much more easier to use a single graphic file. However, if you really want it, then copy the files psvectorian.tex and psvectorian....
user187802's user avatar
5 votes
Accepted

Elegant restaurant menu with Latex

I am very impressed by your code for the page frame. Your problem seems to be how to layout the menu items. The following might give an indication of how to do that. % menuprob.tex SE 643006 \...
Peter Wilson's user avatar
  • 28.1k
5 votes
Accepted

pgfornaments example doesn't work

You are missing the chains and calc libraries. Furthermore the layout of your example seems to be optimised for the page geometry of the tufte-handout class: \documentclass[a4paper,nofonts]{tufte-...
samcarter_is_at_topanswers.xyz's user avatar
4 votes
Accepted

How to write bangla with ornaments package in LaTeX?

Looks like there are a couple of things causing problems: The latexbangla package requires xelatex, it doesn't seem to work with lualatex. But tikzrput doesn't seem to work with xelatex. So you have ...
Torbjørn T.'s user avatar
4 votes

Drawing in the style of pgfornament

As stated in the package documentation, the ornaments were authored by Vincent Le Moign. You can find on his page a free vector pack that contains "110 Penmanship Illustrations", among which ...
Clément's user avatar
  • 5,601
4 votes
Accepted

Chapter headings on the side, with ornaments

While TikZ isn't actually needed for this, it does make aligning the text and clip art easier. \documentclass{article} \usepackage{tikz} \usepackage{lipsum} \newsavebox{\decorationbox} \savebox{\...
John Kormylo's user avatar
3 votes
Accepted

Place text between two tikzpicture environment

The package ornaments are inserted as a node in the tikzpicture environment with the remember picture and overlay options. These two options allow you to memorize the different images and make, for ...
AndréC's user avatar
  • 24.5k
3 votes

Vertically center text between ornaments

A simple \raisebox will do: \documentclass{article} \usepackage{pgfornament} \usepackage{array, makecell} \usepackage[usestackEOL]{ stackengine} \begin{document} \begin{center} \pgfornament[width=...
Bernard's user avatar
  • 272k
3 votes
Accepted

How can I create this ornament section?

Something like this? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{geometry} \usepackage{siunitx} \usepackage[svgnames]{xcolor} \usepackage{lipsum}% just to generate text for the ...
Bernard's user avatar
  • 272k
3 votes
Accepted

Adding eps objects as pgfornaments

I don't know what it should look like. I get which seems a bit odd, but I have no idea. Here's the code, with the converted file. \begin{filecontents}{\jobname1.pgf} \begingroup \def\i{\pgfusepath{...
cfr's user avatar
  • 199k
3 votes

Vertical alignment of glyph

Interesting. I tried a purely TikZ approach: \documentclass{extreport} \usepackage[pass,showframe]{geometry} \usepackage{pgfornament} \usepackage[rm={lining,tabular},sf={lining,tabular},tt={lining,...
sgmoye's user avatar
  • 8,621
3 votes
Accepted

Wrong position of parttitle

I don't think TikZ is helpful here. It just adds unnecessary complications. Why can't you just say something like this? \documentclass{book} \usepackage{titlesec} \usepackage{pgfornament} \newcommand{...
cfr's user avatar
  • 199k
3 votes
Accepted

Beamer: Line separator in column

The error message is ! You can't use '\prevdepth' in horizontal mode. You may add a blank line before \sectionline to leave horizontal mode or, as suggested by Ignasi's comment, you may add \par ...
Paul Gaborit's user avatar
  • 70.9k
3 votes

Vertical alignment of glyph

You can use the \raisebox command. \raisebox{distance}[extend-above][extend-below]{text} The \raisebox command is used to raise or lower text. The first mandatory argument specifies how high the text ...
ChrisS's user avatar
  • 13.5k
3 votes

Ornament as an entry in the TOC

This puts the ornament in a \parbox of length \textwidth and centers it with \centering. You have to \protect both \centering and \pgfornament: \addtocontents{toc}{\nobreak\smallskip\parbox{\...
Ross's user avatar
  • 5,666
3 votes
Accepted

Why pgfornament is not working here?

I had to add \usepackage[dvipsnames]{xcolor} in order to get the example to compile without errors, see Creating new colors in xcolor for use in listings. The problem seems to be the color OliveGreen ...
Dr. Manuel Kuehner's user avatar
3 votes
Accepted

how to draw special vintage borders ornaments

So, I learned tikz and made the following : Pretty happy with the result :) My code is based on the answer by esdd on this post. \documentclass{article} \usepackage[margin=4cm,a4paper]{geometry} \...
tugdual's user avatar
  • 407
2 votes

Surround decoration with pgfornament

Here is an attempt at providing a solution. I tried to preserve as much of the existing code as possible rather than starting again. I made these key changes to your code: \mathscr requires the ...
Ross's user avatar
  • 5,666
2 votes
Accepted

How to make co-ordinate independent ornamented document?

First, I'll note that you had some errors in that table code, you defined only two columns, but you used three (the & separate columns, so two & give three columns). There also seemed to be a \...
Torbjørn T.'s user avatar
2 votes
Accepted

Extending pgfornament's vector lines on the entire line width

It is probably best do all the drawing inside tikz. You can get the total width required from \textwidth. \documentclass{article} \usepackage[object=vectorian]{pgfornament} \usetikzlibrary{calc} \...
Andrew Swann's user avatar
  • 95.9k
2 votes
Accepted

How to insert an ornament between Part number and part title with psvectorian?

This should work: \documentclass[symmetric,justified,marginals=raggedouter]{tufte-book} \usepackage{tikz} \usepackage{psvectorian} \usepackage{auto-pst-pdf} % to use pstricks with pdflatex \...
muzimuzhi Z's user avatar
  • 26.7k
2 votes
Accepted

How to horizontally flip an ornament in tikz?

With similar idea as proposed @marmoth in his comment but with slightly corrected/simplified your code: \documentclass[20pt]{extarticle} %\usepackage[utf8]{inputenc} \usepackage{geometry} \geometry{%...
Zarko's user avatar
  • 297k

Only top scored, non community-wiki answers of a minimum length are eligible