10.52.2 Greatest hits from previous weeks

10.52.2.1 Underscores in words (text)
10.52.2.2 Command for argmin or argmax?
10.52.2.3 Absolute Value Symbols
10.52.2.4 What can I use to typeset MATLAB code in my document?
10.52.2.5 Dictionary for TeXstudio: 'No dictionary Available'
10.52.2.6 How to write a function (piecewise) with bracket outside?
10.52.2.7 Write pseudo code in latex
10.52.2.1 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 250
answered by David Carlisle https://tex.stackexchange.com/landing/r/digest?cta=user&id=1090 Score of 207
10.52.2.2 Command for argmin or argmax?

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

How can you get the argmin or argmax in Latex? Two solutions I found are: 
\underset{x}{\operatorname{argmax}} 
\DeclareMathOperator*{\argmin}{arg\,min} 
Any other ideas? 
[1]http://www.breakthru.... 
[math-mode] [symbols] [math-operators]
 
asked by Alejandro https://tex.stackexchange.com/landing/r/digest?cta=user&id=1128 Score of 312
answered by Jan Hlavacek https://tex.stackexchange.com/landing/r/digest?cta=user&id=396 Score of 349
10.52.2.3 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 Score of 325
answered by Peter Grill https://tex.stackexchange.com/landing/r/digest?cta=user&id=4301 Score of 246
10.52.2.4 What can I use to typeset MATLAB code in my document?

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

This question led to a new package: 
matlab-prettifier 
Does anybody have a quick and easy way to typeset some relatively long MATLAB code in the appendix? I looked up a few methods, and the mcode ... 
[listings] [highlighting] [matlab]
 
asked by suzu https://tex.stackexchange.com/landing/r/digest?cta=user&id=19279 Score of 120
10.52.2.5 Dictionary for TeXstudio: 'No dictionary Available'

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

I have trouble spell checking my document in TeXstudio. When I press spellcheck, I get the error No dictionary Available. Am I supposed to install a dictionary separately? How? Any suggestion? 
[texstudio] [spelling] [dictionaries]
 
asked by N Nik https://tex.stackexchange.com/landing/r/digest?cta=user&id=21429 Score of 111
10.52.2.6 How to write a function (piecewise) with bracket outside?

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

How to write this Piecewise function using LaTeX? 
I tried 
$ 
\begin{array}{cc} 
\{ & 
\begin{array}{cc} 
0 & x\leq 0 \\ 
\frac{100-x}{100} & 0\leq x\leq 100 \\ 
0 & ... 
[math-mode] [equations] [brackets]
 
asked by GarouDan https://tex.stackexchange.com/landing/r/digest?cta=user&id=5314 Score of 215
answered by Ant https://tex.stackexchange.com/landing/r/digest?cta=user&id=6984 Score of 263
10.52.2.7 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 Score of 138
answered by karlkoeller https://tex.stackexchange.com/landing/r/digest?cta=user&id=27635 Score of 183