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.

Can anyone show me how to draw something like this. I am thinking of having a quote with similar font but have no idea where to start.

enter image description here

share|improve this question
    
Please indicate what the "similar font" might be. –  Mico Aug 9 at 7:58

1 Answer 1

up vote 26 down vote accepted

As a start you can look around in The LaTeX Font Catalogue for similar fonts, and maybe use the pgfornament package for drawing ornaments. (Note that you'll have to manually download the pgfornament package from the indicated link and copy to your “project folder.”)

Also I've made a small solution, so you may start along this way.

\documentclass[12pt]{article}

\usepackage[utf8]{inputenc}

% Zapf Chancery font: http://www.tug.dk/FontCatalogue/zapfchan/
\usepackage{chancery}

\usepackage[T1]{fontenc}

\usepackage{tikz}

% pgfornament package: http://altermundus.com/pages/tkz/ornament/index.html
\usepackage{pgfornament}

\usepackage[active, tightpage]{preview}

\usetikzlibrary{calc}

\PreviewEnvironment{tikzpicture}
\setlength{\PreviewBorder}{1mm}

\begin{document}
\begin{tikzpicture}
    % some necessary lengths for the
    % calculation of the length of the ornament
    \newdimen\SWXcoord
    \newdimen\SWYcoord
    \newdimen\SEXcoord
    \newdimen\SEYcoord
    \newdimen\ornamentwidth

    % text
    \node[align=center,%
        anchor=base,
        inner xsep=3em,
        inner ysep=0pt,
        outer sep=0pt] (text-node) at (0, 0) {
            Virgo
        };

    % calculate the width of the ornament
    \path (text-node.south west);
    \pgfgetlastxy{\SWXcoord}{\SWYcoord}
    \path (text-node.south east);
    \pgfgetlastxy{\SEXcoord}{\SEYcoord}
    \ornamentwidth=\SEXcoord-\SWXcoord

    % ornament
    \node[align=center,
        anchor=south,
        inner sep=0pt,
        outer sep=0pt,
        yscale=-1,
        xscale=-1] (ornament-node) at (0, 0) {
            \pgfornament[width=\ornamentwidth]{79}
        };

    % line between the text and the ornament
    \draw ($(ornament-node.south west) + (1em, 0)$) -- ($(ornament-node.south east) + (-1em, 0)$);
\end{tikzpicture}
\end{document}
share|improve this answer
    
Thank you so much –  wererabit Aug 11 at 1:48

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.