Gerardo Marx Chávez-Campos 2a70301f61 | 3 years ago | |
---|---|---|
1_basics | 3 years ago | |
3_equ-tab-figs | 3 years ago | |
4_pgfplots | 3 years ago | |
beamer | 3 years ago | |
flyer | 3 years ago | |
.gitignore | 3 years ago | |
Readme.md | 3 years ago | |
webinar.org | 3 years ago |
An International Webinar between Instituto Tecnológico de Morelia, Jade University of Applied Science and Óbuda University
The repository is organized in the next way. The 1_basics
folder includes information (presentations or guides), examples source code, and any other useful information that the attendant can review during or after the webinar.
Here you can find the highlights of each day lecture, to avoid repetitive points during the webinar.
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.
A basic example to test any LaTeX distribution is:
\documentclass{standalone}
\begin{document}
Hello \LaTeX{}
\end{document}
Font formats, like bold or italics, are useful for highlight important text section by taking the reader's attention. Next are listed the most common used formats; if you need a detailed manual please look the LaTeX2e font selection manual.
Code | Notes |
---|---|
\textbf{} |
for bold text |
\textmd{} |
for medium |
\textit{} |
for italics |
\textsl{} |
for slanted |
\underline{} |
for underline |
\textsc{} |
for small capital letters |
\uppercase{} |
for large capital letters |
\textsuperscript{} |
for raised text |
\textsubscript{} |
for lowered text |
\texttt{} |
for terminal text |
\oldstylenums{} |
for old number font |
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 |
The documents geometry can be handle by natural LaTeX commands. Howeever, there is a useful package to make it easier. The package is Geometry
.
The next table list the valid units used on LaTeX 1.
Abbreviation | Value |
---|---|
pt |
a point is approximately 1/72.27 inch, that means about 0.0138 inch or 0.3515 mm (exactly point is defined as 1/864 of American printer’s foot that is 249/250 of English foot) |
mm |
a millimeter |
cm |
a centimeter |
in |
inch |
ex |
roughly the height of an 'x' (lowercase) in the current font (it depends on the font used) |
em |
roughly the width of an 'M' (uppercase) in the current font (it depends on the font used) |
mu |
math unit equal to 1/18 em, where em is taken from the math symbols family |
\ref
amsmath
packagebooktabs
packagegraphicx
package and short titlesFirst the Fourier series coefficients:
Then, the complete Equation:
If you need an extended manual please take a look to the short math guide.
By using the amsmath
package it is possible to write easily matrices by:
\begin{bmatrix}
1 & 2 & 3\\
a & b & c
\end{bmatrix}
you also use pmatrix
, Bmatrix
, vmatrix
, and Vmatrix
.
%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}
\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}
CSV
filesWhat is a reference? What is a good reference?
Certficates Feedback session