Menu

#942 \trianglelefteq

None
closed
nobody
syntax (2)
5*
2016-01-26
2015-11-20
Roy Ben-Ari
No

Once a while I bump into latex commands (I think are basic) that are not recognized by texstudio (most recently \trianglelefteq).
I'm not sure if this is the right place to request they would be.

Discussion

  • Jan  Sundermeyer

    Jan Sundermeyer - 2015-11-20

    \trianglelefteq is part of amssymb (not general latex).
    It is recognized if usepackage{amssymb} is employed.

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2015-11-20
    • status: open --> closed
    • Group: -->
     
  • Roy Ben-Ari

    Roy Ben-Ari - 2015-11-20

    Interesting, I "usepackage"s from an input file (ie \input{includes/base}). If I move the \usepackge command to the main latex the commands are indeed recognized... shouldn't texstudio follow used packages within \input files?

     
  • Roy Ben-Ari

    Roy Ben-Ari - 2015-11-20

    I just checked, this also explains why autocompletion does not work for input files (ie although I added \newtheorem{conjecture}[theorem]{Conjecture} to an input file the word conjecture is not autocompleted within \begin{...}).

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2015-11-20

    it does interpret included files if "automatically load included files" is activated.
    Only loaded files are interpreted.

     
  • Roy Ben-Ari

    Roy Ben-Ari - 2015-11-23

    Great, thank you, I didn't notice this option.
    \bmod is still oddly unrecognized though.

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2015-11-23

    you are welcome to maintain the cwl-files in texstudio

     
  • Tim Hoffmann

    Tim Hoffmann - 2015-11-24

    For now, i've updated amsmath.cwl acoordingly (hg 5689 (7c4239b4c43a)).

    There are most certainly further commands missing or incorrectly specified. However, given the number of latex packages, we as core developers don't have the time to maintain all cwls. They need to be manually edited, checked and improved (e.g. for semantics). This can only be done by community contributions. Any help is welcome.

     
  • Roy Ben-Ari

    Roy Ben-Ari - 2016-01-26

    Hi Tim,
    I found another missing latex symbol (\divides) and I'd be happy to help with the maintenance.
    Could you give me a starting point?

     

    Last edit: Roy Ben-Ari 2016-01-26
  • Tim Hoffmann

    Tim Hoffmann - 2016-01-26
     

Anonymous
Anonymous

Add attachments
Cancel