![](/img/trans.png)
[英]What is the difference of tex-mode and latex-mode and LaTeX-mode in emacs
[英]Activate latex-mode for .tikz files in Emacs
如何將latex模式應用於Emacs中擴展名為.tikz的文件? (我正在使用Auctex)
您可以在文件緩沖區中運行Mx latex-mode
。 如果要為您訪問的每個文件自動執行此操作,請將以下內容添加到.emacs
,
(setq auto-mode-alist
(append
'(("\\.tikz\\'" . latex-mode))
auto-mode-alist))
auto-mode-alist
是您可能已經猜到的文件類型列表和要應用的模式。 您可以運行Ch v auto-mode-alist
來獲取emacs變量的描述。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.