This can be super useful when writing academic CVs.
A nice summary of presentation options in org-mode/Emacs by Sacha Chua.
A course on programming tools and practices for economists, but it is also useful for scientists in general. Check out the slides, especially the ones on version control and project workflow with Waf.
Generally LaTeX tries to respect the margin settings. However, it may still violate the settings and overrun the margins, especially when there are inline equations in the text. To make LaTeX strictly follow the margin settings, put command \sloppy at the beginning of the document (right after begin document).
When writing my thesis, I created a table. However, some columns have unequal widths, which looks awful. So I used the paragraph column type (p) to specify their widths. The problem is that they are left-aligned while I want them centered. I then used the array package and use the prefix specs >{\centering}, but it caused error due to the new line command (\) being changed. To fix this, you need to specify >{\centering\arraybackslash}. The final code is:
\begin{tabular}{lc*{3}{>{\centering\arraybackslash}p{5em}}}
\toprule
& Total No. & \multicolumn{3}{c}{Interval between switchings of $u_{1}$ (min)} \\
\cmidrule(l){3-5}
& of switchings & Max & Min & Average \\
\midrule
Uncoordinated & 20 & 122.00 & 98.01 & 106.16 \\
Robust & 127 & 16.75 & 16.75 & 16.75 \\
Event-triggered & 92 & 46.23&19.65 & 22.99 \\
Self-triggered & 95 & 40.28 & 19.43 & 22.65 \\
\bottomrule
\end{tabular}
Instead of capturing a full motion video, it captures the movement of the cursor, the audio, and the screen only when it is changed/updated. This way, the file size is small and of high quality. It is suitable for creating tutorials, guide of GUI…
This manual page instructs how to share LaTeX definitions (e.g. in your paper) with pictures created in IPE. However, that solution did not work for me. I figured out a simpler solution:
Useful trick for fine-tune the volume and brightness in OS X. In short: pressing buttons to change volume/brightness only changes in whole steps of increment; but holding down Shift-Option will change in quarter steps of increment.
I’ve just discovered today that the way LaTeX handles delimiters, like (, ), [, ], is very very complicated.
Basically, those delimiters can be treated in two ways (or two types):
The visual difference may not be too obvious. In the first case (ordinary atoms), there is often some thin space before/after the delimiters. In the second case, there is none (space = 0). So, using the same example cos(x):
Surprisingly, \left and \right produce ordinary atoms instead of open/close atoms.
So, to summarize:
References:
Fix a conflict between todonotes and TikZ’s externalization.