GeneralIs this possible?

General information and discussion about TeXnicCenter
Post Reply
vindalooman
Posts: 1
Joined: Fri Aug 31, 2007 11:27 pm

Is this possible?

Post by vindalooman »

Hi, I am new to LaTeX and to TeXnicCenter.
Sorry if what I am going to ask should be a FAQ.

I am using skak package and I would need something like the following:
starting from a text like

"1.e4 e5 2.Nf3 f5 this move is not so good 3.exf5"

I would like an easy way to reach a text like

\mainline{1.e4 e5 2.Nf3 f5 } \showboard this move is not so good \mainline{3.exf5}

Practically I would like to define my own shortcuts, for instance
- after selecting "1.e4 e5 2.Nf3 f5", press "alt-ctrl-m" should brings me to "\mainline{1.e4 e5 2.Nf3 f5 }"
(the same way that ctrl-k makes the selected text italic)
and so on...

Is it possible or I am only dreaming? :D :D

Thanks
Vindalooman

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply