Texmaker and TeXstudioHow to do in one step: ExampleText -> \ZL{ExampleText}

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
bilalgs
Posts: 2
Joined: Thu Oct 15, 2015 5:30 pm

How to do in one step: ExampleText -> \ZL{ExampleText}

Post by bilalgs »

Hello together

I defined \newcommand{\ZL}[1]{something which is not important}
Now I would like do in the document section \ZL{ExampleText} but without putting first on the left of ExampleText \ZL{ and manually to the right }.

My goal is after selecting ExampleText, converting it with one step to \ZL{ExampleText}.

Thanks for your helps!

Recommended reading 2024:

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

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: How to do in one step: ExampleText -> \ZL{ExampleText}

Post by Johannes_B »

Welcome,

this is an editor question right? Please tell us which editor you are using, so the helpers have a bit information. And i can move the topic to the right forum.

Personally, i use vim and cannot help you with the way you want to work. Many people worldwide enjoy working with either vim or emacs for there editing needs. Maybe you want to check them out at one point?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
bilalgs
Posts: 2
Joined: Thu Oct 15, 2015 5:30 pm

Re: How to do in one step: ExampleText -> \ZL{ExampleText}

Post by bilalgs »

ooh sure I forgot to wirte that I am using texmaker...
Thanks for the informations
Post Reply