Texmaker and TeXstudioTexmaker auto complete settings

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
JasonSmit
Posts: 2
Joined: Wed Aug 22, 2018 3:03 pm

Texmaker auto complete settings

Post by JasonSmit »

Hello,

I am sorry if a similar question has already been asked, but I'm not exactly sure what to search for to find what I am trying to accomplish.

When you type in texmaker, say for instance, \begin(x) it automatically fills in \end(x), which is obviously very useful, but I would like to know if it is possible to extend this autocomplete functionality.

I would like to edit the auto complete for \include(figure) to automatically add other sections which I always add as follows

Code: Select all

\include(figure)
\centering
\includegraphics[width=0.45\textwidth]{}
\caption{}
\label{}
\end{figure}
is this possible and could someone point me to a manual or even the setting file?

Thank you!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Texmaker auto complete settings

Post by Johannes_B »

Welcome,

i haven't used texmaker in a long time. As far as i can remember, you can define a macro for that. Somewhere in the menu.

Not much of help, but a start.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
beningermany
Posts: 10
Joined: Tue Aug 21, 2018 5:55 pm

Texmaker auto complete settings

Post by beningermany »

Hi,
I use Texmaker 5.0.2 (latest version Windows 10.
When I write down the code, for instance, \begin{document} , then \end{document} will be automatically filled in. Which version of Texmaker do you use? Good luck.
JasonSmit
Posts: 2
Joined: Wed Aug 22, 2018 3:03 pm

Texmaker auto complete settings

Post by JasonSmit »

After some more searching I actually did find what I was looking for on the forum at
https://latex.org/forum/viewtopic.php?t=2545. Thanks Johannes_B for the macros idea. It pointed me in the right direction
tuerkas
Posts: 2
Joined: Mon Aug 23, 2021 9:34 am

Texmaker auto complete settings

Post by tuerkas »

Hello. I cannot find the directoy for the autocomplete in ".../Texmaker/" so if you could help me to change the autocomplete, I would apreciate
Thanks. _:D
Post Reply