4.13.2 Greatest hits from previous weeks

4.13.2.1 How to write a function (piecewise) with bracket outside?
4.13.2.2 TexMaker - "File not found" when viewing as pdf
4.13.2.3 Scale image to page width?
4.13.2.4 Why is \newpage ignored sometimes ?
4.13.2.5 Table with multiple lines in some cells
4.13.2.6 Forcing linebreaks in \url
4.13.2.7 Underscores in words (text)
4.13.2.1 How to write a function (piecewise) with bracket outside?

https://tex.stackexchange.com/landing/r/newsletter?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/newsletter?cta=user&id=5314 91 votes
answered by Ant https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=6984 122 votes
4.13.2.2 TexMaker - "File not found" when viewing as pdf

https://tex.stackexchange.com/landing/r/newsletter?cta=question&id=45900

At the moment I'm having a problem when trying to view my LaTeX file as a PDF. Whether I do it internal or external I both the error "File not found.". 
I have no idea what file it means. I've read  ... 
[errors] [pdf] [texmaker]
 
asked by Floris Devriendt https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=12124 31 votes
answered by TorbjA~,rn T. https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=586 29 votes
4.13.2.3 Scale image to page width?

https://tex.stackexchange.com/landing/r/newsletter?cta=question&id=39147

I use 
\inclugraphics[scale=TRYING TO GUESS THE NUMBER FOR PAGE WIDTH]{...} 
but I find this errorsome, is there some ready flag to set the image to page width? I usually use PNG and JPG photos. 
[graphics] [scaling]
 
asked by hhh https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=2956 150 votes
answered by Werner https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=5764 157 votes
4.13.2.4 Why is \newpage ignored sometimes ?

https://tex.stackexchange.com/landing/r/newsletter?cta=question&id=2958

I have the following towards the end of an article. The bibliography is short (4 entries). 
What's happening is that on the very last page of document I get the chart and immediately afterwards the  ... 
[floats] [page-breaking]
 
asked by wishihadabettername https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=564 92 votes
answered by Will Robertson https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=179 130 votes
4.13.2.5 Table with multiple lines in some cells

https://tex.stackexchange.com/landing/r/newsletter?cta=question&id=40561

What is the easiest way to have 2 lines in some of the cells in a table? 
The only way I can think right now is to actually have 2 separate rows (without the line in the middle) and use \multirow on  ... 
[tables]
 
asked by Grzenio https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=3329 77 votes
answered by Werner https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=5764 69 votes
4.13.2.6 Forcing linebreaks in \url

https://tex.stackexchange.com/landing/r/newsletter?cta=question&id=3033

I wish to typeset some relatively long URLs in a piece of text, and when I use \url{..}, the resulting text does not respect the margin boundaries that govern the main text body, instead going all the  ... 
[line-breaking] [urls]
 
asked by Suresh https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=103 170 votes
answered by Suresh https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=103 139 votes
4.13.2.7 Underscores in words (text)

https://tex.stackexchange.com/landing/r/newsletter?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: 
... 
[characters] [typewriter]
                                                                                  

                                                                                  
 
asked by Flux Capacitor https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=11728 133 votes
answered by David Carlisle https://tex.stackexchange.com/landing/r/newsletter?cta=user&id=1090 119 votes