私は最近、自分の tex ドキュメントに多くのテーブルを書き込んでいます。編集中に表ブロックを非表示にしたいと思います。そうしないと、乱雑になります。
ドキュメントは次のとおりです。
\documentclass{article}
\begin{document}
\begin{table}[htbp]
\centering
\begin{tabular}{c|c|c}
\hline
My & Name & is \\
What's & your & name\\
\hline
\end{tabular}
\caption{My table}
\end{table}
\end{document}
AucTeX (windows7) で Emacs を使用しているため、次のようにテーブル ブロックを非表示にしたいと考えています。
\begin{table}...\end{table}
私は定義しようとしています
(add-to-list 'hs-special-modes-alist
'(LaTeX-mode
"\\\\begin" ;; regexp for start block
"\\\\end" ;; regexp for end block
"%" ;; regexp for comment start
nil
nil))
しかし、私は欲しいものを手に入れませんでした。誰でもここで助けることができますか?どうもありがとう!