General\newcommand and \newcommand<>

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
zyjheng
Posts: 4
Joined: Sat Sep 27, 2008 10:22 pm

\newcommand and \newcommand<>

Post by zyjheng »

I'm using Miktex with TexnicCenter. I'm confused. What's the difference between \newcommand and \newcommand<> ? I found the latter in some tex using beamer. Another question is what does \TH do? It says \TH has been defined when I tried to newcommand \TH.

Thank you~

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

\newcommand and \newcommand<>

Post by Stefan Kottwitz »

Hi zyjheng,

welcome to the board!
zyjheng wrote:What's the difference between \newcommand and \newcommand<> ?
The beamer class extends the syntax of \newcommand. It's documented in the beamer user guide 9.6.1 Making Commands and Environments Overlay-Specification-Aware.
zyjheng wrote: what does \TH do?
\TH will print the letter thorn.

Stefan
LaTeX.org admin
zyjheng
Posts: 4
Joined: Sat Sep 27, 2008 10:22 pm

Re: \newcommand and \newcommand<>

Post by zyjheng »

Thanks a lot Stefan.

I searched on internet and found that I should use \usepackage[T1]{fontenv} to print \TH. Now I can recommand it. Ha...

Thanks again.

zyjheng
Post Reply