LaTeX forum ⇒ Texmaker and TeXstudioAdding new symbols to texmaker

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Posts: 25
Joined: Tue Jan 24, 2017 5:54 am

Adding new symbols to texmaker

Postby megh500 » Mon Nov 26, 2018 1:04 pm


There are some default symbols in texmaker. But i want to add these two symbols

I mean instead of typing these two symbols each time, i only select. How is it possible? I searched much but cannot find


User avatar
Stefan Kottwitz
Site Admin
Posts: 9595
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Dec 04, 2018 5:13 pm

You could define your own shortcuts (macros) in the code. That's independent of the editor, and may shorten both writing and reading. And you can redefine such macros any time, for example if you would decide to change the actual quote sign (font) or double to single or straights.

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass{article}
  2. \newcommand*{\tl}{\textquotedblleft}
  3. \newcommand*{\tr}{\textquotedblright}
  4. \begin{document}
  5. \tl text\tr
  6. \end{document}

Stefan admin

Return to “Texmaker and TeXstudio”

Who is online

Users browsing this forum: No registered users and 1 guest