
我想environments
在 MiKTeX-TeXWorks 中自動插入結束語。我發現在 VIM 中插入匹配 \end{something} 的快捷方式。 Windows 中還有其他相同的選項嗎?
答案1
在 Texworks 中,輸入\beg
和TAB,您將獲得\begin{
。然後輸入doc
並\begin{doc
再次按TAB您將獲得
\begin{document}
\end{document}
遊標位於其間。
然後鍵入,例如,\beg
和TAB來獲取\begin{
,然後鍵入ite
( \begin{ite
) 按TAB以獲取
\begin{document}
\begin{itemize}
\item
\end{itemize}•
\end{document}
還有許多其他快捷方式在文件中定義,例如tw-latex.txt
.若要尋找這些內容,請前往Help
→ Settings and Resources
。你會看到這個視窗:
點擊鏈接,資料夾C:\Users\HK\AppData\Local\MiKTeX\2.9\TeXworks\0.4
將打開(香港對您來說可能有所不同)。進入資料夾,completion
您將在其中找到四個檔案 → tw-basix.txt
、tw-beamer.txt
和。您需要在哪裡可以找到這些快捷方式。tw-context.txt
tw-latex.txt
tw-latex.txt
例如,鍵入bsubeq
並按下TAB即可查看自己。
在 winedt 中,輸入
\begin{document}} %%<--- extra brace
要得到
\begin{document}
\end{document}
或要關閉開啟的環境,請鍵入
\end{{
在 winedt 中,要找到捷徑,請執行以下操作:
前往Options
→ Options Interface
,然後按Main Menu
一次。按如圖所示的箭頭,您將找到快捷方式,按一下捷徑。現在所有快捷方式都被複製到剪貼簿。打開一個新文件並貼上。