TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a document where in a few cases I'm using the framed package and a single \begin{framed} <text> \end{framed} to visually separate text that is something akin to commentry on the main text. So far it works correctly, but I was wondering if there was any way to make it artistically interesting?

Is there any package that would do something like a framed environment, but using a custom graphic for the frame instead of a simple line? I haven't actually chosen a graphic yet so it shouldn't be a problem if it requires a specific format, or if it only comes with a limited preselection of graphic borders.

share|improve this question
You can give a try with mdframed and/or tcolorbox. I like both of them. Also for frames you can have a look at pgfornaments by altermundus (altermundus.com/pages/tkz/ornament/index.html) – Harish Kumar May 10 '12 at 7:31
@HarishKumar the pgfornament package looks like it does exactly what I want. If you move your comment to an answer I'll accept it. – Benjamin Confino May 10 '12 at 7:54
up vote 10 down vote accepted

To put some thing inside a good looking frame, I suggest to use the pgfornaments (Link) package from @altermundus. It provides all symbols which one gets from psvectorian (which can be used only with latex, not with pdflatex). pgfornaments runs like a charm with pdflatex.

While one can find some examples in the site of pgfornaments itself, the following links may also be useful:



For ready reference within TeX.SX, I am reproducing an example from @Altermundus himself:


\begin{tikzpicture}[every node/.style={inner sep=0pt}]   
\node[text width=8cm,align=center](Text){%
In visions of the dark night\\
I have dreamed of joy departed-\\
But a waking dream of life and light\
Hath left me broken-hearted.\\
Ah! what is not a dream by day\\
To him whose eyes are cast \\
On things around him with a ray \\
Turned back upon the past? \\
That holy dream- that holy dream,\\
While all the world were chiding,\\
Hath cheered me as a lovely beam\\
A lonely spirit guiding.\\
What though that light, thro' storm and night,\\
So trembled from afar- \\
What could there be more purely bright \\
In Truth's day-star? \\
 A Dream  (1827) by Edgar Allan Poe 
} ;
\node[shift={(-1cm,1cm)},anchor=north west](CNW)  at (Text.north west)
\node[shift={(1cm,1cm)},anchor=north east](CNE)   at (Text.north east)
\node[shift={(-1cm,-1cm)},anchor=south west](CSW) at (Text.south west)
\node[shift={(1cm,-1cm)},anchor=south east](CSE)  at (Text.south east)   

enter image description here

More examples can be found in the pgfornaments site with link given above.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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