Search found 2 matches

by Stirling
Sat Nov 17, 2012 8:23 pm
Forum: TeXworks
Topic: Auto-completion for Text with Numbers
Replies: 0
Views: 4273

Auto-completion for Text with Numbers

Hi all,

I added the following line to my "tw-custom.txt".
x1:=x_{1}
However, when I try to auto-complete on x1 , the editor simply tabs. If I auto-complete on x , the editor does supply x_{1} . Is there any way to modify the TeXworks configuration files to make auto-complete recognize numbers?

I ...
by Stirling
Mon Jun 06, 2011 12:26 am
Forum: Math & Science
Topic: Spacing in Subscripts and Superscripts
Replies: 0
Views: 4925

Spacing in Subscripts and Superscripts

Consider the following example:

\documentclass{article}

\begin{document}
\[
\sum_{k = 0}^{n - 1} a^{k} = \frac{1 - a^{n}}{1 - a \phantom{^{n}}}
\]
\[
\sum_{k \, = \, 0}^{n \, - \, 1} a^{k} = \frac{1 - a^{n}}{1 - a \phantom{^{n}}}
\]
\end{document}

Although the second example does not follow ...