9.82.2 Greatest hits from previous weeks

9.82.2.1 How to add todo notes?
9.82.2.2 Package natbib Error: Bibliography not compatible with author-year citations
9.82.2.3 How to change color for a block of texts?
9.82.2.4 How do you get \mathbb 1  to work (characteristic function of a set)?
9.82.2.5 Is there a way to slightly shrink a table, including font size, to fit within the column boundaries?
9.82.2.6 How to write a function (piecewise) with bracket outside?
9.82.2.7 Putting two images beside each other
9.82.2.1 How to add todo notes?

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

Is there a simple way to add todo notes to LaTeX documents ? 
I would like to have these notes in red in the generated pdf and a simple syntax to write them. 
[todonotes]
 
asked by aneuryzm https://tex.stackexchange.com/landing/r/digest?cta=user&id=3182 Score of 340
9.82.2.2 Package natbib Error: Bibliography not compatible with author-year citations

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

I have a basic tex file and a bibliography which is exported from Mendeley 
However, when I want to cite in the author-year style, I get the error: 
Package natbib Error: Bibliography not compatible ... 
[bibtex] [errors] [natbib]
 
asked by grrrbytes https://tex.stackexchange.com/landing/r/digest?cta=user&id=13217 Score of 276
answered by Josh Porter https://tex.stackexchange.com/landing/r/digest?cta=user&id=15128 Score of 147
9.82.2.3 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 342
answered by Martin Scharrer https://tex.stackexchange.com/landing/r/digest?cta=user&id=2975 Score of 418
9.82.2.4 How do you get \mathbb 1  to work (characteristic function of a set)?

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

I am trying to get the digit one printed the \mathbb{} font in math mode, however the command 
\mathbb{1} 
outputs some rubbish. I certainly saw the character I am after in some pdf's generated from ... 
[math-mode] [formatting]
 
asked by Grzenio https://tex.stackexchange.com/landing/r/digest?cta=user&id=3329 Score of 243
9.82.2.5 Is there a way to slightly shrink a table, including font size, to fit within the column boundaries?

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

I have a table that is just a little too wide for a 3.33" column. Is there a way to simply shrink the table a little to make it fit? I'm OK if the 10pt font becomes 9pt-something. Here is an example. 
... 
[tables] [scaling]
 
asked by Nathan Farrington https://tex.stackexchange.com/landing/r/digest?cta=user&id=3504 Score of 200
answered by Martin Scharrer https://tex.stackexchange.com/landing/r/digest?cta=user&id=2975 Score of 291
9.82.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 210
answered by Ant https://tex.stackexchange.com/landing/r/digest?cta=user&id=6984 Score of 259
9.82.2.7 Putting two images beside each other

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

If I want to put two images beside each other, what should I do? I have inserted a figure. But, rather than having the next figure on a new line, I want it to be beside the already inserted figure. ... 
[graphics] [floats] [positioning]
 
asked by Simplicity https://tex.stackexchange.com/landing/r/digest?cta=user&id=28871 Score of 82
answered by Masroor https://tex.stackexchange.com/landing/r/digest?cta=user&id=14103 Score of 181