![모드에 따른 구문 강조 기능이 있는 편집기](https://rvso.com/image/305892/%EB%AA%A8%EB%93%9C%EC%97%90%20%EB%94%B0%EB%A5%B8%20%EA%B5%AC%EB%AC%B8%20%EA%B0%95%EC%A1%B0%20%EA%B8%B0%EB%8A%A5%EC%9D%B4%20%EC%9E%88%EB%8A%94%20%ED%8E%B8%EC%A7%91%EA%B8%B0.png)
다음과 같은 (다소 특별한) 구문 강조를 지원하는 텍스트 편집기가 있습니까? 수학 모드와 일반 모드에 대해 서로 다른 배경색을 설정할 수 있기를 원합니다. ("중첩"을 고려해야 하기 때문에 이것이 까다로울 수 있다는 것을 알고 있습니다. 그러나 근사치는 괜찮을 것입니다.)
나는 많은 TeX 사람들이 Emacs/AUCTeX를 신뢰한다는 것을 알았습니다. 내가 원하는 종류의 구문 강조를 생성하도록 설정할 수 있습니까? 그렇다면 어떻게?
답변1
emacs의 경우 를 살펴보십시오 font-latex-math-face
. 문서에 이라고 표시된 경우 (customize this face)
해당 텍스트를 클릭하여 GUI로 가져와 미리보기를 통해 다양한 속성을 설정할 수 있습니다.
Face: font-latex-math-face (sample) (customize this face) Documentation: Face used to highlight math. Defined in `font-latex.el'. Family: unspecified Foundry: unspecified Width: unspecified Height: unspecified Weight: unspecified Slant: unspecified Foreground: #AE81FF DistantForeground: unspecified Background: unspecified <--- note Underline: unspecified Overline: unspecified Strike-through: unspecified Box: unspecified Inverse: unspecified Stipple: unspecified Font: unspecified Fontset: unspecified Inherit: unspecified