Browse Source

Update 'Readme.md'

Adding equations and matrices
gmarx-patch-2
parent
commit
acacad273e
1 changed files with 132 additions and 0 deletions
  1. +132
    -0
      Readme.md

+ 132
- 0
Readme.md View File

@ -19,6 +19,7 @@ Here you can find the highlights of each day lecture, to avoid repetitive points
* document options and geometry
* Defining new vars, paragraph spaces, tabulation space, and text sizes
* A dummy text definition command
* The minipage challenge
Here are some basic but useful information about the eexamples and packages that we use during the webinar. If you require more deep information you can visit the links provided along the Readme file.
@ -50,6 +51,22 @@ Here you can find the highlights of each day lecture, to avoid repetitive points
|`\texttt{}` |for terminal text|
|`\oldstylenums{}` |for old number font|
#### Font sizes
The font formats and sizes **are not modified frequently**, most of the time LaTeX makes a good work with them. However, here are some common font size modifiers to work with:
|Class option|10pt |11pt|12pt|
|-------------|----|----|----|
|\Huge|25pt|25pt|25pt|
|\huge|20pt|20pt|25pt|
|\LARGE|17pt|17pt|20pt|
|\Large|14pt|14pt|17pt|
|\large|12pt|12pt|14pt|
|\normalsize(default)|10pt|11pt|12pt|
|\small|9pt|10pt|11pt|
|\footnotesize|8pt|9pt|10pt|
|\scriptsize|7pt|8pt|8pt|
|\tiny|5pt|6pt|6pt|
### Example 3: Geometry and Lengths
@ -76,6 +93,119 @@ Here you can find the highlights of each day lecture, to avoid repetitive points
### Day 2: Document Classes and Sectional Units ###
### Day 3: Equations, Tables and Figures (Marx) ###
* Inline equations
* Equation's environment
* Cross-references with `\ref`
* `amsmath` package
* The equation challenge
* The Matrix challenge
* Tables and `booktabs` package
* The `graphicx` package and short titles
* Subfigures challenge
* Table of Contents
* Changing the way it looks
#### The equation challenge
First the Fourier series coefficients:
![](https://www.thefouriertransform.com/series/optimalcoefficients.jpg)
Then, the complete Equation:
![](https://www.thefouriertransform.com/series/fouriersum.jpg)
If you need an extended manual please take a look to the [short math guide](http://gmarxcc.com/fourier/short-math-guide.pdf).
#### Matrices
By using the `amsmath` package it is possible to write easily matrices by:
``` tex
\begin{bmatrix}
1 & 2 & 3\\
a & b & c
\end{bmatrix}
```
you also use `pmatrix`, `Bmatrix` , `vmatrix`, and `Vmatrix`.
#### Subfigures
```TeX
%preamble
\usepackage{caption}
\usepackage{subcaption}
.....
%on body
\begin{figure}
\centering
\begin{subfigure}[b]{0.3\textwidth}
\centering
\includegraphics[width=\textwidth]{graph1}
\caption{$y=x$}
\label{fig:y equals x}
\end{subfigure}
\hfill
\begin{subfigure}[b]{0.3\textwidth}
\centering
\includegraphics[width=\textwidth]{graph2}
\caption{$y=3sinx$}
\label{fig:three sin x}
\end{subfigure}
\hfill
\begin{subfigure}[b]{0.3\textwidth}
\centering
\includegraphics[width=\textwidth]{graph3}
\caption{$y=5/x$}
\label{fig:five over x}
\end{subfigure}
\caption{Three simple graphs}
\label{fig:three graphs}
\end{figure}
```
#### Subtables
``` tex
\begin{table}[h]
\begin{subtable}[h]{0.45\textwidth}
\centering
\begin{tabular}{l | l | l}
Day & Max Temp & Min Temp \\
\hline \hline
Mon & 20 & 13\\
Tue & 22 & 14\\
Wed & 23 & 12\\
Thurs & 25 & 13\\
Fri & 18 & 7\\
Sat & 15 & 13\\
Sun & 20 & 13
\end{tabular}
\caption{First Week}
\label{tab:week1}
\end{subtable}
\hfill
\begin{subtable}[h]{0.45\textwidth}
\centering
\begin{tabular}{l | l | l}
Day & Max Temp & Min Temp \\
\hline \hline
Mon & 17 & 11\\
Tue & 16 & 10\\
Wed & 14 & 8\\
Thurs & 12 & 5\\
Fri & 15 & 7\\
Sat & 16 & 12\\
Sun & 15 & 9
\end{tabular}
\caption{Second Week}
\label{tab:week2}
\end{subtable}
\caption{Max and min temps recorded in the first two weeks of July}
\label{tab:temps}
\end{table}
```
### Day 4: Plots with PGFPlots package(Marx) ###
* Making plots from equation
* Plotting data from a simple experiment
@ -83,6 +213,8 @@ Here you can find the highlights of each day lecture, to avoid repetitive points
* Multi-trace plots and its configuration
* Bar and scatter plots
* Reading data from a `CSV` files
### Day 5: References with Bibtex (Kai) ###
What is a reference?
What is a good reference?


Loading…
Cancel
Save