8.59.2 Greatest hits from previous weeks

8.59.2.1 How can I write cases with grouping braces on both left and right side, and split the condition into two lines in LaTeX?
8.59.2.2 The \bar and \overline commands
8.59.2.3 How to include SVG diagrams in LaTeX?
8.59.2.4 How to change color for a block of texts?
8.59.2.5 Double line spacing
8.59.2.6 Subfigures side by side with captions
8.59.2.7 Underscores in words (text)
8.59.2.1 How can I write cases with grouping braces on both left and right side, and split the condition into two lines in LaTeX?

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

The code I used to write 
is this one 
$$ 
X(m,n)= 
\begin{cases} 
x(n),\\ 
x(n-1)\\ 
x(n-1) 
\end{cases} 
$$ 
But I don't know how to write this one 
Also, what if I want to write this 
[math-mode] [cases]
 
asked by MaryA~ https://tex.stackexchange.com/landing/r/digest?cta=user&id=65856 Score of 188
answered by Ignasi https://tex.stackexchange.com/landing/r/digest?cta=user&id=1952 Score of 136
8.59.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 Score of 174
answered by Danie Els https://tex.stackexchange.com/landing/r/digest?cta=user&id=1683 Score of 95
8.59.2.3 How to include SVG diagrams in LaTeX?

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

I'm making all my diagrams in SVG format using Inkscape and then I export them to some other format (e.g. PDF, EPS or PNG). I wrote a short script that does this for me automatically, but I'd like to ... 
[graphics] [svg]
 
asked by Martin Tapankov https://tex.stackexchange.com/landing/r/digest?cta=user&id=711 Score of 674
answered by Speravir https://tex.stackexchange.com/landing/r/digest?cta=user&id=9237 Score of 171
8.59.2.4 How to change color for a block of texts?

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

I am editing a LaTeX paper with Emacs. Sometimes I want to make a block of texts less obvious (or less important to see). Instead of totally hiding them, they should still be there. Is there an easy ... 
[color]
 
asked by SoftTimur https://tex.stackexchange.com/landing/r/digest?cta=user&id=5110 Score of 318
answered by Martin Scharrer https://tex.stackexchange.com/landing/r/digest?cta=user&id=2975 Score of 386
8.59.2.5 Double line spacing

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

I would like to typeset a draft of my document with double linespacing so that my collaborators have space to write in their edits (with a pen).  How do I do it? 
[line-spacing] [setspace]
 
asked by Vebjorn Ljosa https://tex.stackexchange.com/landing/r/digest?cta=user&id=35 Score of 235
answered by Stefan Kottwitz https://tex.stackexchange.com/landing/r/digest?cta=user&id=213 Score of 170
8.59.2.6 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 Score of 117
answered by latex user https://tex.stackexchange.com/landing/r/digest?cta=user&id=25372 Score of 159
8.59.2.7 Underscores in words (text)

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

How can I produce the text Word_one_two in LaTeX? 
I tried: 
Samp\_Dist\_Corr 
But, it doesn't quite look right. Also, I want it in the typewriter font, so actually, I'm doing: 
\texttt{Samp\_Dist\... 
[characters] [typewriter]
 
asked by Flux Capacitor https://tex.stackexchange.com/landing/r/digest?cta=user&id=11728 Score of 226
answered by David Carlisle https://tex.stackexchange.com/landing/r/digest?cta=user&id=1090 Score of 189