7.57.2 Greatest hits from previous weeks

7.57.2.1 Matrix in Latex
7.57.2.2 Show equation number only once in align environment
7.57.2.3 Change image size
7.57.2.4 When should I use \input vs. \include?
7.57.2.5 Displaying the binomial coefficient symbol in math mode
7.57.2.6 Change line spacing inside the document
7.57.2.7 How to write a function (piecewise) with bracket outside?
7.57.2.1 Matrix in Latex

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

I am new to Latex, and I have been trying to get the matrix of following form 
[x11 x12 x13 . . . . x1n 
x21 x22 x23 . . . . x2n 
. 
. 
. 
. 
xd1 xd2 xd3 . . . . xdn] 
... 
[matrices]
 
asked by Lakshmi Narayanan https://tex.stackexchange.com/landing/r/digest?cta=user&id=63361 133 votes
answered by skpblack https://tex.stackexchange.com/landing/r/digest?cta=user&id=42912 203 votes
7.57.2.2 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 227 votes
7.57.2.3 Change image size

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

I'm trying to change the image size (make it look smaller than the original). 
I tried with the next code but the image still shows at its original size. 
\begin{figure}[h!] 
\centering 
\... 
[graphics]
 
asked by Enrique https://tex.stackexchange.com/landing/r/digest?cta=user&id=16973 97 votes
answered by DJJerome https://tex.stackexchange.com/landing/r/digest?cta=user&id=2863 92 votes
7.57.2.4 When should I use \input vs. \include?

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

There are two different commands to incorporate another file into the source of some document, \input and \include. When should I use one or the other? What are the differences between them? Are there ... 
[include] [input]
 
asked by Phil Miller https://tex.stackexchange.com/landing/r/digest?cta=user&id=60 1297 votes
answered by Michael Mrozek https://tex.stackexchange.com/landing/r/digest?cta=user&id=29 1162 votes
7.57.2.5 Displaying the binomial coefficient symbol in math mode

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

The problem is caused by the symbol of binomial coefficient (symbol of Newton), often used in math: 
{N}\choose{k} 
In my document I have formula: 
$$ P(A) = \sum P(\{ (e_1,...,e_N) \})  =  {N}\choose{... 
[math-mode] [symbols]
 
asked by MC2DX https://tex.stackexchange.com/landing/r/digest?cta=user&id=21025 141 votes
7.57.2.6 Change line spacing inside the document

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

This is my code 
\documentclass[12pt,a4paper]{book} 
\renewcommand{\baselinestretch}{1.5} 
\begin{document} 
\include{Chapter1} 
\end{document} 
I have please a question: 
I would change the line ... 
[line-spacing]
 
asked by researcher https://tex.stackexchange.com/landing/r/digest?cta=user&id=16097 144 votes
7.57.2.7 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 180 votes
answered by Ant https://tex.stackexchange.com/landing/r/digest?cta=user&id=6984 229 votes