I'm wondering if Texmaker (by far my favorite text editor for LaTeX) has the ability to make custom user commands. For example, I want a quicker way to bold my math fonts rather than having to type \bm{} every time (among a plethura of other quick commands I would like to have). Is there an easy way to do this?

I do see that there is a "user commands" options in the texmaker menu. Is this where I would do it, and if so how do I make my own commands? I can't seem to figure it out...Thanks!

  • 2
    Are you asking for a way to define new commands in LaTeX or for a way to let TeXmaker offer shortcuts for your custom commands?
    – Bordaigorl
    Oct 3, 2013 at 23:53

1 Answer 1


Default shortcuts can be edited in Options -> Configure Texmaker -> Shortcuts.

Texmaker also allows custom snippets of text to be inserted in the document with shortcuts, this functionality is known as User Tags in the User menu.

Goto User -> User Tags -> Edit User Tags and define a tag with the content you wish:


Now press Shift + F1...F10 to get the snippet pasted in the current cursor position. The @ character is a jump marker and your cursor will end up at the first marker encountered.

For more information: http://www.xm1math.net/texmaker/doc.html#SECTION33

  • Good, the @ will also be replaced by the current selection during editing. May 17, 2015 at 3:06
  • 5
    Interestingly, there are two kinds of user tags, the other kind can be accessed from the Structure tab -> User (a button on the left bar). Then right-click -> Add tag. These tags can be expanded by writing :<tag-trigger> and pressing right arrow key.
    – eimrek
    Nov 4, 2015 at 17:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .