11.10.2 Greatest hits from previous weeks

11.10.2.1 Change line spacing inside the document
11.10.2.2 Syntax similar to \centering for right and left?
11.10.2.3 How to write two dot above a letter?
11.10.2.4 How to include SVG diagrams in LaTeX?
11.10.2.5 How to write a function (piecewise) with bracket outside?
11.10.2.6 Using \footnote in a figure's \caption
11.10.2.7 Package natbib Error: Bibliography not compatible with author-year citations
11.10.2.1 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 Score of 191
answered by Peter Grill https://tex.stackexchange.com/landing/r/digest?cta=user&id=4301 Score of 173
11.10.2.2 Syntax similar to \centering for right and left?

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

For images, we can use \centering. Is there anything available to align the image to the right side or the left side of the page. 
[graphics] [horizontal-alignment]
 
asked by sachin irukula https://tex.stackexchange.com/landing/r/digest?cta=user&id=24343 Score of 191
11.10.2.3 How to write two dot above a letter?

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

the two dots above a letter represents two derivative of varible t. 
My method: 
\documentclass[UTF8]{ctexart} 
\usepackage{amsmath} 
\usepackage{amssymb} 
\usepackage{graphicx} 
\usepackage{epstopdf} 
\... 
[math-mode] [accents]
 
asked by mma https://tex.stackexchange.com/landing/r/digest?cta=user&id=43727 Score of 150
answered by Cain https://tex.stackexchange.com/landing/r/digest?cta=user&id=28428 Score of 205
11.10.2.4 How to include SVG diagrams in LaTeX?

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

I'm making all my diagrams in SVG format using Inkscape and then I export them to some other format (e.g. PDF, EPS or PNG). I wrote a short script that does this for me automatically, but I'd like to ... 
[graphics] [svg]
 
asked by Martin Tapankov https://tex.stackexchange.com/landing/r/digest?cta=user&id=711 Score of 734
answered by Speravir https://tex.stackexchange.com/landing/r/digest?cta=user&id=9237 Score of 214
11.10.2.5 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 218
answered by Ant https://tex.stackexchange.com/landing/r/digest?cta=user&id=6984 Score of 267
11.10.2.6 Using \footnote in a figure's \caption

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

Maybe this is an easy one, but I struggled with this now too long :) 
I want to have a footnote in a caption of a figure, see the example. 
\begin{figure}[!ht] 
\caption{a figure caption\footnote{... 
[floats] [footnotes] [captions]
 
asked by Matten https://tex.stackexchange.com/landing/r/digest?cta=user&id=1125 Score of 334
answered by Dee https://tex.stackexchange.com/landing/r/digest?cta=user&id=16059 Score of 246
11.10.2.7 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 286
answered by Josh Porter https://tex.stackexchange.com/landing/r/digest?cta=user&id=15128 Score of 153