Markdown to LaTeX via Pandoc - cunhapaulo/ReferenceCard GitHub Wiki
Header comments to separate slides in a deck:
<!--
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#
[ SECTION ]
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#
-->
<!-- -:-:-:-:-:-:-:-:-:-:-:-: [ SLIDE ] :-:-:-:-:-:-:-:-:-:-:-:-:- -->
Reference: PANDOC on columns
-
Slide with header and two columns:
## Header ::: columns :::: column :::: :::: column :::: :::
-
Slide with header and two center-aligned columns:
## Simple :::::::::::::: {.columns align=center} :::: column \center \Large :::: :::: column :::: ::::::::::::::
-
LARGURA DA COLUNA VARIÁVEL:
## Largura variável ## {.column width="30%"} ::: columns :::: {.column width="30%"} {height="75%" width="75%"} :::: :::: {.column width="70%"} :::: :::
-
ALINHAMENTO VERTICAL
## Vertical alignment ## {.columns align=center} :::::::::::::: {.columns align=center} :::: {.column width=30%} {height="75%" width="75%"} :::: :::: {.column width="70%"} :::: ::::::::::::::
-
TAMANHO FIXO DE COLUNA
## Fixed column width ## {.columns align=center totalwidth=8em} :::::::::::::: {.columns align=center totalwidth=8em} ::: {.column width="40%"} contents... ::: ::: {.column width="60%" align=bottom} contents... ::: ::::::::::::::
.
Referência:Documentação do PANDOC - TABLES
-
TABELA SIMPLES:
| Name | CEP | Address | Salary | | :------------ | :--------: | :----------- | -------------: | | John Kennedy | 66.050-520 | Washington | $ 1.200,00 | | Angela Merkel | 66.050-500 | Berlin, 370 | $ 3.500,00 | | Lula da Silva | 98.000-666 | São Bernardo | $ 1.900.000,00 | Table: Legenda da tabela.
Resultado:
Name CEP Address Salary John Kennedy 66.050-520 Washington $ 1.200,00 Angela Merkel 66.050-500 Berlin, 370 $ 3.500,00 Lula da Silva 98.000-666 São Bernardo $ 1.900.000,00 Table: Legenda da tabela.
.
- MODELO 2
-------------------------------------------------------------
Centered Default **Right** Left
Header Aligned **Aligned** Aligned
----------- ------- --------------- -------------------------
First row 12.0 Example of a row that
spans multiple lines.
Second row 5.0 Here's another one. Note
the blank line between
rows.
Third row 4.0 Material to think about:
- Item 2
- Item 3
-------------------------------------------------------------
Table: Here's a multiline table without headers.
.
- MODELO 3
+---------------+---------------+--------------------+
| Fruit | Price | Advantages |
+===============+===============+====================+
| Bananas | $1.34 | a. built-in wrapper|
| | | b. bright color |
+---------------+---------------+--------------------+
| Oranges | $2.10 | a. cures scurvy |
| | | - Brazil |
| | | b. origin: |
+---------------+---------------+--------------------+
Table: Sample grid table.
.
- MODELO 4
\begin{table}[ht]
\caption{Performance After Post Filtering} % title name of the table
\centering % centering table
\begin{tabular}{l c c rrrrrrr} % creating 10 columns
\hline\hline % inserting double-line
Audio & Audibility & Decision & \multicolumn{7}{c}{Sum of Extracted Bits}
\\ [0.5ex] \hline % inserts single-line
% Entering 1st row
& & soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \\[-1ex]
\raisebox{1.5ex}{Police} & \raisebox{1.5ex}{5} & hard & 2 & $-4$ & 4 & 4 & $-2$ & $-4$ & 4 \\[1ex]
% Entering 2nd row
& & soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \\[-1ex] \raisebox{1.5ex}{Beethoven} & \raisebox{1.5ex}{5}& hard &8 & $-8$ & 2 & 8 & $-8$ & $-8$ & 6 \\[1ex]
% Entering 3rd row
& & soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \\[-1ex] \raisebox{1.5ex}{Metallica} & \raisebox{1.5ex}{5}& hard &4 & $-8$ & 8 & 4 & $-8$ & $-8$ & 8 \\[1ex]
% [1ex] adds vertical space
\hline % inserts single-line
\end{tabular}
\label{tab:PPer}
\end{table}
.
Referência: Documentação do PANDOC - Variables for Beamer slides
.
Referência: Documentação PANDOC - Frame Attributes
.
-
INCREMENTAL Referência: Documentação do PANDOC - Incremental lists
## ::: incremental ::: incremental - Eat spaghetti - Drink wine :::
-
SIMPLES
## {.plain} .# Agradecimentos {.plain}
-
RESSALTAR
## {.standout} .# Agradecimentos {.standout}
-
Marcar item para que NÃO SEJAM NUMERADOS:
## {.unnumbered} .# Referências Bibliográficas {.unnumbered}
-
Marcar o texto para FRACIONAR em vários slides.
## {.allowframebreaks} .# Conceitos {.allowframebreaks}
-
Marcadores de MODIFICAÇÃO:
{.width="10%"} {.height=10%} {align=center}
.
-
LINKS:
[Texto de referência](URL) Ex.: [Link para o site do Pandoc](https://www.pandoc.org)
Resultado:
-
IMAGENS:
{dimensões} {width=10%}
Resultado:
.
-
REFERÊNCIA BIBLIOGRÁFICA:
Referência: Documentação do PANDOC - Conference Papers, Published vs. Unpublished
[@Kant2002, p. 22] @Kant2002 [p. 22]
Resultado: [@Kant2002, p22]
.
-
PLACEMENT OF THE BIBLIOGRAPHY If the style calls for a list of works cited, it will be placed in a div with id refs, if one exists:
::: {#refs} :::
.
-
NOTA DE RODAPÉ:
Na Crítica da Razão Pura[^crp], escrita por Kant [...] [^crp]: Primeiro livro da fase crítica de Kant.
.
-
DEFINIÇÕES DE TERMOS:
Term 1: : Definition 1 text wich can span more than one line to complete. Term 2: : Definition 2 text wich can span more than one line to complete.
.
-
EQUAÇÕES MATEMÁTICAS (SINTAXE DO LATEX):
$f(x) = 2sin(x)+2cos(x)$ $$ s_{N}(x) = \sum_{n=-N}^{N} c_{n} e^{i\frac{2\pi n x}{P}} $$
Resultado:
-
Equação inserido na mesma linhas$f(x) = 2sin(x)+2cos(x)$ do texto.
-
Neste exemplo, a equação está centralizada: $$ s*{N}(x) = \sum*{n=-N}^{N} c_{n} e^{i\frac{2\pi n x}{P}} $$
$$\nabla \times \mathbf{E} =-\frac{\partial \mathbf{B}}{\partial t} \ \mathrm{and} \ \nabla \times \mathbf{H} =\mathbf{J} +\frac{\partial \mathbf{D}}{\partial t}$$
-
.
- COMANDO DE TECLADO: ctrl+c
<kbd> ctrl+c </kbd>
.
- CAIXA DE MARCAR (sybol):
- [ ] text 1
- [x] text 2
- [ ] text 3
Resultado:
- text 1
- text 2
- text 3