LaTeX – Detexify ~ a shout out

[latexpage]
Here’s how to easily find symbols in LaTeX.

Okay the most handiness (is that really a word?) little web app that I’ve come across since starting work in $\LaTeX$ is this little tool found here.
http://detexify.kirelabs.org/classify.html

$\text{detextify}^2$ has seriously saved me hours of my life.

This beautiful app lets you draw any symbol into a box, then it will return the corresponding $\LaTeX$ command. So freakin’ handy! And it works. That obscure symbol you saw in some paper $\zeta$, and you can’t think of the Greek name of the top of your head? Simple! Just draw it in and bam, $\text{detextify}^2$ throws the command back (\zeta in case you are wondering).

I use this all the time when I’m writing anything sort of equations in LaTeX. A definite must know about.

Hope this saves you countless sleepless nights.

LaTeX – bold vectors and arrow vectors

Lately I’m writing a lot of papers in \LaTeX and every once and a while something comes up that drives me crazy trying to figure out.

Here’s how to easily switch between a bold vector \boldsymbol{x}  and an arrow vector \vec{x}  .

 
% Minimal latex example:
% Shows how to switch between bold and arrow vectors.
 
% Specifies the type of document you have.
\documentclass{article}
 
% Used for the boldsymbol.
\usepackage{amsmath}
 
% Comment this out to represent vectors with an arrow on top.
% Uncomment this to represent vectors as bold symbols.
\renewcommand{\vec}[1]{\boldsymbol{#1}}
 
% Start of the document.
\begin{document}
 
% Your content.
My lovely vector: $\vec{x}$
 
% End of the document.
\end{document}

Continue reading “LaTeX – bold vectors and arrow vectors”