Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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!

share|improve this question
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 '13 at 23:53

1 Answer 1

up vote 7 down vote accepted

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.