<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://stacky.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=147.188.55.219</id>
	<title>stacky wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://stacky.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=147.188.55.219"/>
	<link rel="alternate" type="text/html" href="https://stacky.net/wiki/index.php?title=Special:Contributions/147.188.55.219"/>
	<updated>2026-09-05T06:56:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://stacky.net/wiki/index.php?title=Advice_on_real-time_TeXing&amp;diff=1334</id>
		<title>Advice on real-time TeXing</title>
		<link rel="alternate" type="text/html" href="https://stacky.net/wiki/index.php?title=Advice_on_real-time_TeXing&amp;diff=1334"/>
		<updated>2013-12-18T14:39:02Z</updated>

		<summary type="html">&lt;p&gt;147.188.55.219: remove spam link added by 05:11, 21 July 2013 119.93.75.230&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=The Editor=&lt;br /&gt;
&lt;br /&gt;
When I was running windows, I would use WinEdt. Now I use kile on Kubuntu Hardy. Some people use WYSIWYGs and say they&#039;re really great, but I don&#039;t like them much. WYSIWYGs often try to be too helpful and end up screwing up the formatting. If I want to type &amp;lt;code&amp;gt;\ar@/^/[r]&amp;lt;/code&amp;gt; (as I often do), I don&#039;t want the editor to try to be helpful. You can try a WYSIWYG and see if it works for you.&lt;br /&gt;
&lt;br /&gt;
Kile completes environments for me. When I type &amp;lt;code&amp;gt;\begin{whatever}&amp;lt;/code&amp;gt; it adds &amp;lt;code&amp;gt;\end{whatever}&amp;lt;/code&amp;gt;; in WinEdt, you get this behavior by adding an extra curly brace: &amp;lt;code&amp;gt;\begin{whatever}}&amp;lt;/code&amp;gt;. Other than that, it&#039;s just a regular text editor. If I&#039;m in a pinch (I don&#039;t have my machine for some reason), I can borrow somebody else&#039;s machine and TeX in notepad.&lt;br /&gt;
&lt;br /&gt;
I have a relatively big screen (15.4in), and I like to have the source on one side of the screen and the output on another. When there is a pause, I compile (you should learn the keyboard shortcut for this; for me it is Alt-2; in WinEdt, I think it&#039;s Ctrl-Shift-L) and see if everything looks right or if there is something I can fix quickly (maybe I forgot a &amp;quot;&amp;amp;&amp;quot; so something is aligned wrong). If you have a problem and you can&#039;t fix it quickly (e.g. a cryptic latex error), come back to it later. I like to comment out the troublesome spot so that I can still compile and keep an eye on the output (you should learn how to comment out a block of text in your editor; in my case, I select it and hit Ctrl-D; in WinEdt, I think it was Ctrl-Alt-RightArrow).&lt;br /&gt;
&lt;br /&gt;
=TeXing fast=&lt;br /&gt;
&lt;br /&gt;
You&#039;ll find that you can type faster than you can write by hand (it&#039;s faster to strike a key than to write a letter), so plain text will be fast to tex (faster than the lecturer writes it). You&#039;ll also be able to catch things that the lecturer says but doesn&#039;t write down.&lt;br /&gt;
&lt;br /&gt;
Things with a lot of math symbols are harder because you have to hit many keys to produce a symbol, so it is important to tune your macros to the lecture. If you&#039;re going to be doing a lot of algebraic geometry, you&#039;ll want to write &amp;lt;code&amp;gt;$\O$&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;$\mathscr{O}$&amp;lt;/code&amp;gt;. Some people would rather have it be &amp;lt;code&amp;gt;$\calO$&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$\cO$&amp;lt;/code&amp;gt;, but I don&#039;t agree; if I have another context where the most common capital O is &amp;lt;code&amp;gt;$\mathbf{O}$&amp;lt;/code&amp;gt;, then I&#039;d use &amp;lt;code&amp;gt;$\O$&amp;lt;/code&amp;gt; for that too. If you have a lecture where both kinds of capital O occur, then I think it makes sense to have &amp;lt;code&amp;gt;$\calO$&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$\bfO$&amp;lt;/code&amp;gt; (or something to that effect), but if there is only one kind of O that shows up, you may as well make it &amp;lt;code&amp;gt;$\O$&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Your macros should have some rhyme to them. Some examples:&lt;br /&gt;
* I always use doubled letters for blackboard bold, so the integers are &amp;lt;code&amp;gt;$\ZZ$&amp;lt;/code&amp;gt;, the reals are &amp;lt;code&amp;gt;$\RR$&amp;lt;/code&amp;gt;, and if I had a little blackboard bold k, it would be &amp;lt;code&amp;gt;$\kk$&amp;lt;/code&amp;gt;.&lt;br /&gt;
* For roman font operators, I use lowercase macros, so Hom is &amp;lt;code&amp;gt;$\hom$&amp;lt;/code&amp;gt; and Tor is &amp;lt;code&amp;gt;$\tor$&amp;lt;/code&amp;gt;. The commands &amp;lt;code&amp;gt;$\Hom$&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$\Tor$&amp;lt;/code&amp;gt; would be reserved for sheafy or internal Hom and Tor. I guess I probably started doing this because it&#039;s easier to type a lowercase character.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t know how to produce a symbol, make a note of it and come back to it after the lecture. If a symbol starts showing up a lot and I don&#039;t have a macro for it, I&#039;ll usually make one (e.g. &amp;lt;code&amp;gt;\def\J{\mathfrak{J}}&amp;lt;/code&amp;gt;) and add it to my macro list later. If I don&#039;t know how to produce a &amp;lt;code&amp;gt;$\mathfrak{J}$&amp;lt;/code&amp;gt; and it starts coming up a lot, then I would do &amp;lt;code&amp;gt;\def\J{J}&amp;lt;/code&amp;gt;, then use &amp;lt;code&amp;gt;$\J$&amp;lt;/code&amp;gt; whenever I want a fraktur J and then change the definition later (rather than change every instance later).&lt;br /&gt;
&lt;br /&gt;
In addition to choosing good macros, it&#039;s good to learn where you can drop braces to make the typing more managable. TeX read one token at a time (where a token is a character or a command). If something is just one token, you don&#039;t need braces around it. For example, instead of writing &amp;lt;code&amp;gt;$x^{\alpha}$&amp;lt;/code&amp;gt;, you can write &amp;lt;code&amp;gt;$x^\alpha$&amp;lt;/code&amp;gt;, but &amp;lt;code&amp;gt;$x^{\alpha_i}$&amp;lt;/code&amp;gt; produces different results than &amp;lt;code&amp;gt;$x^\alpha_i$&amp;lt;/code&amp;gt; (because &amp;lt;code&amp;gt;$\alpha_i$&amp;lt;/code&amp;gt; is more than one token). Another example: instead of writing &amp;lt;code&amp;gt;$\frac{\alpha}{\delta}$&amp;lt;/code&amp;gt; you can write &amp;lt;code&amp;gt;$\frac\alpha\delta$&amp;lt;/code&amp;gt;. In fact, you can even write &amp;lt;code&amp;gt;$x^\frac 12$&amp;lt;/code&amp;gt; to get &amp;lt;code&amp;gt;$x^{\frac{1}{2}}$&amp;lt;/code&amp;gt; (because TeX will read the arguments of \frac before it decides what to do with the superscript), but even I think that&#039;s a little much; I&#039;d probably write &amp;lt;code&amp;gt;$x^{\frac 12}$&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Diagrams=&lt;br /&gt;
&lt;br /&gt;
Pictures and diagrams are usually slower to type than to draw by hand. If you find yourself wasting too much time on a diagram, draw it on a piece of paper and make a comment in the text (or if you can, just describe it in the text) and come back to it later. Some people have suggested the idea of having a file with lots of templates for commutative diagrams, which I could copy and paste when I need them, but I&#039;ve found that I can always produce a diagram from scratch faster than I can find it, paste it, and modify it. This will probably also be true for you (at least once you&#039;re used to it), but maybe not.&lt;br /&gt;
&lt;br /&gt;
At first, you may have many of these &amp;quot;come back to it later&amp;quot; problems, but these will get less common. Once you solve a problem a couple of times in the peace of your office, you&#039;ll probably be able to handle it on the fly thereafter.&lt;br /&gt;
&lt;br /&gt;
=Managing your notes=&lt;br /&gt;
&lt;br /&gt;
If you&#039;re going to be texing class notes, use the \input command. There is no point in compiling the last ten lectures every time you want to see what you&#039;ve written in the last five minutes. It&#039;s hard to comment out a huge block of text, but it&#039;s easy to comment out a few lines&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
\input{lecture08}&lt;br /&gt;
\input{lecture09}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
in a master file. Your tex editor probably supports projects, so you can set it up so that when you&#039;re editing the file lecture10.tex and you hit compile, it knows that it should really compile masterfile.tex.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re going to post your notes on your web page, I recommend writing a script to do it for you. If you&#039;re just updating a pdf, then I guess a script isn&#039;t necessary, but if you&#039;re doing anything more than that (like updating a changelog or a last-updated stamp somewhere), it&#039;s nice to just have to run one command. I like to post tarred and gzipped source, so it makes sense for me to have a script which tars up all the necessary files, moves them to the math machines (where my web page is), untars them there, and compiles. Here are the (nicely commented) scripts I used to update my homological algebra notes when I was taking them: [[scripts#update.sh|update.sh]] was kept on my maching in the directory where the notes were (it&#039;s what I would run to do all the updating), and [[scripts#mathupdate.sh|mathupdate.sh]] was kept on the math servers in the directory where the notes were (it was executed by update.sh).&lt;br /&gt;
&lt;br /&gt;
[[Category:Blog]]&lt;/div&gt;</summary>
		<author><name>147.188.55.219</name></author>
	</entry>
</feed>