auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Creating a style for tikz


From: Leo
Subject: [AUCTeX] Creating a style for tikz
Date: Sat, 06 Dec 2008 02:40:45 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Hi there,

I created a simple tikz.el and put it in style/ sub-directory. Tikz.el
is like this:

(TeX-add-style-hook
 "tikz"
 (lambda ()
   (TeX-add-symbols
    '("tikz"))
   (LaTeX-add-environments
    '("tikzpicture"))))

However, when I open a .tex file that has a line \usepackage{tikz},
"tikz" is not in TeX-active-styles. Ideas?

Thank you,
-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

        Use the better alternative -- http://www.openoffice.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]