9.79.2 Greatest hits from previous weeks

9.79.2.1 How to write a function (piecewise) with bracket outside?
9.79.2.2 How to vertically-center the text of the cells?
9.79.2.3 Why does \\ not return a new line in an equation?
9.79.2.4 Write pseudo code in latex
9.79.2.5 "Correct" way to bold/italicize text?
9.79.2.6 How can I split an equation over two (or more) lines
9.79.2.7 Math symbol question: Vertical bar for ''evaluated at ...''
9.79.2.1 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 209
answered by Ant https://tex.stackexchange.com/landing/r/digest?cta=user&id=6984 Score of 258
9.79.2.2 How to vertically-center the text of the cells?

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

I have a simple table as follows: 
\begin{table*} 
\centering 
\begin{tabular}{|l|c|c|c|c|p{2in}|} 
... 
... 
\end{tabular} 
\caption{The factors the camera solver depends on to ... 
[tables] [vertical-alignment]
 
asked by Rafid https://tex.stackexchange.com/landing/r/digest?cta=user&id=2418 Score of 190
answered by Display Name https://tex.stackexchange.com/landing/r/digest?cta=user&id=2099 Score of 48
9.79.2.3 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 Score of 120
answered by Mico https://tex.stackexchange.com/landing/r/digest?cta=user&id=5001 Score of 54
9.79.2.4 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 135
answered by karlkoeller https://tex.stackexchange.com/landing/r/digest?cta=user&id=27635 Score of 182
9.79.2.5 "Correct" way to bold/italicize text?

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

Is either of these considered better/more readable/more "proper"/more conventional than the other for making text bold? If so, what is the reason? 
I like my text \textbf{bold} 
versus: 
I like my ... 
[best-practices] [bold] [italic]
 
asked by user541686 https://tex.stackexchange.com/landing/r/digest?cta=user&id=2694 Score of 516
answered by Todd Lehman https://tex.stackexchange.com/landing/r/digest?cta=user&id=8499 Score of 473
9.79.2.6 How can I split an equation over two (or more) lines

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

I am having the following equation: 
\begin{equation} 
Q(\lambda,\hat{\lambda}) = -\frac{1}{2} P(O \mid \lambda ) \sum_s \sum_m \sum_t \gamma_m^{(s)} (t) \left( n \log(2 \pi ) + \log \left| C_m^{(s)} ... 
[math-mode] [equations] [line-breaking] [breqn]
 
asked by Peter Smit https://tex.stackexchange.com/landing/r/digest?cta=user&id=459 Score of 345
answered by Will Robertson https://tex.stackexchange.com/landing/r/digest?cta=user&id=179 Score of 216
9.79.2.7 Math symbol question: Vertical bar for ''evaluated at ...''

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

How do I insert the line "|" after the equation in LaTeX (see image below)? 
I'm using LyX so if you can point me to the symbol of that line is also OK. 
I don't know if this line has a proper name so ... 
[math-mode] [symbols] [lyx]
                                                                                  

                                                                                  
 
asked by cidadao https://tex.stackexchange.com/landing/r/digest?cta=user&id=10511 Score of 193