-
Notifications
You must be signed in to change notification settings - Fork 537
ExtraFeatures
The structure of the LaTeX project (\chapter
, \section
, \subsection
, ...) is accessible via the TeX panel on the left of the editor. The entry corresponding to the cursor position in the editor is automatically selected and follows the cursor. The outline hierarchy is defined by latex-workshop.view.outline.sections
.
Note that the Explorer panel also contains an outline view but it only shows the structure of the current file and does not take into account any included file.
The section names of LaTeX outline hierarchy. It is also used by the folding mechanism. See Code folding for more details.
This property is an array of case-sensitive strings in the order of the document structure hierarchy. For multiple tags of the same level, separate the tags with |
as delimiters, e.g., section|alternative
.
type | default value |
---|---|
array of strings | [ "part", "chapter", "section", "subsection", "subsubsection" ] |
The structure of the document can be obtained
Show the labels in the outline/structure views. Reload VSCode after changing the value.
type | default value |
---|---|
_boolean | true |
Show the sectioning numbers in the outline/structure views.
type | default value |
---|---|
_boolean | true |
To count the number of words in the current document, call Count words in LaTeX document from the Command Palette (the associated command is latex-workshop.wordcount
)
Define the location of TeXCount executive file/script
type | default value |
---|---|
string | "texcount" |
This command will be joint with latex-workshop.texcount.args
and required arguments to form a complete command of TeXCount
TeXCount arguments to count words in LaTeX document of the entire project from the root file, or the current document.
type | default value |
---|---|
array of strings | [] |
Arguments must be in separate strings in the array. Additional arguments, i.e., -merge %DOC%
for the project and the current document path for counting current file will be appended when constructing the command.