Autocompletion for \ref-like commands

2012-01-13
2012-10-17
  • t.schreiter
    t.schreiter
    2012-01-13

    Hi,

    When typing the command \ref, a list of available labels pops up. Very handy!

    Is such a list also available for other commands? For example, I use \eqref to
    refer to equations, \figref to refer to figures, \secref for sections and so
    on. These are defined by myself. Texstudio therefore does not provide a list
    of the corresponding labels. Or is there an option to do that?

    Greetings

     
  • Is such a list also available for other commands?

    For some

    But the list can't be changed, yet

     
  • zoidy
    zoidy
    2012-05-16

    For referencing, use cleveref as it is more powerful and flexible (i.e, it
    automatically adds the text Eq or Fig etc to equations, figures, tables etc).
    Then you can redifine the \cref command to the regular \ref command. You will
    then get the reference pop ups like normal but with the exended functionality
    of cleveref

     
  • Thx

    The cleveref package is exactly what I wanted. And it works with TexStudio. :)