Texmaker and TeXstudioAdding new symbols to texmaker

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

Adding new symbols to texmaker

Post by megh500 »

Hi,

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

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

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

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

Adding new symbols to texmaker

Post by Stefan Kottwitz »

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

\documentclass{article}
\newcommand*{\tl}{\textquotedblleft}
\newcommand*{\tr}{\textquotedblright}
\begin{document}
\tl text\tr
\end{document}
Stefan
LaTeX.org admin
Post Reply