Created
December 21, 2012 18:43
-
-
Save bjmorgan/4354854 to your computer and use it in GitHub Desktop.
Modified symbol matching ( TM | SL2 ) preference file for LaTeX. This presents the different sections indented according to their hierarchy.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Symbol List</string> | |
<key>scope</key> | |
<string>meta.function.section.latex</string> | |
<key>settings</key> | |
<dict> | |
<key>showInSymbolList</key> | |
<integer>1</integer> | |
<key>symbolTransformation</key> | |
<string> | |
s/\\chapter\{([^\}]+)\}/$1/g; | |
s/\\section\{([^\}]+)\}/\t$1/g; | |
s/\\subsection\{([^\}]+)\}/\t\t$1/g; | |
s/\\subsubsection\{([^\}]+)\}/\t\t\t$1/g; | |
</string> | |
</dict> | |
<key>uuid</key> | |
<string>005BE156-8D74-4036-AF38-283708645115</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment