Tell me more ×
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.

I know I can use the macros \TeX and \LaTeX for typesetting the names of TeX and LaTeX (including the necessary vertical alignment trick).

But how am I supposed to typeset "TikZ"? (I am asking because I'd like to mention TikZ in the Colophon of a book).

share|improve this question

1 Answer

up vote 7 down vote accepted

Look at the manual. It’s typeset as Ti\textit{k}Z

You may create a new command fi you like to use it more than one time. If you use xspace it cares for the following space.

\documentclass{article}

\usepackage{xspace}
\newcommmand{\TikZ}{Ti\textit{k}Z\xspace}

\begin{document}
\TikZ with a following space and without \TikZ.
\end{document}
share|improve this answer
Thank you very much! I hadn't found it in the manual. – Jay Jul 4 '12 at 16:58
1  
In the sources of the pgfmanual (/pgf/doc/generic/pgf/macros/pgfmanual-en-macros.tex) : \def\tikzname{Ti\emph{k}Z} possible \newcommand*\Tikz{Ti\textit kZ} – Alain Matthes Jul 4 '12 at 16:59
1  
It’s on the title page, page 3, 19, 20, 21, … and many more ;-) – Tobi Jul 4 '12 at 17:00
2  
@Altermundus: I prefer \textit to be sure that it’s italic – Tobi Jul 4 '12 at 17:01
1  
Yes I gave the macro found in pgfmanual-en-macros.tex. It's strange to use two different definitions ... – Alain Matthes Jul 4 '12 at 17:04
show 1 more comment

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.