- In the Options dialog go to File Types > Latex FileType > Document structure
- Add the following patterns
Opening pattern |
Closing pattern |
Multiline True = tick the box False = do not tick the box |
\\input{\.\./Vorlage/Sprache/ |
} |
True |
\\moduletitle{ |
} |
True |
\\moduledescription{ |
} |
True |
\\modulenotes{ |
} |
True |
\\view{ |
[.!?:]\s?}$ |
True |
\\conditions{ |
} |
True |
\\action{ |
[.!?:]\s?\n?}$ |
True |
\\steptext{ |
}$ |
True |
\\newstep{ |
} |
True |
\\note |
$ |
True |
\\medskip |
}?[.!?:]$ |
True |
\\question{ |
} |
True |
\\answers\s?{ |
} |
True |
\\newcommand{\\[a-zA-Z]{0,}}{ |
} |
True |
- Go to File Types > Latex FileType > Inline tags
- Click Add rule
- Select from the drop down list Placeholder
and in enter the following as Opening rule:\\textbf\{
- Click OK to confirm the inline rule and click again on Add rule
- Select from the drop down list Placeholder and enter the following as Opening rule:
\}
- Press OK and go to File Types > Latex FileType > Common
- Apply the following options:
Note: These options are not mandatory and you can set here individual settings. The following option selected are based on cases where it commonly works best.
Line breaks: Remove Line Breaks
Notifications: Untick the box
Unicode UTF-8 byte order mark (BOM): Preserve; don't add if not originally present
Please note:
This is an example and due to several other possible commands that the Latex file type might be including you need to adjust Document structure, Inline tags rules and the Common settings.
...besides that...
^^ That's it! ^^
(Just open your document now)
Feel free to share if you think it helps others too!