Menu

#1090 "Smart Title Case" command changes case in LaTeX commands

None
open
nobody
None
1
2016-06-27
2016-06-26
No

Hi and thanks for brilliant program!

Case in LaTeX commands is also changed, like: \emph{text} is converted to \Emph{text}.
I think, everything beginning with "\" must be excluded from conversion.

I am using TeXStudio 2.11.0 at Windows.

Best regards!

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2016-06-27

    Maybe "smart" is not the best description. This function uses https://github.com/gouch/to-title-case which converts a text to title case leaving conjunctions and prepositions lower case. The name was chosen in contrast to "strict" which capitalizes every first character of a word. It's not originally intended to cover correct handling of commands as well (though that would be a nice extension).

    Since this is a specialized function, which is mainly applied to titles, which in turn rarely contain commands, this is a low priority feature request.

     
  • Tim Hoffmann

    Tim Hoffmann - 2016-06-27

    Ticket moved from /p/texstudio/bugs/1832/

     

Anonymous
Anonymous

Add attachments
Cancel