#2 Update 'Readme.md'

Merged
gmarx merged 3 commits from gmarx-patch-2 into master 3 years ago
  1. +4
    -0
      .gitignore
  2. +58
    -8
      1_basics/2_example/main.tex
  3. +38
    -0
      3_equ-tab-figs/1_equations/main.tex
  4. +15
    -0
      3_equ-tab-figs/2_figures/main.tex
  5. +132
    -0
      Readme.md
  6. BIN
      beamer/webinar.pdf
  7. +1
    -0
      beamer/webinar.tex
  8. +9
    -0
      webinar.org

+ 4
- 0
.gitignore View File

@ -3,3 +3,7 @@
*.log *.log
*.synctex.gz *.synctex.gz
*.out *.out
*.out
*.toc
*.snm
*.nav

+ 58
- 8
1_basics/2_example/main.tex View File

@ -1,12 +1,62 @@
%Preamble
\documentclass[a4paper]{article}
\documentclass{article}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage{lipsum} \usepackage{lipsum}
\title{My First Document in \LaTeX{}}
\author{Gerardo Marx Chávez Campos}
\date{2021/01/28}
%document's body:
\newcommand{\mytext}{Here is my own dummy text command to fill-up space over the document. The text has no sense and you can continue reading, nevertheless, you will not find useful information. Please stop reading.}
\title{Font styles and decalrations}
\author{Gerardo Marx Chávez-Campos}
\date{February 2021}
\begin{document} \begin{document}
\maketitle{}
\lipsum[1-2]
\maketitle
\section{Font Changing Text-Block Commands}
\textrm{Roman text}\newline
\textsf{San Serif text}\newline
\textbf{Bold}\\
\texttt{Type Writter}\\
\textit{Italic text}\\
\textup{Up and Right}\\
\textsc{Small Capitals}\\
\underline{Underlined text}\\
\section{Font changing declarations}
\subsection{Environments}
\begin{sffamily}
The text here will change.
\end{sffamily}
\subsection{Localised declarations}
{\sffamily\slshape Localised declarations: \lipsum[1]}. Here declarations do not affect.
\itshape Declarations that later are reset: \lipsum[1] \normalfont. Normal text here again.
Mixing text-block and modal commands: \textsc{\rmfamily \lipsum[3]}
\textbf{\textit{Nested declarations: \lipsum[6]}}
\section{Font Size}
\begin{tiny}
Some tiny text.
\end{tiny}
\scriptsize{\lipsum[5]}
\footnotesize{\lipsum[10]}
\small{\lipsum[99]}
\normalfont{\lipsum[12]}
\large{\mytext}
\Large{\mytext}
\LARGE{\mytext}
\huge{\mytext}
\Huge{\mytext}
\end{document} \end{document}

+ 38
- 0
3_equ-tab-figs/1_equations/main.tex View File

@ -0,0 +1,38 @@
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amssymb,amsmath}
\begin{document}
\section{Simple equations on text}
\label{sec:eq-text}
Here you can see simple equations along with text $x$, $y$ and \(z\) are in math mode. This mode is known as \textbf{inline} mode and it is recommended to write short equations like: $-10 \leq x \leq 10$. Thus, if complex and long equations are required, it is recommended to use the equation environment.\par
\section{Equation environment}
\label{sec:environment}
Here we can find a way to write long equations like \eqref{eq:fraction}:
\begin{equation}
\label{eq:fraction}
f(t)=\sqrt{\frac{t-a}{t+a}}
\end{equation}
\noindent here $t$ is time in seconds.
More complex equations can be written using symbols and commands from math-mode. An example is the Fourier coefficients equations \eqref{eq:a0},\eqref{eq:an} and \eqref{eq:bn}:
\begin{eqnarray}
a_0=\frac{1}{T}\int_0^T f(t)dt \label{eq:a0}\\
a_n=\frac{2}{T}\int_0^T f(t)\cdot \cos{\left(\frac{2\pi nt}{T}\right)}dt \label{eq:an}\\
b_n=\frac{2}{T}\int_0^T f(t)\cdot \sin{\left(\frac{2\pi nt}{T}\right)}dt \label{eq:bn}
\end{eqnarray}
Previous equations are used to define the Fourier series as:
\begin{equation}
\label{eq:fourier}
g(t)=a_0+\sum_{m=1}^{\infty}a_m \cos{\left(\frac{2\pi mt}{T}\right)}++\sum_{m=1}^{\infty}b_n \sin{\left(\frac{2\pi nt}{T}\right)}
\end{equation}
\end{document}

+ 15
- 0
3_equ-tab-figs/2_figures/main.tex View File

@ -0,0 +1,15 @@
\documentclass{article}
\usepackage{amsmath}
\usepackage{graphicx}
\begin{document}
\section{Simple figures}
\label{sec:simple}
This is a simple figure; see \figurename{} \ref{fig:fig-example}.
\begin{figure}[!htb]
\centering
\includegraphics[width=3.5in]{example-image-a}
\caption{Figure's caption.}
\label{fig:fig-example}
\end{figure}
\end{document}

+ 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 * document options and geometry
* Defining new vars, paragraph spaces, tabulation space, and text sizes * Defining new vars, paragraph spaces, tabulation space, and text sizes
* A dummy text definition command * 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. 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| |`\texttt{}` |for terminal text|
|`\oldstylenums{}` |for old number font| |`\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 ### 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 2: Document Classes and Sectional Units ###
### Day 3: Equations, Tables and Figures (Marx) ### ### 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) ### ### Day 4: Plots with PGFPlots package(Marx) ###
* Making plots from equation * Making plots from equation
* Plotting data from a simple experiment * 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 * Multi-trace plots and its configuration
* Bar and scatter plots * Bar and scatter plots
* Reading data from a `CSV` files * Reading data from a `CSV` files
### Day 5: References with Bibtex (Kai) ### ### Day 5: References with Bibtex (Kai) ###
What is a reference? What is a reference?
What is a good reference? What is a good reference?


BIN
beamer/webinar.pdf View File


+ 1
- 0
beamer/webinar.tex View File

@ -31,6 +31,7 @@
\author[gmarx\_cc@itmorelia.edu.mx]{Gerardo Marx Chávez-Campos} \author[gmarx\_cc@itmorelia.edu.mx]{Gerardo Marx Chávez-Campos}
\institute[ITM]{Instituto Tecnológico de Morelia: Industrial Applications Society} \institute[ITM]{Instituto Tecnológico de Morelia: Industrial Applications Society}
\titlegraphic{\includegraphics[width=3cm]{logoItm.pdf}} \titlegraphic{\includegraphics[width=3cm]{logoItm.pdf}}
\date{15/Feb/2021}
\begin{document} \begin{document}
%----Title page: %----Title page:


+ 9
- 0
webinar.org View File

@ -0,0 +1,9 @@
#+title: Organization during Webinar
* First day
** Hello world
** Fonts and styles
** Geometry and space
- The total allowable width of the text area is 6.5 inches wide by 8.75 inches high. The top margin on each page should be 1.2 inches from the top edge of the page. The left margin should be 0.9 inch from the left edge. The footer with page number should be at the bottom of the text area.
-

Loading…
Cancel
Save