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.

Here's my current document:

 \documentclass{article}
 \usepackage{tikz}
    \usetikzlibrary{decorations.text}
 \usepackage[landscape]{geometry}
 \begin{document}
    \begin{center}
       \begin{tikzpicture}
          \path [decorate, decoration={text along path, text={ |\fontsize{60pt}{4em}\selectfont| Annual Picnic ||}}] (0,0) .. controls (8,2) .. (16,0);
       \end{tikzpicture}
    \end{center}
 \end{document}

QUESTIONS

(1) How can I get this to work with a large font that will essentially cover the entire top of the page?

(2) What are some other ways of arranging text along part of a circle at the top of the page?

share|improve this question
1  
Because LaTeXs NFSS have some curious problem. You can declare \font\f=cmr17 at60pt and you can say \text={ |\f| Annual Picnic ||} and the problem vanishes. –  wipet Jun 18 at 20:28
1  
@Sigur you can change the font anywhere but latex will change it back, and tell you in the log file –  David Carlisle Jun 18 at 20:32
1  
@DavidCarlisle This shows that the problem is LaTeX itself. You need some another package to fix this bug, package which is used by non-standard way: before \documentclass. The usage \font\f is more natural and without problems and without packages to fix these problems :) –  wipet Jun 18 at 20:48
1  
It's not a problem it's by design. fix-cm is part of the base distribution so it's only a "problem" in the same way that it's a "problem" that you need a class such as article before you can use \section. \f works of course in this simple case as there are no font changes and no line breaking within its scope, but it doesn't really work and isn't good advice in a latex context (as you know) –  David Carlisle Jun 18 at 20:54
1  
@DavidCarlisle IMHO it is problem of design. The old times are shown here: when only limited number of bitmap fonts were prepared and ready. And NFSS are from this time. Nowadays, user can be surprised why fonts cannot be scaled to arbitrary size by default, without any additional package or fix-package. –  wipet Jun 18 at 21:53

1 Answer 1

up vote 7 down vote accepted

You need to tell latex you have cm as scalable fonts

\RequirePackage{fix-cm}
 \documentclass{article}
 \usepackage{tikz}
    \usetikzlibrary{decorations.text}
 \usepackage[landscape]{geometry}
 \begin{document}
    \begin{center}
       \begin{tikzpicture}
          \path [decorate, decoration={text along path, text={ |\fontsize{60pt}{4em}\selectfont| Annual Picnic ||}}] (0,0) .. controls (8,2) .. (16,0);
       \end{tikzpicture}
    \end{center}
 \end{document}
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.