Take the 2-minute tour ×
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.

How to make a line with ornament like one below {TEX} logo on this site?

What is specific term for it?

share|improve this question
    
Well, Yiannis's answer is the earliest. –  Leo Liu Feb 17 '11 at 21:24
    
sorry guys, it seems that we all replied more or less at the same time. If you are ok Krule, we can summarise it directly in the question... –  Mortimer Feb 17 '11 at 22:13

4 Answers 4

up vote 23 down vote accepted

Try this:

\documentclass{article}
\usepackage{fourier-orns}
\begin{document}
\Huge
\hrulefill\hspace{0.2cm} \floweroneleft\floweroneright \hspace{0.2cm} \hrulefill
\end{document}

enter image description here

share|improve this answer

For fonts of ornament, see question Free ornaments font.

I raised the line a little.
enter image description here

\documentclass{article}
\usepackage{pifont}
\usepackage{fourier-orns}

\newcommand\crulefill[1][1ex]{\leavevmode\leaders\hrule depth \dimexpr-#1+0.4pt height #1\hfill\kern0pt}
\newcommand\ornline[2][1ex]{\trivlist\item\crulefill[#1]#2\crulefill[#1]\endtrivlist}
\begin{document}

\ornline{\ding{100}}

\ornline[0.6ex]{\decoone}

\end{document}
share|improve this answer
    
But this generates a "line" made from this symbols, doesn't it? I think to OP wants "---- (symbol) ----" instead. –  Martin Scharrer Feb 17 '11 at 16:35
    
Sorry for misunderstanding. –  Leo Liu Feb 17 '11 at 16:52

to have a line with some symbol in the middle, just use

\hrulefill WHATEVERSYMBOL \hrulefill

You can use the ornaments cited by Leo. You might also want to add spaces around the ornament:

\hrulefill~ WHATEVERSYMBOL~ \hrulefill

You might also want to move the symbol around to align it with the rules and avoid the indent:

\noindent \hrulefill~ \raisebox{-4pt}[10pt][10pt]{\textxswup}~ \hrulefill

Here is what you would get: enter image description here

Clearly, you will want to make a new macro to use that more easily.

share|improve this answer

If you want to use "ornements" to make a frame (cadre in french), some links very interesting in french, you have some sources and some explanations to install fonts :

http://jacques-andre.fr/fontex/ornements-charte.pdf

http://jacques-andre.fr/ed/

http://jacques-andre.fr/faqtypo/orn/

http://jacques-andre.fr/fontex/casseaux.pdf

You can find a lot of documents on this site

share|improve this answer

Your Answer

 
discard

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.