6.62.2 Greatest hits from previous weeks

6.62.2.1 Absolute Value Symbols
6.62.2.2 The \bar and \overline commands
6.62.2.3 Write pseudo code in latex
6.62.2.4 Show equation number only once in align environment
6.62.2.5 Crop an inserted image?
6.62.2.6 Why does \\ not return a new line in an equation?
6.62.2.7 Subfigures side by side with captions
6.62.2.1 Absolute Value Symbols

https://tex.stackexchange.com/landing/r/digest?cta=question&id=43008

What is the "best LaTeX practices" for writing absolute value symbols?  Are there any packages which provide good methods? 
Some options include|x| and \mid x \mid, but I'm not sure which is best... 
[math-mode] [symbols]
 
asked by jamaicanworm https://tex.stackexchange.com/landing/r/digest?cta=user&id=9757 266 votes
answered by Peter Grill https://tex.stackexchange.com/landing/r/digest?cta=user&id=4301 198 votes
6.62.2.2 The \bar and \overline commands

https://tex.stackexchange.com/landing/r/digest?cta=question&id=22100

I want to represent, say, the closure of a set or the extended reals, e.g., $\bar{\mathbb{R}}$ but unfortunately this creates a bar that is much too small (horizontally) and can barely be seen. On the ... 
[stacking-symbols]
 
asked by 3Sphere https://tex.stackexchange.com/landing/r/digest?cta=user&id=6487 149 votes
answered by Danie Els https://tex.stackexchange.com/landing/r/digest?cta=user&id=1683 83 votes
6.62.2.3 Write pseudo code in latex

https://tex.stackexchange.com/landing/r/digest?cta=question&id=163768

I am trying to write pseudo code in my paper. Here is the snippet and image like what I want.  Can some one please help me to format it. 
\begin{algorithm} 
\caption{Euclida^\200\231s algorithm}\label{euclid} 
\... 
[algorithms]
 
asked by cyclic https://tex.stackexchange.com/landing/r/digest?cta=user&id=47334 115 votes
answered by karlkoeller https://tex.stackexchange.com/landing/r/digest?cta=user&id=27635 159 votes
6.62.2.4 Show equation number only once in align environment

https://tex.stackexchange.com/landing/r/digest?cta=question&id=17528

I want the equation number to be shown only at the last line, or better, somewhere in the middle of all. So instead of (1), (2), ... only (1). 
I use \begin{align} ... \end{align} 
[equations] [align]
 
asked by Theta30 https://tex.stackexchange.com/landing/r/digest?cta=user&id=5350 202 votes
answered by Gonzalo Medina https://tex.stackexchange.com/landing/r/digest?cta=user&id=3954 182 votes
6.62.2.5 Crop an inserted image?

https://tex.stackexchange.com/landing/r/digest?cta=question&id=57418

I'm inserting an image with a simple: 
\includegraphics[height=5cm]{filename.png} 
This results in an image that maintains the aspect ratio, and so gives me something like 6cm width. I only really ... 
[graphics] [crop]
 
asked by naught101 https://tex.stackexchange.com/landing/r/digest?cta=user&id=13192 223 votes
6.62.2.6 Why does \\ not return a new line in an equation?

https://tex.stackexchange.com/landing/r/digest?cta=question&id=194236

\begin{equation*}\label{eq:pareto mle2} 
A_0 = \frac{1}{(\alpha+t_x)^{r+s+x}}{}_2F_1\left(r+s+x,x+1;r+s+x+1;\frac{\alpha-\beta}{\alpha + t_x} \right ) "\\\" <br> 
- \frac{1}{(\alpha+T)^{r+s+x}}{}... 
[equations] [line-breaking]
 
asked by user3714137 https://tex.stackexchange.com/landing/r/digest?cta=user&id=60029 81 votes
answered by Mico https://tex.stackexchange.com/landing/r/digest?cta=user&id=5001 43 votes
6.62.2.7 Subfigures side by side with captions

https://tex.stackexchange.com/landing/r/digest?cta=question&id=119984

I am using the following code to put my two figures side by side with different captions, 
\begin{figure*}[t!] 
\centering 
\begin{subfigure}[b]{0.5\textwidth} 
\centering 
\... 
[captions] [subfloats]
 
asked by Sait https://tex.stackexchange.com/landing/r/digest?cta=user&id=14611 98 votes
answered by latex user https://tex.stackexchange.com/landing/r/digest?cta=user&id=25372 134 votes