s4 - latex editing, richard hutchinson (sfep 27th conference, 10-12 september 2016)

120
L A T E X editing Let’s talk about text markup Richard Hutchinson Monday 12 September 2016 [email protected] 1

Upload: thesfep

Post on 13-Apr-2017

237 views

Category:

Business


2 download

TRANSCRIPT

Page 1: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

LATEX editingLet’s talk about text markup

Richard HutchinsonMonday 12 September 2016

[email protected]

1

Page 2: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Table of contents

Who are you?

What’s this all about?

Where did it come from?

What can you do with it?

How can I use it?

How do authors use it?

2

Page 3: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Who are you?

Page 4: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Introductions

What am I doing here?

What are you doing here?

4

Page 5: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Introductions

What am I doing here?

What are you doing here?

4

Page 6: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

What’s this all about?

Page 7: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Text markup

LATEX is a text markup language, which means you embed commandsin the text

\LaTeX\ is a \emph{text markup} language, whichmeans you \textbf{embed} commands inthe text % This is a comment

6

Page 8: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Text markup

LATEX is a text markup language, which means you embed commandsin the text

\LaTeX\ is a \emph{text markup} language, whichmeans you \textbf{embed} commands inthe text % This is a comment

6

Page 9: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Document structure

\documentclass{article}

\usepackage{...}\usepackage{...}

% Definitions

\begin{document}

...

\end{document}

Invisible!

7

Page 10: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Document structure

\documentclass{article}

\usepackage{...}\usepackage{...}

% Definitions

\begin{document}

...

\end{document}

Invisible!

7

Page 11: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Document structure

\documentclass{article}

\usepackage{...}\usepackage{...}

% Definitions

\begin{document}

...

\end{document}

Invisible!

7

Page 12: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Document structure

\documentclass{article}

\usepackage{...}\usepackage{...}

% Definitions

\begin{document}

...

\end{document}

Invisible!

7

Page 13: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Document structure

\documentclass{article}

\usepackage{...}\usepackage{...}

% Definitions

\begin{document}

...

\end{document}

Invisible!

7

Page 14: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Document structure

\documentclass{article}

\usepackage{...}\usepackage{...}

% Definitions

\begin{document}

...

\end{document}

Invisible!

7

Page 15: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Document structure

\documentclass{article}

\usepackage{...}\usepackage{...}

% Definitions

\begin{document}

...

\end{document}

Invisible!

7

Page 16: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

ExampleDocument structure

8

Page 17: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

LATEX files

Importantly, LATEX files are plain text files

Not proprietary binary formatCan use all sorts of text tools

In particular, choice of editorDifferencingVersion control

Small sizeEasily portableWork anywhere – don’t need special software installedLATEX itself easily extendedLingua franca for equations

9

Page 18: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

LATEX files

Importantly, LATEX files are plain text files

Not proprietary binary formatCan use all sorts of text tools

In particular, choice of editorDifferencingVersion control

Small sizeEasily portableWork anywhere – don’t need special software installedLATEX itself easily extendedLingua franca for equations

9

Page 19: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Input, processing and output

.tex file

10

Page 20: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Input, processing and output

.tex file .dvi filelatex

10

Page 21: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Input, processing and output

.tex file .dvi filelatex .pdf file

screen

dvipdf

10

Page 22: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Input, processing and output

.tex file .dvi filelatex .pdf file

screen

dvipdf

printer

10

Page 23: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Input, processing and output

.tex file .dvi filelatex .pdf file

screen

dvipdf

printer

pdftex

10

Page 24: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Where did it come from?

Page 25: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

TEX and LATEX

Gentle reader: This is a handbook about TEX, anew typesetting system intended for the creationof beautiful books—and especially for books thatcontain a lot of mathematics.

Donald E. Knuth, The TEXbook, American Mathematical Society (1984)

LATEX adds to TEX a collection of commands that sim-plify typesetting by letting the user concentrate onthe structure of the text rather than on formattingcommands. In turning TEX into LATEX, I have tried toconvert a highly tuned racing car into a comfortablefamily sedan.Leslie Lamport, LATEX: A Document Preparation System, Addison-Wesley (1986)

12

Page 26: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

TEX and LATEX

Gentle reader: This is a handbook about TEX, anew typesetting system intended for the creationof beautiful books—and especially for books thatcontain a lot of mathematics.

Donald E. Knuth, The TEXbook, American Mathematical Society (1984)

LATEX adds to TEX a collection of commands that sim-plify typesetting by letting the user concentrate onthe structure of the text rather than on formattingcommands. In turning TEX into LATEX, I have tried toconvert a highly tuned racing car into a comfortablefamily sedan.Leslie Lamport, LATEX: A Document Preparation System, Addison-Wesley (1986)

