GeneralFormatting the text in the editor

General information and discussion about TeXnicCenter
Post Reply
I_have_a_problem
Posts: 3
Joined: Thu Apr 17, 2008 10:57 am

Formatting the text in the editor

Post by I_have_a_problem »

I wonder if there is a command for formatting the text in the editor. For example, I type

\begin{equation}
a=b+1;
\end{equation}

and

\begin{itemize}
\item $x\in C[0,T] $
\item $C^n[a,b]
\end{itemize}

I would like there to be a tab-distance in front of the a=b+1 and the \item, in order to make it easier to read. Is this possible whitout doing it by hand?

A similar problem occurs with text paragraphs, i.e. all text in one paragraph ends up on the same line number. Instead I would like to have nice line breaks where every line is assigned one line number.
I know that the command exists in Emacs but I cannot find it in TeXnicCenter.

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