12

Page 27: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Abstraction

LATEX \section{Section heading}

TEX \newcommand\section{\@startsection {section}{1}{\z@}%{-3.5ex \@plus -1ex \@minus -.2ex}%{2.3ex \@plus.2ex}%{\normalfont\Large\bfseries}}

\def\@startsection#1#2#3#4#5#6{%\if@noskipsec \leavevmode \fi\par\@tempskipa #4\relax\@afterindenttrue\ifdim \@tempskipa <\z@

\@tempskipa -\@tempskipa \@afterindentfalse\fi\if@nobreak

\everypar{}%\else

\addpenalty\@secpenalty\addvspace\@tempskipa\fi\@ifstar

{\@ssect{#3}{#4}{#5}{#6}}%{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}

13

Page 28: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Abstraction

LATEX \section{Section heading}TEX \newcommand\section{\@startsection {section}{1}{\z@}%

{-3.5ex \@plus -1ex \@minus -.2ex}%{2.3ex \@plus.2ex}%{\normalfont\Large\bfseries}}

\def\@startsection#1#2#3#4#5#6{%\if@noskipsec \leavevmode \fi\par\@tempskipa #4\relax\@afterindenttrue\ifdim \@tempskipa <\z@

\@tempskipa -\@tempskipa \@afterindentfalse\fi\if@nobreak

\everypar{}%\else

\addpenalty\@secpenalty\addvspace\@tempskipa\fi\@ifstar

{\@ssect{#3}{#4}{#5}{#6}}%{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}

13

Page 29: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

What can you do with it?

Page 30: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Not just journal papers…

15

Page 31: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Capabilities

Actually, anything!

Concentrate on editing rather than writing

Comparison with Word

16

Page 32: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Capabilities

Actually, anything!

Concentrate on editing rather than writing

Comparison with Word

16

Page 33: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Capabilities

Actually, anything!

Concentrate on editing rather than writing

Comparison with Word

16

Page 34: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Capabilities

Actually, anything!

Concentrate on editing rather than writing

Comparison with Word

16

Page 35: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Home: fonts

Size \tiny \scriptsize \footnotesize \small \normalsize \large

\Large \LARGE\huge\HugeEffects \textbf \textit \underline \sout

1

Super/sub x2 x2

$x_2 x^2$

Colours \hl

2

\textcolor{red}

3

External packages: 1ulem 2soul 3color

17

Page 36: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Home: fonts

Size \tiny \scriptsize \footnotesize \small \normalsize \large

\Large \LARGE\huge\HugeEffects \textbf \textit \underline \sout

1

Super/sub x2 x2

$x_2 x^2$

Colours \hl

2

\textcolor{red}

3

External packages: 1ulem 2soul 3color

17

Page 37: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Home: fonts

Size \tiny \scriptsize \footnotesize \small \normalsize \large

\Large \LARGE\huge\HugeEffects \textbf \textit \underline \sout

1

Super/sub x2 x2 $x_2 x^2$

Colours \hl

2

\textcolor{red}

3

External packages: 1ulem 2soul 3color

17

Page 38: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Home: fonts

Size \tiny \scriptsize \footnotesize \small \normalsize \large

\Large \LARGE\huge\HugeEffects \textbf \textit \underline \sout1

Super/sub x2 x2 $x_2 x^2$

Colours \hl2 \textcolor{red}3

External packages: 1ulem 2soul 3color

17

Page 39: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Home: justification

\raggedright or flushleftLorizzle uhuh ... yih! dolizzle sit amizzle, consectetuer adipiscingdaahng dawg. Nullizzle owned velizzle, brizzle volutpizzle,crackalackin my shizz, fo shizzle vizzle, arcu.

\centering or centerLorizzle uhuh ... yih! dolizzle sit amizzle, consectetuer adipiscing

daahng dawg. Nullizzle owned velizzle, brizzle volutpizzle,crackalackin my shizz, fo shizzle vizzle, arcu.

\raggedleft or flushrightLorizzle uhuh ... yih! dolizzle sit amizzle, consectetuer adipiscing

daahng dawg. Nullizzle owned velizzle, brizzle volutpizzle,crackalackin my shizz, fo shizzle vizzle, arcu.

18

Page 40: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Home: justification

\raggedright or flushleftLorizzle uhuh ... yih! dolizzle sit amizzle, consectetuer adipiscingdaahng dawg. Nullizzle owned velizzle, brizzle volutpizzle,crackalackin my shizz, fo shizzle vizzle, arcu.

\centering or centerLorizzle uhuh ... yih! dolizzle sit amizzle, consectetuer adipiscing

daahng dawg. Nullizzle owned velizzle, brizzle volutpizzle,crackalackin my shizz, fo shizzle vizzle, arcu.

\raggedleft or flushrightLorizzle uhuh ... yih! dolizzle sit amizzle, consectetuer adipiscing

daahng dawg. Nullizzle owned velizzle, brizzle volutpizzle,crackalackin my shizz, fo shizzle vizzle, arcu.

18

Page 41: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Home: lists

itemize enumerate

Cupcake Ipsum

Picksum Ipsum

Lorizzle

Samuel L. Ipsum

Fillerama

PokéIpsum

1. Cupcake Ipsum

2. Picksum Ipsum

3. Lorizzle

4. Samuel L. Ipsum

5. Fillerama

6. PokéIpsum

1. Cupcake Ipsum

1.1 Picksum Ipsum1.2 Lorizzle

2. Samuel L. Ipsum

3. Fillerama

4. PokéIpsum

19

Page 42: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Home: lists

itemize enumerate

Cupcake Ipsum

Picksum Ipsum

Lorizzle

Samuel L. Ipsum

Fillerama

PokéIpsum

1. Cupcake Ipsum

2. Picksum Ipsum

3. Lorizzle

4. Samuel L. Ipsum

5. Fillerama

6. PokéIpsum

1. Cupcake Ipsum

1.1 Picksum Ipsum1.2 Lorizzle

2. Samuel L. Ipsum

3. Fillerama

4. PokéIpsum

19

Page 43: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Home: styles

Word LATEXNormalHeading 1 \section{}Heading 2 \subsection{}Emphasis \emph{}… …

Defined in:Templates Document class, packages, local definitions

20

Page 44: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Home: styles

Word LATEXNormalHeading 1 \section{}Heading 2 \subsection{}Emphasis \emph{}… …

Defined in:Templates Document class, packages, local definitions

20

Page 45: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

ExampleEffect of document class

21

Page 46: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: tables

Cocktail IngredientsMojito limes, mint leaves, sugar, ice, white rum, soda waterCosmopolitan vodka, orange liqueur, lime juice, cranberry juiceWhisky sour egg white, caster sugar, vanilla syrup, lemon juice, bourbon, bitters

\begin{tabular}{|l|l|}\hlineCocktail & Ingredients \\\hlineMojito & limes, mint leaves, sugar, ice, white rum, soda water \\\hlineCosmopolitan & vodka, orange liqueur, lime juice, cranberry juice \\\hlineWhisky sour & egg white, caster sugar, vanilla syrup, lemon juice, bourbon, bitters \\\hline\end{tabular}

22

Page 47: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: tables

Cocktail IngredientsMojito limes, mint leaves, sugar, ice, white rum, soda waterCosmopolitan vodka, orange liqueur, lime juice, cranberry juiceWhisky sour egg white, caster sugar, vanilla syrup, lemon juice, bourbon, bitters

\begin{tabular}{|l|l|}\hlineCocktail & Ingredients \\\hlineMojito & limes, mint leaves, sugar, ice, white rum, soda water \\\hlineCosmopolitan & vodka, orange liqueur, lime juice, cranberry juice \\\hlineWhisky sour & egg white, caster sugar, vanilla syrup, lemon juice, bourbon, bitters \\\hline\end{tabular}

22

Page 48: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: tables

Cocktail IngredientsMojito limes, mint leaves, sugar, ice, white rum, soda waterCosmopolitan vodka, orange liqueur, lime juice, cranberry juiceWhisky sour egg white, caster sugar, vanilla syrup, lemon juice, bourbon, bitters

\begin{tabular}{|l|l|}\hlineCocktail & Ingredients \\\hlineMojito & limes, mint leaves, sugar, ice, white rum, soda water \\\hlineCosmopolitan & vodka, orange liqueur, lime juice, cranberry juice \\\hlineWhisky sour & egg white, caster sugar, vanilla syrup, lemon juice, bourbon, bitters \\\hline\end{tabular}

22

Page 49: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

ExampleEditing a table

23

Page 50: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: figures

Figure 1: Cross-cultural mashup? Never mind

\includegraphics[height=3.5cm]{95115}

24

Page 51: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: figures

Figure 1: Cross-cultural mashup? Never mind

\includegraphics[height=3.5cm]{95115}

24

Page 52: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: figures

Figure 1: Cross-cultural mashup? Never mind

\includegraphics[height=3.5cm]{95115}

24

Page 53: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Aside: floats and labels

Figure 1 blends …

\begin{figure}[htbp]\centering\includegraphics[height=3.5cm]{95115}\caption{Cross-cultural mashup? Never mind}\label{fig:bart}

\end{figure}

Figure~\ref{fig:bart} blends \ldots

25

Page 54: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Aside: floats and labels

Figure 1 blends …

\begin{figure}[htbp]\centering\includegraphics[height=3.5cm]{95115}\caption{Cross-cultural mashup? Never mind}\label{fig:bart}

\end{figure}

Figure~\ref{fig:bart} blends \ldots

25

Page 55: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Aside: floats and labels

Figure 1 blends …

\begin{figure}[htbp]\centering\includegraphics[height=3.5cm]{95115}\caption{Cross-cultural mashup? Never mind}\label{fig:bart}

\end{figure}

Figure~\ref{fig:bart} blends \ldots

25

Page 56: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: shapes etc.

Drawing a picture in words:

\begin{tikzpicture}[node distance = 3cm, auto, >=latex, thick]\path[use as bounding box]<1-> (-1,0) rectangle (8,-2);\path[->]<1-> node[format] (tex) {.tex file};\path[->]<2-> node[format, right of=tex] (dvi) {.dvi file}

(tex) edge node {\alert{latex}} (dvi);\path[->]<3-> node[format, right of=dvi] (pdf) {.pdf file}

node[medium, below of=dvi] (screen) {screen}(dvi) edge node[swap] {} (screen)

edge node {\alert{dvipdf}} (pdf);\path[->]<4-> node[medium, below of=pdf] (print) {printer}

(pdf) edge (screen)edge (print);

\path[->, draw]<5-> (tex) -- +(0,1) -| node[near start] {\alert{pdftex}} (pdf);\end{tikzpicture}

26

Page 57: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: shapes etc.

Drawing a picture in words:

\begin{tikzpicture}[node distance = 3cm, auto, >=latex, thick]\path[use as bounding box]<1-> (-1,0) rectangle (8,-2);\path[->]<1-> node[format] (tex) {.tex file};\path[->]<2-> node[format, right of=tex] (dvi) {.dvi file}

(tex) edge node {\alert{latex}} (dvi);\path[->]<3-> node[format, right of=dvi] (pdf) {.pdf file}

node[medium, below of=dvi] (screen) {screen}(dvi) edge node[swap] {} (screen)

edge node {\alert{dvipdf}} (pdf);\path[->]<4-> node[medium, below of=pdf] (print) {printer}

(pdf) edge (screen)edge (print);

\path[->, draw]<5-> (tex) -- +(0,1) -| node[near start] {\alert{pdftex}} (pdf);\end{tikzpicture}

26

Page 58: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: miscellaneous

Links hyperref

Headers/footers fancyhdr

Text boxes \framebox

Accents Ñö prøbłémô \~N\"o \v{p}r\o\b{b}\l\'em\^o

27

Page 59: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: miscellaneous

Links hyperref

Headers/footers fancyhdr

Text boxes \framebox

Accents Ñö prøbłémô \~N\"o \v{p}r\o\b{b}\l\'em\^o

27

Page 60: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: miscellaneous

Links hyperref

Headers/footers fancyhdr

Text boxes \framebox

Accents Ñö prøbłémô \~N\"o \v{p}r\o\b{b}\l\'em\^o

27

Page 61: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: miscellaneous

Links hyperref

Headers/footers fancyhdr

Text boxes \framebox

Accents Ñö prøbłémô \~N\"o \v{p}r\o\b{b}\l\'em\^o

27

Page 62: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: miscellaneous

Links hyperref

Headers/footers fancyhdr

Text boxes \framebox

Accents Ñö prøbłémô

\~N\"o \v{p}r\o\b{b}\l\'em\^o

27

Page 63: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: miscellaneous

Links hyperref

Headers/footers fancyhdr

Text boxes \framebox

Accents Ñö prøbłémô \~N\"o \v{p}r\o\b{b}\l\'em\^o

27

Page 64: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: comments

Comments

Sweet lollipop marshmallow marshmallow jelly beans lemon

∗ Toosweet!

dropscheesecake. Cheesecake sesame snaps candy pudding sugar plumlollipop. Pie candy canes lollipop danish jelly beans tootsie roll crois-sant.

Author Query 1I think I preferred Lorizzle.

28

Page 65: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: comments

CommentsSweet lollipop marshmallow marshmallow jelly beans lemon

∗ Toosweet!

dropscheesecake. Cheesecake sesame snaps candy pudding sugar plumlollipop. Pie candy canes lollipop danish jelly beans tootsie roll crois-sant.

Author Query 1I think I preferred Lorizzle.

28

Page 66: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: comments

CommentsSweet lollipop marshmallow marshmallow jelly beans lemon∗ Too

sweet!drops

cheesecake. Cheesecake sesame snaps candy pudding sugar plumlollipop. Pie candy canes lollipop danish jelly beans tootsie roll crois-sant.

Author Query 1I think I preferred Lorizzle.

28

Page 67: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: comments

CommentsSweet lollipop marshmallow marshmallow jelly beans lemon∗ Too

sweet!drops

cheesecake. Cheesecake sesame snaps candy pudding sugar plumlollipop. Pie candy canes lollipop danish jelly beans tootsie roll crois-sant.

Author Query 1I think I preferred Lorizzle.

28

Page 68: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Aside: implementation of new commands

\newcommand{\mquery}[2]{%\textcolor{red}{$^{#1}$}\marginnote{\tiny \textcolor{red}{#2}}}

\mquery{*}{Too sweet!}

\newtheorem{query}{Author Query}

\begin{query}I think I preferred Lorizzle.

\end{query}

29

Page 69: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Aside: implementation of new commands

\newcommand{\mquery}[2]{%\textcolor{red}{$^{#1}$}\marginnote{\tiny \textcolor{red}{#2}}}

\mquery{*}{Too sweet!}

\newtheorem{query}{Author Query}

\begin{query}I think I preferred Lorizzle.

\end{query}

29

Page 70: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Aside: implementation of new commands

\newcommand{\mquery}[2]{%\textcolor{red}{$^{#1}$}\marginnote{\tiny \textcolor{red}{#2}}}

\mquery{*}{Too sweet!}

\newtheorem{query}{Author Query}

\begin{query}I think I preferred Lorizzle.

\end{query}

29

Page 71: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Aside: implementation of new commands

\newcommand{\mquery}[2]{%\textcolor{red}{$^{#1}$}\marginnote{\tiny \textcolor{red}{#2}}}

\mquery{*}{Too sweet!}

\newtheorem{query}{Author Query}

\begin{query}I think I preferred Lorizzle.

\end{query}

29

Page 72: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: maths

The roots of the general quadratic equation ax2 + bx+ c = 0 aregiven by the formula in equation (1).

x = −b±√b2 − 4ac2a (1)

The roots of the general quadratic equation $ax^2+bx+c=0$ are givenby the formula in equation~\eqref{eq:quadratic}.\begin{equation}x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\label{eq:quadratic}

\end{equation}

30

Page 73: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: maths

The roots of the general quadratic equation ax2 + bx+ c = 0 aregiven by the formula in equation (1).

x = −b±√b2 − 4ac2a (1)

The roots of the general quadratic equation $ax^2+bx+c=0$ are givenby the formula in equation~\eqref{eq:quadratic}.\begin{equation}x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\label{eq:quadratic}

\end{equation}

30

Page 74: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Insert: maths

The roots of the general quadratic equation ax2 + bx+ c = 0 aregiven by the formula in equation (1).

x = −b±√b2 − 4ac2a (1)

The roots of the general quadratic equation $ax^2+bx+c=0$ are givenby the formula in equation~\eqref{eq:quadratic}.\begin{equation}x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\label{eq:quadratic}

\end{equation}

30

Page 75: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Aside: MathType

31

Page 76: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Aside: MathType

31

Page 77: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Aside: MathType

31

Page 78: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

ExampleMaths

32

Page 79: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

References: table of contents, notes

Table of contents \section \tableofcontents

Footnotes \footnote1

Endnotes endnote package

Index \index makeindex theindex

1This is a footnote.

33

Page 80: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

References: table of contents, notes

Table of contents \section \tableofcontents

Footnotes \footnote1

Endnotes endnote package

Index \index makeindex theindex

1This is a footnote.

33

Page 81: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

References: table of contents, notes

Table of contents \section \tableofcontents

Footnotes \footnote1

Endnotes endnote package

Index \index makeindex theindex

1This is a footnote.

33

Page 82: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

References: table of contents, notes

Table of contents \section \tableofcontents

Footnotes \footnote1

Endnotes endnote package

Index \index makeindex theindex

1This is a footnote.

33

Page 83: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

References: table of contents, notes

Table of contents \section \tableofcontents

Footnotes \footnote1

Endnotes endnote package

Index \index makeindex theindex

1This is a footnote.

33

Page 84: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

References: bibliography and citations

Bibliography

\begin{thebibliography}{}\bibitem[Armus et al.(2007)]{Armus+07}

Armus, L., et al.\ 2007, ApJ, 656, 148\bibitem[Bayet et al.(2009)]{Bayet+09}

Bayet, E., Gerin, M., Phillips, T.~G.,\& Contursi, A.\ 2009, MNRAS, 399, 264

\end{thebibliography}

Citation

\ldots and the exact fraction varies from sourceto source \citep{Armus+07}.

…and the exact fraction varies from source to source (Armus et al., 2007).

34

Page 85: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

References: bibliography and citations

Bibliography

\begin{thebibliography}{}\bibitem[Armus et al.(2007)]{Armus+07}

Armus, L., et al.\ 2007, ApJ, 656, 148\bibitem[Bayet et al.(2009)]{Bayet+09}

Bayet, E., Gerin, M., Phillips, T.~G.,\& Contursi, A.\ 2009, MNRAS, 399, 264

\end{thebibliography}

Citation

\ldots and the exact fraction varies from sourceto source \citep{Armus+07}.

…and the exact fraction varies from source to source (Armus et al., 2007).

34

Page 86: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

References: bibliography and citations

Bibliography

\begin{thebibliography}{}\bibitem[Armus et al.(2007)]{Armus+07}

Armus, L., et al.\ 2007, ApJ, 656, 148\bibitem[Bayet et al.(2009)]{Bayet+09}

Bayet, E., Gerin, M., Phillips, T.~G.,\& Contursi, A.\ 2009, MNRAS, 399, 264

\end{thebibliography}

Citation

\ldots and the exact fraction varies from sourceto source \citep{Armus+07}.

…and the exact fraction varies from source to source (Armus et al., 2007).

34

Page 87: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

ExampleBibliography

35

Page 88: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Aside: BibTEX

BibTEX file (.bib) + style file (.bst) → bibliography file (.bbl)

@Article{AIK1981,author = {Akaike, H.},title = {Likelihood of a Model and Information Criteria},journal = {Journal of Econometrics},year = {1981},volume = {16},pages = {3--14}

}

\bibitem[Akaike(1981)]{AIK1981}Akaike H. 1981 Likelihood of a model and information criteria.\textit{Journal of Econometrics} \textbf{16}, 3--14.

36

Page 89: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Aside: BibTEX

BibTEX file (.bib) + style file (.bst) → bibliography file (.bbl)

@Article{AIK1981,author = {Akaike, H.},title = {Likelihood of a Model and Information Criteria},journal = {Journal of Econometrics},year = {1981},volume = {16},pages = {3--14}

}

\bibitem[Akaike(1981)]{AIK1981}Akaike H. 1981 Likelihood of a model and information criteria.\textit{Journal of Econometrics} \textbf{16}, 3--14.

36

Page 90: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Aside: BibTEX

BibTEX file (.bib) + style file (.bst) → bibliography file (.bbl)

@Article{AIK1981,author = {Akaike, H.},title = {Likelihood of a Model and Information Criteria},journal = {Journal of Econometrics},year = {1981},volume = {16},pages = {3--14}

}

\bibitem[Akaike(1981)]{AIK1981}Akaike H. 1981 Likelihood of a model and information criteria.\textit{Journal of Econometrics} \textbf{16}, 3--14.

36

Page 91: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Review: change tracking

Importantly, LATEX files are plain text files

File comparison utilities (meld, windiff, Beyond Compare)Version controlEmbedded commentsWordlatexdiff

latexdiff old.tex new.tex > diffs.tex

37

Page 92: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Review: change tracking

Importantly, LATEX files are plain text files

File comparison utilities (meld, windiff, Beyond Compare)Version controlEmbedded commentsWordlatexdiff

latexdiff old.tex new.tex > diffs.tex

37

Page 93: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Review: change tracking

Importantly, LATEX files are plain text files

File comparison utilities (meld, windiff, Beyond Compare)

Version controlEmbedded commentsWordlatexdiff

latexdiff old.tex new.tex > diffs.tex

37

Page 94: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Review: change tracking

Importantly, LATEX files are plain text files

File comparison utilities (meld, windiff, Beyond Compare)Version control

Embedded commentsWordlatexdiff

latexdiff old.tex new.tex > diffs.tex

37

Page 95: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Review: change tracking

Importantly, LATEX files are plain text files

File comparison utilities (meld, windiff, Beyond Compare)Version controlEmbedded comments

Wordlatexdiff

latexdiff old.tex new.tex > diffs.tex

37

Page 96: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Review: change tracking

Importantly, LATEX files are plain text files

File comparison utilities (meld, windiff, Beyond Compare)Version controlEmbedded commentsWord

latexdiff

latexdiff old.tex new.tex > diffs.tex

37

Page 97: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Review: change tracking

Importantly, LATEX files are plain text files

File comparison utilities (meld, windiff, Beyond Compare)Version controlEmbedded commentsWordlatexdiff

latexdiff old.tex new.tex > diffs.tex

37

Page 98: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Review: change tracking

Importantly, LATEX files are plain text files

File comparison utilities (meld, windiff, Beyond Compare)Version controlEmbedded commentsWordlatexdiff latexdiff old.tex new.tex > diffs.tex

37

Page 99: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Examplelatexdiff

38

Page 100: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

How can I use it?

Page 101: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Distributions

MacMacTeX www.tug.org/mactex

WindowsMiKTeX miktex.orgTeX Live www.tug.org/texlive

OnlineShareLaTeX www.sharelatex.comOverleaf www.overleaf.comPapeeria papeeria.comAuthorea www.authorea.com

40

Page 102: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Editors

MacTexpad www.texpadapp.comTeXShop pages.uoregon.edu/koch/texshop

WindowsLEd www.latexeditor.orgTeXnicCenter www.texniccenter.orgSublime Text 3 www.sublimetet.comNotepad++ notepad-plus-plus.org

BothTeXworks www.tug.org/texworksTexmaker www.xm1math.net/texmakerScientific Workplace www.mackichan.com/products/swp.htmlTeXlipse texlipse.sourceforge.netEmacs / Vim …

https://en.wikipedia.org/wiki/Comparison_of_TeX_editors41

Page 103: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Resources

Online texblog.org/tex-resourcesStack ExchangeGoogle

BooksLATEX: A Document Preparation System,Leslie Lamport, Addison-Wesley, 1994.

LATEX for Complete Novices,Nicola Talbot, Dickimaw Books, 2012.

42

Page 104: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Resources

Online texblog.org/tex-resourcesStack ExchangeGoogle

BooksLATEX: A Document Preparation System,Leslie Lamport, Addison-Wesley, 1994.

LATEX for Complete Novices,Nicola Talbot, Dickimaw Books, 2012.

42

Page 105: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

How do authors use it?

Page 106: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley

Michelson$-$MorleyMichelson–Morley Michelson--Morley

sin2θ + cos2 theta = 1 $sin^2\theta+\cos^2theta=1$sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote” "This is a quote"“This is a quote” ``This is a quote''

⟨E⟩ ≈ 5.0GeV $\langle E \rangle \approx ~5.0 GeV$⟨E⟩ ≈ 5.0GeV $\langle E\rangle\approx5.0\,$GeV

90o 90$^o$90◦ 90$^\circ$

44

Page 107: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley

Michelson$-$Morley

Michelson–Morley

Michelson--Morley

sin2θ + cos2 theta = 1 $sin^2\theta+\cos^2theta=1$sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote” "This is a quote"“This is a quote” ``This is a quote''

⟨E⟩ ≈ 5.0GeV $\langle E \rangle \approx ~5.0 GeV$⟨E⟩ ≈ 5.0GeV $\langle E\rangle\approx5.0\,$GeV

90o 90$^o$90◦ 90$^\circ$

44

Page 108: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley Michelson$-$MorleyMichelson–Morley Michelson--Morley

sin2θ + cos2 theta = 1 $sin^2\theta+\cos^2theta=1$sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote” "This is a quote"“This is a quote” ``This is a quote''

⟨E⟩ ≈ 5.0GeV $\langle E \rangle \approx ~5.0 GeV$⟨E⟩ ≈ 5.0GeV $\langle E\rangle\approx5.0\,$GeV

90o 90$^o$90◦ 90$^\circ$

44

Page 109: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley Michelson$-$MorleyMichelson–Morley Michelson--Morley

sin2θ + cos2 theta = 1

$sin^2\theta+\cos^2theta=1$sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote” "This is a quote"“This is a quote” ``This is a quote''

⟨E⟩ ≈ 5.0GeV $\langle E \rangle \approx ~5.0 GeV$⟨E⟩ ≈ 5.0GeV $\langle E\rangle\approx5.0\,$GeV

90o 90$^o$90◦ 90$^\circ$

44

Page 110: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley Michelson$-$MorleyMichelson–Morley Michelson--Morley

sin2θ + cos2 theta = 1 $sin^2\theta+\cos^2theta=1$

sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote” "This is a quote"“This is a quote” ``This is a quote''

⟨E⟩ ≈ 5.0GeV $\langle E \rangle \approx ~5.0 GeV$⟨E⟩ ≈ 5.0GeV $\langle E\rangle\approx5.0\,$GeV

90o 90$^o$90◦ 90$^\circ$

44

Page 111: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley Michelson$-$MorleyMichelson–Morley Michelson--Morley

sin2θ + cos2 theta = 1 $sin^2\theta+\cos^2theta=1$sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote” "This is a quote"“This is a quote” ``This is a quote''

⟨E⟩ ≈ 5.0GeV $\langle E \rangle \approx ~5.0 GeV$⟨E⟩ ≈ 5.0GeV $\langle E\rangle\approx5.0\,$GeV

90o 90$^o$90◦ 90$^\circ$

44

Page 112: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley Michelson$-$MorleyMichelson–Morley Michelson--Morley

sin2θ + cos2 theta = 1 $sin^2\theta+\cos^2theta=1$sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote”

"This is a quote"

“This is a quote”

``This is a quote''

⟨E⟩ ≈ 5.0GeV $\langle E \rangle \approx ~5.0 GeV$⟨E⟩ ≈ 5.0GeV $\langle E\rangle\approx5.0\,$GeV

90o 90$^o$90◦ 90$^\circ$

44

Page 113: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley Michelson$-$MorleyMichelson–Morley Michelson--Morley

sin2θ + cos2 theta = 1 $sin^2\theta+\cos^2theta=1$sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote” "This is a quote"“This is a quote” ``This is a quote''

⟨E⟩ ≈ 5.0GeV $\langle E \rangle \approx ~5.0 GeV$⟨E⟩ ≈ 5.0GeV $\langle E\rangle\approx5.0\,$GeV

90o 90$^o$90◦ 90$^\circ$

44

Page 114: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley Michelson$-$MorleyMichelson–Morley Michelson--Morley

sin2θ + cos2 theta = 1 $sin^2\theta+\cos^2theta=1$sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote” "This is a quote"“This is a quote” ``This is a quote''

⟨E⟩ ≈ 5.0GeV

$\langle E \rangle \approx ~5.0 GeV$⟨E⟩ ≈ 5.0GeV $\langle E\rangle\approx5.0\,$GeV

90o 90$^o$90◦ 90$^\circ$

44

Page 115: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley Michelson$-$MorleyMichelson–Morley Michelson--Morley

sin2θ + cos2 theta = 1 $sin^2\theta+\cos^2theta=1$sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote” "This is a quote"“This is a quote” ``This is a quote''

⟨E⟩ ≈ 5.0GeV

$\langle E \rangle \approx ~5.0 GeV$

⟨E⟩ ≈ 5.0GeV

$\langle E\rangle\approx5.0\,$GeV

90o 90$^o$90◦ 90$^\circ$

44

Page 116: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley Michelson$-$MorleyMichelson–Morley Michelson--Morley

sin2θ + cos2 theta = 1 $sin^2\theta+\cos^2theta=1$sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote” "This is a quote"“This is a quote” ``This is a quote''

⟨E⟩ ≈ 5.0GeV $\langle E \rangle \approx ~5.0 GeV$⟨E⟩ ≈ 5.0GeV $\langle E\rangle\approx5.0\,$GeV

90o 90$^o$90◦ 90$^\circ$

44

Page 117: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley Michelson$-$MorleyMichelson–Morley Michelson--Morley

sin2θ + cos2 theta = 1 $sin^2\theta+\cos^2theta=1$sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote” "This is a quote"“This is a quote” ``This is a quote''

⟨E⟩ ≈ 5.0GeV $\langle E \rangle \approx ~5.0 GeV$⟨E⟩ ≈ 5.0GeV $\langle E\rangle\approx5.0\,$GeV

90o

90$^o$90◦ 90$^\circ$

44

Page 118: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley Michelson$-$MorleyMichelson–Morley Michelson--Morley

sin2θ + cos2 theta = 1 $sin^2\theta+\cos^2theta=1$sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote” "This is a quote"“This is a quote” ``This is a quote''

⟨E⟩ ≈ 5.0GeV $\langle E \rangle \approx ~5.0 GeV$⟨E⟩ ≈ 5.0GeV $\langle E\rangle\approx5.0\,$GeV

90o 90$^o$

90◦ 90$^\circ$

44

Page 119: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Carelessly or lazily!

Michelson−Morley Michelson$-$MorleyMichelson–Morley Michelson--Morley

sin2θ + cos2 theta = 1 $sin^2\theta+\cos^2theta=1$sin2 θ + cos2 θ = 1 $\sin^2\theta+\cos^2\theta=1$

”This is a quote” "This is a quote"“This is a quote” ``This is a quote''

⟨E⟩ ≈ 5.0GeV $\langle E \rangle \approx ~5.0 GeV$⟨E⟩ ≈ 5.0GeV $\langle E\rangle\approx5.0\,$GeV

90o 90$^o$90◦ 90$^\circ$

44

Page 120: S4 - LaTeX editing, Richard Hutchinson (SfEP 27th conference, 10-12 September 2016)

Questions?

45