LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula -...
Transcript of LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula -...
![Page 1: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/1.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
LATEX without tears: Segunda Aula1
- Carolina Blasio -
3-6 de junho de 2013 APOGEEU, FEEC/UNICAMP
Bolsista CNPq de doutorado em Filosoa-IFCH/UNICAMP
1Este trabalho está licenciado sob uma Licença Creative Commons Atribuição-NãoComercial-Sem
Derivados 3.0
![Page 2: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/2.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambientes
Para continuarmos nosso curso precisamos entender que o
LATEX trabalha com ambientes. Estes são denidos da
seguinte maneira:
\beginnomedoambiente
...
\endnomedoambiente
Já conhecemos um dos mais importantes ambientes:
\begindocument
...
\enddocument
Veremos agora os principais ambientes do LATEX.
![Page 3: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/3.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambientes
Para continuarmos nosso curso precisamos entender que o
LATEX trabalha com ambientes. Estes são denidos da
seguinte maneira:
\beginnomedoambiente
...
\endnomedoambiente
Já conhecemos um dos mais importantes ambientes:
\begindocument
...
\enddocument
Veremos agora os principais ambientes do LATEX.
![Page 4: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/4.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambientes
Para continuarmos nosso curso precisamos entender que o
LATEX trabalha com ambientes. Estes são denidos da
seguinte maneira:
\beginnomedoambiente
...
\endnomedoambiente
Já conhecemos um dos mais importantes ambientes:
\begindocument
...
\enddocument
Veremos agora os principais ambientes do LATEX.
![Page 5: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/5.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Listas: itemize, enumerate e description
itemize
\beginitemize
\item itemize é um ambiente
que:
\beginitemize
\item marca itens;
\item cria uma lista;
\enditemize
\item[*] e ainda posso mudar
o marcador!
\enditemize
itemize é um ambienteque:
marca itens;cria uma lista;
* e ainda posso mudar omarcador!
![Page 6: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/6.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Listas: itemize, enumerate e description
enumerate
\beginenumerate
\item enumerate é um ambiente
que:
\beginitemize
\item enumera itens;
\item cria uma lista;
\enditemize
\item mas não mudo
o marcador!
\item item 3!
\endenumerate
1 enumerate é um ambienteque:
enumera itens;cria uma lista;
2 mas não mudo omarcador!
3 item 3!
![Page 7: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/7.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Listas: itemize, inumerate e description
description
\begindescription
\item[description] é um ambiente
que:
\beginenumerate
\item descreve itens;
\item cria uma lista;
\endenumerate
\item[marcador] e ainda escrevo
meu marcador!
\enddescription
description é um ambiente que:
1 descreve itens;2 cria uma lista;
marcador e ainda escrevo meumarcador!
![Page 8: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/8.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Alinhamento de texto
\beginflushleft
Este texto é alinhado\\ à
esquerda.\\ O \LaTeX\ não mantém
as linhas com o mesmo tamanho.
\endflushleft
Este texto é alinhadoà esquerda.O LATEX não mantém as linhascom o mesmo tamanho.
\beginflushright
Este texto é alinhado\\ à
direita. O \LaTeX\ não mantém
as linhas com o mesmo tamanho.
\endflushright
Este texto é alinhadoà direita. O LATEX não mantém
as linhas com o mesmotamanho.
\begincenter
Este ambiente está\\
centralizado.
\endcenter
Este ambiente estácentralizado.
![Page 9: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/9.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Alinhamento de texto
\beginflushleft
Este texto é alinhado\\ à
esquerda.\\ O \LaTeX\ não mantém
as linhas com o mesmo tamanho.
\endflushleft
Este texto é alinhadoà esquerda.O LATEX não mantém as linhascom o mesmo tamanho.
\beginflushright
Este texto é alinhado\\ à
direita. O \LaTeX\ não mantém
as linhas com o mesmo tamanho.
\endflushright
Este texto é alinhadoà direita. O LATEX não mantém
as linhas com o mesmotamanho.
\begincenter
Este ambiente está\\
centralizado.
\endcenter
Este ambiente estácentralizado.
![Page 10: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/10.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Alinhamento de texto
\beginflushleft
Este texto é alinhado\\ à
esquerda.\\ O \LaTeX\ não mantém
as linhas com o mesmo tamanho.
\endflushleft
Este texto é alinhadoà esquerda.O LATEX não mantém as linhascom o mesmo tamanho.
\beginflushright
Este texto é alinhado\\ à
direita. O \LaTeX\ não mantém
as linhas com o mesmo tamanho.
\endflushright
Este texto é alinhadoà direita. O LATEX não mantém
as linhas com o mesmotamanho.
\begincenter
Este ambiente está\\
centralizado.
\endcenter
Este ambiente estácentralizado.
![Page 11: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/11.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
abstract, quote, comment e verbatim
\beginabstract
Este ambiente foi criado para
fazer os resumos dos artigos
\endabstract
Resumo
Este ambiente foi criadopara fazer os resumosdos artigos
Este é o texto blábláblá...
\beginquote
Este ambiente é útil para
fazer citações nos trabalhos.
\endquote
Esta é a continuação do texto.
Este é o texto blábláblá...
Este ambiente é útil
para fazer citações nos
trabalhos.
Esta é a continuação do texto.
![Page 12: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/12.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
abstract, quote, comment e verbatim
\beginabstract
Este ambiente foi criado para
fazer os resumos dos artigos
\endabstract
Resumo
Este ambiente foi criadopara fazer os resumosdos artigos
Este é o texto blábláblá...
\beginquote
Este ambiente é útil para
fazer citações nos trabalhos.
\endquote
Esta é a continuação do texto.
Este é o texto blábláblá...
Este ambiente é útil
para fazer citações nos
trabalhos.
Esta é a continuação do texto.
![Page 13: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/13.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
abstract, quote, comment e verbatim
É possivel gerar um ambiente para comentário, que possui amesma função do comando %. Para isto é preciso chamar opacote verbatim no preâmbulo:
\usepackageverbatim
Este texto
\begincomment
Aqui eu posso escrevr o
que eu quiser!!!
&%%$#
\endcomment
é compilado!
Este texto é compilado!
![Page 14: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/14.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
abstract, quote, comment e verbatim
\beginverbatim
Este ambiente imprime sem
processar comando algum. O
ambiente mais usado nestes
slides!
\endverbatim
Este ambiente imprime sem
processar comando algum. O
ambiente mais usado nestes
slides!
Comando verbatim
Também é possível escrever no modo verbatim usando o comando\verb=...=.Este comando não delimita os parâmetros com chaves , paraisso use qualquer outro carácter exceto espaço, * e letras.
![Page 15: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/15.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
abstract, quote, comment e verbatim
\beginverbatim
Este ambiente imprime sem
processar comando algum. O
ambiente mais usado nestes
slides!
\endverbatim
Este ambiente imprime sem
processar comando algum. O
ambiente mais usado nestes
slides!
Comando verbatim
Também é possível escrever no modo verbatim usando o comando\verb=...=.Este comando não delimita os parâmetros com chaves , paraisso use qualquer outro carácter exceto espaço, * e letras.
![Page 16: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/16.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambiente tabular
O ambiente tabular é usado para criar belas tabelas:
\begintabular[pos]n de colunas
...
\endtabular
Usamos as letras `l', `c', `r' ou `ptamanho'para cada colunada tabela, elas refere-se ao alinhamento destas: esquerdo,centralizado, direito e justicado de acordo com a dimensãoestabelecida;
Se quisermos separar as colunas por linhas, usamos `|' entre asletras do parâmetro;
O argumento `[pos]' especica o alinhamento vertical databela, use `t', `b' ou `c', para acima, abaixo e centralizado.
![Page 17: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/17.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambiente tabular
O ambiente tabular é usado para criar belas tabelas:
\begintabular[pos]n de colunas
...
\endtabular
Usamos as letras `l', `c', `r' ou `ptamanho'para cada colunada tabela, elas refere-se ao alinhamento destas: esquerdo,centralizado, direito e justicado de acordo com a dimensãoestabelecida;
Se quisermos separar as colunas por linhas, usamos `|' entre asletras do parâmetro;
O argumento `[pos]' especica o alinhamento vertical databela, use `t', `b' ou `c', para acima, abaixo e centralizado.
![Page 18: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/18.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambiente tabular
O ambiente tabular é usado para criar belas tabelas:
\begintabular[pos]n de colunas
...
\endtabular
Usamos as letras `l', `c', `r' ou `ptamanho'para cada colunada tabela, elas refere-se ao alinhamento destas: esquerdo,centralizado, direito e justicado de acordo com a dimensãoestabelecida;
Se quisermos separar as colunas por linhas, usamos `|' entre asletras do parâmetro;
O argumento `[pos]' especica o alinhamento vertical databela, use `t', `b' ou `c', para acima, abaixo e centralizado.
![Page 19: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/19.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambiente tabular
O ambiente tabular é usado para criar belas tabelas:
\begintabular[pos]n de colunas
...
\endtabular
Usamos as letras `l', `c', `r' ou `ptamanho'para cada colunada tabela, elas refere-se ao alinhamento destas: esquerdo,centralizado, direito e justicado de acordo com a dimensãoestabelecida;
Se quisermos separar as colunas por linhas, usamos `|' entre asletras do parâmetro;
O argumento `[pos]' especica o alinhamento vertical databela, use `t', `b' ou `c', para acima, abaixo e centralizado.
![Page 20: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/20.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambiente tabular
Exemplo
\begintabularr||c|l \hline
Nome & Idade & Período \\ \hline\hline
Maria & 18 & 3 \\
José & 33 & 7 \\
Pedro & 51 & 1 \\ \hline
\endtabular
![Page 21: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/21.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambiente tabular
Exemplo
\begintabularr||c|l \hline
Nome & Idade & Período \\ \hline\hline
Maria & 18 & 3 \\
José & 33 & 7 \\
Pedro & 51 & 1 \\ \hline
\endtabular
Nome Idade Período
Maria 18 3
José 33 7
Pedro 51 1
![Page 22: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/22.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambiente tabular
Exemplo
\begintabularr||c|l \hline
Nome & Idade & Período \\ \hline\hline
Maria & 18 & 3 \\
José & 33 & 7 \\
Pedro & 51 & 1 \\ \hline
\endtabular
Note que & separa as colunas, \\ quebra a linha e \hline gerauma linha horizontal.
![Page 23: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/23.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambiente tabular
Exemplo
\begintabularr||c|l \hline
Nome & Idade & Período \\ \hline\hline
Maria & 18 & 3 \\
José & 33 & 7 \\
Pedro & 51 & 1 \\ \hline
\endtabular
Nome Idade Período
Maria 18 3
José 33 7
Pedro 51 1
![Page 24: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/24.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambiente tabular
Além de `|', podemos usar @... na separação de colunas.Este comando cancela todo espaço entre as colunas e substituipelo o que estiver entre as chaves. Útil para alinhar decimais.
\multicolumn junta colunas dentro tabela.
\begintabularc r @, l
Expressão & \multicolumn2cValor \\ \hline
$\pi$ & 3&1415 \\
$\pi^\pi$ & 36&46 \\
$(\pi^\pi)^\pi$ & 8062&7
\endtabular
Expressão Valor
π 3,1415
ππ 36,46
(ππ)π 8062,7
![Page 25: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/25.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambiente tabular
Além de `|', podemos usar @... na separação de colunas.Este comando cancela todo espaço entre as colunas e substituipelo o que estiver entre as chaves. Útil para alinhar decimais.\multicolumn junta colunas dentro tabela.
\begintabularc r @, l
Expressão & \multicolumn2cValor \\ \hline
$\pi$ & 3&1415 \\
$\pi^\pi$ & 36&46 \\
$(\pi^\pi)^\pi$ & 8062&7
\endtabular
Expressão Valor
π 3,1415
ππ 36,46
(ππ)π 8062,7
![Page 26: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/26.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Ambiente tabular
Além de `|', podemos usar @... na separação de colunas.Este comando cancela todo espaço entre as colunas e substituipelo o que estiver entre as chaves. Útil para alinhar decimais.\multicolumn junta colunas dentro tabela.
\begintabularc r @, l
Expressão & \multicolumn2cValor \\ \hline
$\pi$ & 3&1415 \\
$\pi^\pi$ & 36&46 \\
$(\pi^\pi)^\pi$ & 8062&7
\endtabular
Expressão Valor
π 3,1415
ππ 36,46
(ππ)π 8062,7
![Page 27: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/27.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Figuras e Tabelas: Corpos utuantes
Ambiente que não deixa dividir guras/tabelas em diferentespáginas e permitem incluir legenda e rótulo.
Para criar listas de guras e tabelas use: \listoffigures e\listoftables
\beginfigure[parâmetro]
...
\captiontexto %legenda
\labelfig:abc %rótulo
\endfigure
\begintable[parâmetro]
...
\captiontexto %legenda
\labeltab:abc %rótulo
\endtable
Os parâmetros podem ser:
h aqui;
t encima;
b embaixo;
p página especial;
! não considera algunsparâmetros internos.
![Page 28: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/28.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Figuras e Tabelas: Corpos utuantes
Ambiente que não deixa dividir guras/tabelas em diferentespáginas e permitem incluir legenda e rótulo.
Para criar listas de guras e tabelas use: \listoffigures e\listoftables
\beginfigure[parâmetro]
...
\captiontexto %legenda
\labelfig:abc %rótulo
\endfigure
\begintable[parâmetro]
...
\captiontexto %legenda
\labeltab:abc %rótulo
\endtable
Os parâmetros podem ser:
h aqui;
t encima;
b embaixo;
p página especial;
! não considera algunsparâmetros internos.
![Page 29: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/29.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Figuras e Tabelas: Corpos utuantes
Ambiente que não deixa dividir guras/tabelas em diferentespáginas e permitem incluir legenda e rótulo.
Para criar listas de guras e tabelas use: \listoffigures e\listoftables
\beginfigure[parâmetro]
...
\captiontexto %legenda
\labelfig:abc %rótulo
\endfigure
\begintable[parâmetro]
...
\captiontexto %legenda
\labeltab:abc %rótulo
\endtable
Os parâmetros podem ser:
h aqui;
t encima;
b embaixo;
p página especial;
! não considera algunsparâmetros internos.
![Page 30: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/30.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Environments
Figuras e Tabelas
Exemplo:
\begintable[h]
\begintabularcc
Letras & Números \\ \hline
AAA & 123 \\
BBB & 456
\endtabular
captionUma tabela
\labeltab:tab
\endtable
A Tabela~\reftab:tab mostra que...
Letras Números
AAA 123
BBB 456
Tabela 1: Uma tabela
A Tabela 1 mostra que...
![Page 31: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/31.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Para quem precisa digitar comandos e algorítmos em seustrabalhos, o LATEX disponibiliza alguns pacotes bem elegantes.
algorithmicx, algoritmic, algorithm2e.
Você deve escolher apenas um dos ambientes para seutrabalho, pois eles não são compatíveis entre sí!!!
algorithms é um pacote para o ambiente algorithm, quepermite tornar seu algorítmo um objeto utuante, tal como osambientes table e figure.
![Page 32: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/32.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Para quem precisa digitar comandos e algorítmos em seustrabalhos, o LATEX disponibiliza alguns pacotes bem elegantes.
algorithmicx, algoritmic, algorithm2e.
Você deve escolher apenas um dos ambientes para seutrabalho, pois eles não são compatíveis entre sí!!!
algorithms é um pacote para o ambiente algorithm, quepermite tornar seu algorítmo um objeto utuante, tal como osambientes table e figure.
![Page 33: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/33.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Para quem precisa digitar comandos e algorítmos em seustrabalhos, o LATEX disponibiliza alguns pacotes bem elegantes.
algorithmicx, algoritmic, algorithm2e.
Você deve escolher apenas um dos ambientes para seutrabalho, pois eles não são compatíveis entre sí!!!
algorithms é um pacote para o ambiente algorithm, quepermite tornar seu algorítmo um objeto utuante, tal como osambientes table e figure.
![Page 34: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/34.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Para quem precisa digitar comandos e algorítmos em seustrabalhos, o LATEX disponibiliza alguns pacotes bem elegantes.
algorithmicx, algoritmic, algorithm2e.
Você deve escolher apenas um dos ambientes para seutrabalho, pois eles não são compatíveis entre sí!!!
algorithms é um pacote para o ambiente algorithm, quepermite tornar seu algorítmo um objeto utuante, tal como osambientes table e figure.
![Page 35: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/35.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithmicx
É necessário instalar os pacotes algorithms e algorithmicx
No preâmbulo, declare:\usepackagealgorithm,algpseudocode
\beginalgorithmic[1]
\ProcedureEuclid$a,b$\CommentThe g.c.d. of a and b
\State $r\gets a\bmod b$
\While$r\not=0$\CommentWe have the answer if r is 0
\State $a\gets b$
\State $b\gets r$
\State $r\gets a\bmod b$
\EndWhile\labeleuclidendwhile
\State \textbfreturn $b$\CommentThe gcd is b
\EndProcedure
\endalgorithmic
![Page 36: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/36.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithmicx
É necessário instalar os pacotes algorithms e algorithmicx
No preâmbulo, declare:\usepackagealgorithm,algpseudocode
\beginalgorithmic[1]
\ProcedureEuclid$a,b$\CommentThe g.c.d. of a and b
\State $r\gets a\bmod b$
\While$r\not=0$\CommentWe have the answer if r is 0
\State $a\gets b$
\State $b\gets r$
\State $r\gets a\bmod b$
\EndWhile\labeleuclidendwhile
\State \textbfreturn $b$\CommentThe gcd is b
\EndProcedure
\endalgorithmic
![Page 37: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/37.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithmicx
É necessário instalar os pacotes algorithms e algorithmicx
No preâmbulo, declare:\usepackagealgorithm,algpseudocode
\beginalgorithmic[1]
\ProcedureEuclid$a,b$\CommentThe g.c.d. of a and b
\State $r\gets a\bmod b$
\While$r\not=0$\CommentWe have the answer if r is 0
\State $a\gets b$
\State $b\gets r$
\State $r\gets a\bmod b$
\EndWhile\labeleuclidendwhile
\State \textbfreturn $b$\CommentThe gcd is b
\EndProcedure
\endalgorithmic
![Page 38: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/38.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithmicx
É necessário instalar os pacotes algorithms e algorithmicx
No preâmbulo, declare:\usepackagealgorithm,algpseudocode
\beginalgorithmic[1]
\ProcedureEuclid$a,b$\CommentThe g.c.d. of a and b
\State $r\gets a\bmod b$
\While$r\not=0$\CommentWe have the answer if r is 0
\State $a\gets b$
\State $b\gets r$
\State $r\gets a\bmod b$
\EndWhile\labeleuclidendwhile
\State \textbfreturn $b$\CommentThe gcd is b
\EndProcedure
\endalgorithmic
![Page 39: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/39.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithmicx
É necessário instalar os pacotes algorithms e algorithmicx
No preâmbulo, declare:\usepackagealgorithm,algpseudocode
Para o manual consulte: algorithmicx.pdf
![Page 40: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/40.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithmicx
É necessário instalar os pacotes algorithms e algorithmicx
No preâmbulo, declare:\usepackagealgorithm,algpseudocode
Para o manual consulte: algorithmicx.pdf
![Page 41: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/41.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithm
É um ambiente utuante para algorítmos, tal como o figure paraguras e table para tabelas. Usando o exemplo anterior:
\beginalgorithm
\captionEuclids algorithm\labeleuclid
\beginalgorithmic[1]
\ProcedureEuclid$a,b$\CommentThe g.c.d. of a and b
\State $r\gets a\bmod b$
\While$r\not=0$\CommentWe have the answer if r is 0
\State $a\gets b$
\State $b\gets r$
\State $r\gets a\bmod b$
\EndWhile\labeleuclidendwhile
\State \textbfreturn $b$\CommentThe gcd is b
\EndProcedure
\endalgorithmic
\endalgorithm
![Page 42: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/42.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithm
É um ambiente utuante para algorítmos, tal como o figure paraguras e table para tabelas. Usando o exemplo anterior:
\beginalgorithm
\captionEuclids algorithm\labeleuclid
\beginalgorithmic[1]
\ProcedureEuclid$a,b$\CommentThe g.c.d. of a and b
\State $r\gets a\bmod b$
\While$r\not=0$\CommentWe have the answer if r is 0
\State $a\gets b$
\State $b\gets r$
\State $r\gets a\bmod b$
\EndWhile\labeleuclidendwhile
\State \textbfreturn $b$\CommentThe gcd is b
\EndProcedure
\endalgorithmic
\endalgorithm
![Page 43: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/43.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithm
É um ambiente utuante para algorítmos, tal como o figure paraguras e table para tabelas. Usando o exemplo anterior:
para criar uma lista de algorítmos use o comando\listofalgorithms
![Page 44: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/44.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithm
É um ambiente utuante para algorítmos, tal como o figure paraguras e table para tabelas. Usando o exemplo anterior:
para criar uma lista de algorítmos use o comando\listofalgorithms
![Page 45: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/45.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithmic
Similar ao algorithmicx;
necessário instalar o pacote algorithms e declarar nopreâmbulo: \usepackagealgorithm,algorithmic;
este pacote é usado nos documentos IEEE.
\beginalgorithmic
\IF $i\geq maxval$
\STATE $i\gets 0$
\ELSE
\IF $i+k\leq maxval$
\STATE $i\gets i+k$
\ENDIF
\ENDIF
\endalgorithmic
![Page 46: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/46.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithmic
Similar ao algorithmicx;
necessário instalar o pacote algorithms e declarar nopreâmbulo: \usepackagealgorithm,algorithmic;
este pacote é usado nos documentos IEEE.
\beginalgorithmic
\IF $i\geq maxval$
\STATE $i\gets 0$
\ELSE
\IF $i+k\leq maxval$
\STATE $i\gets i+k$
\ENDIF
\ENDIF
\endalgorithmic
![Page 47: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/47.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithmic
Similar ao algorithmicx;
necessário instalar o pacote algorithms e declarar nopreâmbulo: \usepackagealgorithm,algorithmic;
este pacote é usado nos documentos IEEE.
\beginalgorithmic
\IF $i\geq maxval$
\STATE $i\gets 0$
\ELSE
\IF $i+k\leq maxval$
\STATE $i\gets i+k$
\ENDIF
\ENDIF
\endalgorithmic
![Page 48: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/48.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithmic
Similar ao algorithmicx;
necessário instalar o pacote algorithms e declarar nopreâmbulo: \usepackagealgorithm,algorithmic;
este pacote é usado nos documentos IEEE.
\beginalgorithmic
\IF $i\geq maxval$
\STATE $i\gets 0$
\ELSE
\IF $i+k\leq maxval$
\STATE $i\gets i+k$
\ENDIF
\ENDIF
\endalgorithmic
![Page 49: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/49.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithmic
Comandos básicos:
\beginalgorithmic
\STATE text
\IFcondition \STATEtext \ENDIF
\FORcondition \STATEtext \ENDFOR
\FORcondition \TO condition
\STATEtext \ENDFOR
\FORALLcondition> \STATEtext \ENDFOR
\WHILEcondition \STATEtext \ENDWHILE
\REPEAT \STATEtext \UNTILcondition
\LOOP \STATEtext \ENDLOOP
\REQUIRE text
\ENSURE text
\RETURN text
\PRINT text
\COMMENTtext
\AND, \OR, \XOR, \NOT, \TO,
\TRUE, \FALSE
Consulte o manual dos ambientes algorithmic e algorithm emalgorithms.pdf
![Page 50: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/50.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithm2e
Este pacote permite várias customizações!Declare no preâmbulo: \usepackage[opção]algorithm2e
\beginalgorithm[H]
\SetAlgoLined
\KwDatathis text
\KwResulthow to write algorithm with \LaTeX2e
initialization\;
\Whilenot at end of this document
read current\;
\eIfunderstand
go to next section\;
current section becomes this one\;
go back to the beginning of current section\;
\captionHow to write algorithms
\endalgorithm
![Page 51: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/51.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithm2e
Este pacote permite várias customizações!Declare no preâmbulo: \usepackage[opção]algorithm2e
\beginalgorithm[H]
\SetAlgoLined
\KwDatathis text
\KwResulthow to write algorithm with \LaTeX2e
initialization\;
\Whilenot at end of this document
read current\;
\eIfunderstand
go to next section\;
current section becomes this one\;
go back to the beginning of current section\;
\captionHow to write algorithms
\endalgorithm
![Page 52: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/52.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithm2e
Este pacote permite várias customizações!Declare no preâmbulo: \usepackage[opção]algorithm2e
A `opção' usada neste exemplo foi Hhtbp. Para detalhes sobre opacote algorithmic2e consulte: algorithm2e.pdf
![Page 53: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/53.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
Algorithms
Ambientes para Algorítmos
Ambiente algorithm2e
Este pacote permite várias customizações!Declare no preâmbulo: \usepackage[opção]algorithm2e
A `opção' usada neste exemplo foi Hhtbp. Para detalhes sobre opacote algorithmic2e consulte: algorithm2e.pdf
![Page 54: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/54.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Essencial para escrever fórmulas e equações. É necessário declarar opacote \usepackageamsmath
seus ambientes podem ser delimitados da seguinte forma:
$...$ (\beginmath...\endmath)\[...\] (\beginequation*...\endequation*)\beginequation...\endequation
$5+x=3+y$
A equação de segundo grau é
expressa da forma \[ax^2+bx+c=0\]
Por exemplo, a
Equação~(\refeqn:exemplo).
\beginequation\labeleqn:exemplo
2x^2-3x+1=0
\endequation
$x=1$ é uma solução.
5+ x = 3+ y
A equação de segundo grau éexpressa da forma
ax2 + bx + c = 0
Por exemplo, a Equação (1).
2x2 − 3x + 1 = 0 (1)
x = 1 é uma solução.
![Page 55: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/55.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Essencial para escrever fórmulas e equações. É necessário declarar opacote \usepackageamsmath
seus ambientes podem ser delimitados da seguinte forma:
$...$ (\beginmath...\endmath)
\[...\] (\beginequation*...\endequation*)\beginequation...\endequation
$5+x=3+y$
A equação de segundo grau é
expressa da forma \[ax^2+bx+c=0\]
Por exemplo, a
Equação~(\refeqn:exemplo).
\beginequation\labeleqn:exemplo
2x^2-3x+1=0
\endequation
$x=1$ é uma solução.
5+ x = 3+ y
A equação de segundo grau éexpressa da forma
ax2 + bx + c = 0
Por exemplo, a Equação (1).
2x2 − 3x + 1 = 0 (1)
x = 1 é uma solução.
![Page 56: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/56.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Essencial para escrever fórmulas e equações. É necessário declarar opacote \usepackageamsmath
seus ambientes podem ser delimitados da seguinte forma:
$...$ (\beginmath...\endmath)\[...\] (\beginequation*...\endequation*)
\beginequation...\endequation
$5+x=3+y$
A equação de segundo grau é
expressa da forma \[ax^2+bx+c=0\]
Por exemplo, a
Equação~(\refeqn:exemplo).
\beginequation\labeleqn:exemplo
2x^2-3x+1=0
\endequation
$x=1$ é uma solução.
5+ x = 3+ y
A equação de segundo grau éexpressa da forma
ax2 + bx + c = 0
Por exemplo, a Equação (1).
2x2 − 3x + 1 = 0 (1)
x = 1 é uma solução.
![Page 57: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/57.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Essencial para escrever fórmulas e equações. É necessário declarar opacote \usepackageamsmath
seus ambientes podem ser delimitados da seguinte forma:
$...$ (\beginmath...\endmath)\[...\] (\beginequation*...\endequation*)\beginequation...\endequation
$5+x=3+y$
A equação de segundo grau é
expressa da forma \[ax^2+bx+c=0\]
Por exemplo, a
Equação~(\refeqn:exemplo).
\beginequation\labeleqn:exemplo
2x^2-3x+1=0
\endequation
$x=1$ é uma solução.
5+ x = 3+ y
A equação de segundo grau éexpressa da forma
ax2 + bx + c = 0
Por exemplo, a Equação (1).
2x2 − 3x + 1 = 0 (1)
x = 1 é uma solução.
![Page 58: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/58.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Essencial para escrever fórmulas e equações. É necessário declarar opacote \usepackageamsmath
seus ambientes podem ser delimitados da seguinte forma:
$...$ (\beginmath...\endmath)\[...\] (\beginequation*...\endequation*)\beginequation...\endequation
$5+x=3+y$
A equação de segundo grau é
expressa da forma \[ax^2+bx+c=0\]
Por exemplo, a
Equação~(\refeqn:exemplo).
\beginequation\labeleqn:exemplo
2x^2-3x+1=0
\endequation
$x=1$ é uma solução.
5+ x = 3+ y
A equação de segundo grau éexpressa da forma
ax2 + bx + c = 0
Por exemplo, a Equação (1).
2x2 − 3x + 1 = 0 (1)
x = 1 é uma solução.
![Page 59: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/59.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Diferenças entre $ ... $ e \[ ... \]:
$\lim_n\rightarrow\infty\sum_i=1^n1/i$
produz: limn→∞∑n
i=11/i
\[\lim_n\rightarrow\infty\sum_i=1^n\frac1i\]
produz:
limn→∞
n∑i=1
1i
![Page 60: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/60.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Diferenças entre o modo matemático e o modo texto:
Os espaços não são importantes, e quando preciso, devem serespecicados com os comandos \,\quad e\qquad;
Parágrafos não são permitidos: Uma fórmula por parágrafo!
As letras são consideradas nomes de variáveis. Para usar textono modo matemático use \text...
![Page 61: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/61.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Diferenças entre o modo matemático e o modo texto:
Os espaços não são importantes, e quando preciso, devem serespecicados com os comandos \,\quad e\qquad;
Parágrafos não são permitidos: Uma fórmula por parágrafo!
As letras são consideradas nomes de variáveis. Para usar textono modo matemático use \text...
![Page 62: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/62.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Diferenças entre o modo matemático e o modo texto:
Os espaços não são importantes, e quando preciso, devem serespecicados com os comandos \,\quad e\qquad;
Parágrafos não são permitidos: Uma fórmula por parágrafo!
As letras são consideradas nomes de variáveis. Para usar textono modo matemático use \text...
![Page 63: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/63.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Diferenças entre o modo matemático e o modo texto:
Os espaços não são importantes, e quando preciso, devem serespecicados com os comandos \,\quad e\qquad;
Parágrafos não são permitidos: Uma fórmula por parágrafo!
As letras são consideradas nomes de variáveis. Para usar textono modo matemático use \text...
![Page 64: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/64.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Letras gregas:
$\tau \epsilon \chi$ significa `técnica' e `arte' em grego.
$\alpha , \beta , \Gamma$
τεχ signica `técnica' e `arte' em grego.α, β, Γ
![Page 65: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/65.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Subscritos, sobrescritos e Expoentes:
x2 $x^2$
xy2 $x^y^2$
x21
$x_1^2$
x222
2
$x^2^2^2^2$
x253
$x_2_5^3$
![Page 66: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/66.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Frações:
\[a/b+2^1/2\]
a/b + 21/2
\[\fracab+2^\frac1x+1\]
a
b+ 2
1x+1
![Page 67: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/67.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Raíz quadrada:
√x ⇔ x1/2 $\sqrtx \Leftrightarrow x^1/2$
3√2 $\sqrt[3]2$√
x2 +√y $\sqrtx^2+\sqrty$
√[x2 + y2] $\surd[x^2 + y^2]$
![Page 68: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/68.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Outros comandos úteis:\cdot Ψ = v1 · v2 . . . $\Psi = v_1 \cdot v_2 \ldots$
\cdots n! = 1 · 2 · · · · n $n! = 1 \cdot 2 \cdots \cdot n$
\underline 1/3 $\underline\underline1/3$
\overline 0.3 $0.\overline3$
' y ′ = 2x y ′′ = 2 $y'=2x \qquad y''=2$ height
\underbrace e \overbrace:$\underbrace\overbracea+b+c^6 \cdot \overbraced+e+f^9_
\textmeaning of life = 42$
6︷ ︸︸ ︷a + b + c ·
9︷ ︸︸ ︷d + e + f︸ ︷︷ ︸
meaning of life
= 42
![Page 69: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/69.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Outros comandos úteis:\cdot Ψ = v1 · v2 . . . $\Psi = v_1 \cdot v_2 \ldots$
\cdots n! = 1 · 2 · · · · n $n! = 1 \cdot 2 \cdots \cdot n$
\underline 1/3 $\underline\underline1/3$
\overline 0.3 $0.\overline3$
' y ′ = 2x y ′′ = 2 $y'=2x \qquad y''=2$ height
\underbrace e \overbrace:$\underbrace\overbracea+b+c^6 \cdot \overbraced+e+f^9_
\textmeaning of life = 42$
6︷ ︸︸ ︷a + b + c ·
9︷ ︸︸ ︷d + e + f︸ ︷︷ ︸
meaning of life
= 42
![Page 70: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/70.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Integral, produto e somatório:\int
\int_0^\frac12 x^2\mathrmdx \quad
\int\!\!\!\int \sin x\cos y\mathrmdx\mathrmdy
∫ 12
0
x2dx
∫∫sin x cos ydxdy
\sum e \prod
\verb+\sum_i=1^\infty a_i \qquad \prod_\epsilon+
∞∑i=1
ai∏ε
![Page 71: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/71.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Integral, produto e somatório:\int
\int_0^\frac12 x^2\mathrmdx \quad
\int\!\!\!\int \sin x\cos y\mathrmdx\mathrmdy
∫ 12
0
x2dx
∫∫sin x cos ydxdy
\sum e \prod
\verb+\sum_i=1^\infty a_i \qquad \prod_\epsilon+
∞∑i=1
ai∏ε
![Page 72: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/72.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Observe que \int\!\!\!\int produz∫∫e \int\int produz ∫ ∫
![Page 73: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/73.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Fontes matemáticas:
\mathcalC C\mathbbR R\mathbfB B
\mathrmM M
\mathfrakA A
Exemplo de uso:
$\forall x\in\mathbbR:x^2\geq 0$
∀x ∈ R : x2 ≥ 0
![Page 74: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/74.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Fontes matemáticas:
\mathcalC C\mathbbR R\mathbfB B
\mathrmM M
\mathfrakA A
Exemplo de uso:
$\forall x\in\mathbbR:x^2\geq 0$
∀x ∈ R : x2 ≥ 0
![Page 75: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/75.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Igualdades e desigualdades:
= \neq > < \leq \geq
= 6= > < ≤ ≥
![Page 76: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/76.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Acentos em modo matemático:
\hata \gravea \bara \checka
a a a a
\dota \veca \brevea \widetildea
a ~a a a
\tildea \ddota \widehata \acutea
a a a a
![Page 77: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/77.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Vetores:
\vec a ~a
\overrightarrowAB−→AB
\overleftarrowAB←−AB
![Page 78: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/78.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Coecientes binomiais:Use o comando \binom
Pascal's rule is
\[ \binomnk = \binomn-1k + \binomn-1k-1 \]
Pascal's rule is (n
k
)=
(n − 1k
)+
(n − 1k − 1
)
![Page 79: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/79.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Delimitadores:Usa-se \left e \right para determinar o lado dos delimitadores.Assim o tamanho será calculado automaticamente.
x+\left(\frac1x+1\right)^3
x +
(1
x + 1
)3
É possível especicar o tamanho usando os comandos\big, \Big, \bigg, \Bigg, exemplo:
\Big((x+1)(x-1)\Big)^2
((x + 1)(x − 1)
)2
![Page 80: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/80.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Delimitadores:Usa-se \left e \right para determinar o lado dos delimitadores.Assim o tamanho será calculado automaticamente.
x+\left(\frac1x+1\right)^3
x +
(1
x + 1
)3
É possível especicar o tamanho usando os comandos\big, \Big, \bigg, \Bigg, exemplo:
\Big((x+1)(x-1)\Big)^2
((x + 1)(x − 1)
)2
![Page 81: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/81.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
( \big( \Big( \bigg( \Bigg(
\big\ \Big\ \bigg\ \Bigg\
| \big\| \Big\| \bigg\| \Bigg\|
Produz:
(((((
||∥∥∥∥∥∥∥∥∥
∥∥∥∥∥
![Page 82: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/82.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático
Alinhamento de equações:Os ambientes eqnarray (enumerado) e eqnarray* (nãoenumerado) produzem um tipo de array com três colunas:
\begineqnarray
f(x) & \leq & x^2 \\
f'(x) & = & 2x \\
\int_0^x f(y)\mathrmdy & = & \fracx^33
\endeqnarray
f (x) ≤ x2 (2)
f ′(x) = 2x (3)∫ x
0
f (y)dy =x3
3(4)
![Page 83: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/83.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático: Arrays e Matrizes
arraySimilar matemático do ambiente tabular
\beginequation*
\mathbfX = \left(
\beginarrayccc
x_1 & x_2 & \ldots \\
x_3 & x_4 & \ldots \\
\vdots & \vdots & \ddots
\endarray \right)
\endequation*
X =
x1 x2 . . .
x3 x4 . . ....
.... . .
![Page 84: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/84.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático: Arrays e Matrizes
array (para funções parciais)Usamos . como um delimitador \right invisível.
\beginequation*
|x| = \left\
\beginarrayll
-x & \textif x < 0, \\
0 & \textif x = 0, \\
x & \textif x > 0.
\endarray \right.
\endequation*
|x | =
−x if x < 0,
0 if x = 0,
x if x > 0.
![Page 85: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/85.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático: Arrays e Matrizes
casesFaz praticamente a mesma coisa que o array para funções parciais!
\beginequation*
|x| =
\begincases
-x & \textif x < 0, \\
0 & \textif x = 0, \\
x & \textif x > 0.
\endcases
\endequation*
|x | =
−x if x < 0,
0 if x = 0,
x if x > 0.
![Page 86: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/86.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático: Arrays e Matrizes
matrix
Além do ambiente array, matrizes possuem um ambiente próprio.
Existem 6 versões com diferentes delimitadores: matrix ,pmatrix (, bmatrix [, Bmatrix , vmatrix | e Vmatrix ||.
\beginequation*
\beginmatrix
1 & 2 \\
3 & 4
\endmatrix \qquad
\beginbmatrix
p_11 & p_12 & \ldots \\
p_21 & p_22 & \ldots \\
\vdots & \vdots & \ddots
\endbmatrix
\endequation*
1 2
3 4
p11 p12 . . .
p21 p22 . . ....
.... . .
![Page 87: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/87.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático: Arrays e Matrizes
matrix
Além do ambiente array, matrizes possuem um ambiente próprio.
Existem 6 versões com diferentes delimitadores: matrix ,pmatrix (, bmatrix [, Bmatrix , vmatrix | e Vmatrix ||.
\beginequation*
\beginmatrix
1 & 2 \\
3 & 4
\endmatrix \qquad
\beginbmatrix
p_11 & p_12 & \ldots \\
p_21 & p_22 & \ldots \\
\vdots & \vdots & \ddots
\endbmatrix
\endequation*
1 2
3 4
p11 p12 . . .
p21 p22 . . ....
.... . .
![Page 88: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/88.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Ambiente Matemático: Arrays e Matrizes
matrix
Além do ambiente array, matrizes possuem um ambiente próprio.
Existem 6 versões com diferentes delimitadores: matrix ,pmatrix (, bmatrix [, Bmatrix , vmatrix | e Vmatrix ||.
\beginequation*
\beginmatrix
1 & 2 \\
3 & 4
\endmatrix \qquad
\beginbmatrix
p_11 & p_12 & \ldots \\
p_21 & p_22 & \ldots \\
\vdots & \vdots & \ddots
\endbmatrix
\endequation*
1 2
3 4
p11 p12 . . .
p21 p22 . . ....
.... . .
![Page 89: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/89.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Lista de símbolos
Letras Gregasα \alpha
β \beta
γ \gamma
δ \delta
ε \epsilon
ε \varepsilon
ζ \zeta
η \eta
% \varrho
σ \sigma
ς \varsigma
τ \tau
υ \upsilon
φ \phi
ϕ \varphi
χ \chi
ψ \psi
ω \omega
θ \theta
ϑ \vartheta
ι \iota
κ \kappa
λ \lambda
µ \mu
ν \nu
ξ \xi
π \pi
$ \varpi
ρ \rho
Γ \Gamma
∆ \Delta
Θ \Theta
Λ \Lambda
Ξ \Xi
Π \Pi
Σ \Sigma
Υ \Upsilon
Φ \Phi
Ψ \Psi
Ω \Omega
![Page 90: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/90.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Lista de símbolos
Operações e Relações
± \pm
∓ \mp
× \times
÷ \div
∗ \ast
? \star
\circ
• \bullet
∩ \cap
∪ \cup
] \uplus
u \sqcap
t \sqcup
∨ \vee
∧ \wedge
\ \setminus
![Page 91: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/91.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Lista de símbolos
· \cdot
\diamonda
\bigtriangleup`
\bigtriangledown
/ \triangleleft
. \triangleright
\lhd
\rhd
\unlhd
\unrhd
o \wr
⊕ \oplus
\ominus
⊗ \otimes
\oslash
\odot
© \bigcirc
† \dagger
‡ \ddagger
q \amalg
![Page 92: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/92.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Lista de símbolos
≤ \leq
≺ \prec
\preceq
\ll
⊂ \subset
⊆ \subseteq
< \sqsubset
v \sqsubseteq
∈ \in
3 \ni
a \dashv
≡ \equiv
∼ \sim
' \simeq
\asymp
≈ \approx
∼= \cong
6= \neq
![Page 93: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/93.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Lista de símbolos
` \vdash
≥ \geq
\succ
\succeq
\gg
⊃ \supset
⊇ \supseteq
= \sqsupset
w \sqsupseteq
.= \doteq
∝ \propto
|= \models
⊥ \perp
| \mid
‖ \parallel
./ \bowtie
1 \Join
^ \smile
_ \frown
![Page 94: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/94.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Lista de símbolos
Setas
← \leftarrow
⇐ \Leftarrow
→ \rightarrow
⇒ \Rightarrow
↔ \leftrightarrow
⇔ \Leftrightarrow
7→ \mapsto
← \hookleftarrow
\leftharpoonup
⇐⇒ \Longleftrightarrow
7−→ \longmapsto
→ \hookrightarrow
\rightharpoonup
\rightharpoondown
; \leadsto
↑ \uparrow
⇑ \Uparrow
↓ \downarrow
![Page 95: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/95.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Lista de símbolos
\leftharpoondown
\rightleftharpoons
←− \longleftarrow
⇐= \Longleftarrow
−→ \longrightarrow
=⇒ \Longrightarrow
←→ \longleftrightarrow
⇓ \Downarrow
l \updownarrow
m \Updownarrow
\nearrow
\searrow
\swarrow
\nwarrow
![Page 96: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/96.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Lista de símbolos
Micelânea
ℵ \aleph
~ \hbar
ı \imath
\jmath
` \ell
℘ \wp
< \Re
= \Im
0 \mho
∠ \angle
∀ \forall
∃ \exists
¬ \neg
[ \flat
\ \natural
] \sharp
\ \backslash
∂ \partial
![Page 97: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/97.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Lista de símbolos
′ \prime
∅ \emptyset
∇ \nabla√
\surd
> \top
⊥ \bot
‖ \|
∞ \infty
2 \Box
3 \Diamond
4 \triangle
♣ \clubsuit
♦ \diamondsuit
♥ \heartsuit
♠ \spadesuit
![Page 98: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/98.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Lista de símbolos
Símbolos de tamanho variável∑\sum∏\prod∐\coprod∫\int∮\oint⋂\bigcap⋃\bigcup
⊔\bigsqcup∨\bigvee∧\bigwedge⊙\bigodot⊗\bigotimes⊕\bigoplus⊎\biguplus
![Page 99: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/99.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Lista de funções matemáticas
Os nomes das funções devem ser escritos como as variáveis. Paraisto, o LATEX discponibiliza comandos para as principais funçõesmatemáticas.
\arccos \arcsin \arctan \arg \cos \cosh
\cot \coth \csc \deg \det \dim
\exp \gcd \hom \inf \ker \lg
\lim \liminf \limsup \ln \log \max
\min \Pr \sec \sin \sinh \sup
\tan \tanh
![Page 100: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/100.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Um conjunto de ambiente interessantes: Theorems
Para escrevermos textos matemáticos precisamos de estruturascomo Lemas (Lemmas), Denições (Denitions), Teoremas(Theorems), etc;
é necessário declarar o pacote amsthm
use o comando \newtheoremambienteDefinição[section]
no preâmbulo de seu documento:
ambiente é uma palavra para identicar o ambiente;Definição é o argumento onde você dene o nome de seu
teorema e será impresso em seu documento;[section] parâmetro opcional para imprimir o número da seção
junto ao número do teorema.
para criar teoremas sem numeração use \newtheorem*
![Page 101: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/101.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Um conjunto de ambiente interessantes: Theorems
Para escrevermos textos matemáticos precisamos de estruturascomo Lemas (Lemmas), Denições (Denitions), Teoremas(Theorems), etc;
é necessário declarar o pacote amsthm
use o comando \newtheoremambienteDefinição[section]
no preâmbulo de seu documento:
ambiente é uma palavra para identicar o ambiente;Definição é o argumento onde você dene o nome de seu
teorema e será impresso em seu documento;[section] parâmetro opcional para imprimir o número da seção
junto ao número do teorema.
para criar teoremas sem numeração use \newtheorem*
![Page 102: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/102.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Um conjunto de ambiente interessantes: Theorems
Para escrevermos textos matemáticos precisamos de estruturascomo Lemas (Lemmas), Denições (Denitions), Teoremas(Theorems), etc;
é necessário declarar o pacote amsthm
use o comando \newtheoremambienteDefinição[section]
no preâmbulo de seu documento:
ambiente é uma palavra para identicar o ambiente;Definição é o argumento onde você dene o nome de seu
teorema e será impresso em seu documento;[section] parâmetro opcional para imprimir o número da seção
junto ao número do teorema.
para criar teoremas sem numeração use \newtheorem*
![Page 103: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/103.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Um conjunto de ambiente interessantes: Theorems
Para escrevermos textos matemáticos precisamos de estruturascomo Lemas (Lemmas), Denições (Denitions), Teoremas(Theorems), etc;
é necessário declarar o pacote amsthm
use o comando \newtheoremambienteDefinição[section]
no preâmbulo de seu documento:
ambiente é uma palavra para identicar o ambiente;
Definição é o argumento onde você dene o nome de seuteorema e será impresso em seu documento;
[section] parâmetro opcional para imprimir o número da seçãojunto ao número do teorema.
para criar teoremas sem numeração use \newtheorem*
![Page 104: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/104.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Um conjunto de ambiente interessantes: Theorems
Para escrevermos textos matemáticos precisamos de estruturascomo Lemas (Lemmas), Denições (Denitions), Teoremas(Theorems), etc;
é necessário declarar o pacote amsthm
use o comando \newtheoremambienteDefinição[section]
no preâmbulo de seu documento:
ambiente é uma palavra para identicar o ambiente;Definição é o argumento onde você dene o nome de seu
teorema e será impresso em seu documento;
[section] parâmetro opcional para imprimir o número da seçãojunto ao número do teorema.
para criar teoremas sem numeração use \newtheorem*
![Page 105: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/105.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Um conjunto de ambiente interessantes: Theorems
Para escrevermos textos matemáticos precisamos de estruturascomo Lemas (Lemmas), Denições (Denitions), Teoremas(Theorems), etc;
é necessário declarar o pacote amsthm
use o comando \newtheoremambienteDefinição[section]
no preâmbulo de seu documento:
ambiente é uma palavra para identicar o ambiente;Definição é o argumento onde você dene o nome de seu
teorema e será impresso em seu documento;[section] parâmetro opcional para imprimir o número da seção
junto ao número do teorema.
para criar teoremas sem numeração use \newtheorem*
![Page 106: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/106.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Um conjunto de ambiente interessantes: Theorems
Para escrevermos textos matemáticos precisamos de estruturascomo Lemas (Lemmas), Denições (Denitions), Teoremas(Theorems), etc;
é necessário declarar o pacote amsthm
use o comando \newtheoremambienteDefinição[section]
no preâmbulo de seu documento:
ambiente é uma palavra para identicar o ambiente;Definição é o argumento onde você dene o nome de seu
teorema e será impresso em seu documento;[section] parâmetro opcional para imprimir o número da seção
junto ao número do teorema.
para criar teoremas sem numeração use \newtheorem*
![Page 107: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/107.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Um conjunto de ambiente interessantes: Theorems
Depois de declarar \newtheoremambienteDefinição nopreâmbulo de seu documento, use o novo ambiente no corpodo texto:
\beginambiente
Texto
\endambiente
Produz:
Denição 1. Texto
Os teoremas serão enumerados automaticamente e podem serusados em qualquer parte do documento.
Conra: theorems.pdf
![Page 108: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/108.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Um conjunto de ambiente interessantes: Theorems
Depois de declarar \newtheoremambienteDefinição nopreâmbulo de seu documento, use o novo ambiente no corpodo texto:
\beginambiente
Texto
\endambiente
Produz:
Denição 1. Texto
Os teoremas serão enumerados automaticamente e podem serusados em qualquer parte do documento.
Conra: theorems.pdf
![Page 109: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/109.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Um conjunto de ambiente interessantes: Theorems
proof
Para a demonstração de teoremas existe o ambiente especial proof
\beginproof[Prova por absurdo]
Prova do teorema.
\endproof
Que gera:
![Page 110: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/110.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Templates
Em geral, cada periódico e conferência possui sua própriaformatação padrão e fornece templates para a formatação denosso trabalho;
Os templates fornecidos para LaTeX já possuem toda aconguração e comentários necessários para gerar nossosdocumentos.
Exemplos de Templates
IEEE: clique aqui!
ACM: clique aqui
Vamos tentar?
Já temos condições de criar um documento usando templates!
![Page 111: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/111.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Templates
Em geral, cada periódico e conferência possui sua própriaformatação padrão e fornece templates para a formatação denosso trabalho;
Os templates fornecidos para LaTeX já possuem toda aconguração e comentários necessários para gerar nossosdocumentos.
Exemplos de Templates
IEEE: clique aqui!
ACM: clique aqui
Vamos tentar?
Já temos condições de criar um documento usando templates!
![Page 112: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/112.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Templates
Em geral, cada periódico e conferência possui sua própriaformatação padrão e fornece templates para a formatação denosso trabalho;
Os templates fornecidos para LaTeX já possuem toda aconguração e comentários necessários para gerar nossosdocumentos.
Exemplos de Templates
IEEE: clique aqui!
ACM: clique aqui
Vamos tentar?
Já temos condições de criar um documento usando templates!
![Page 113: LaTeX without tears: Segunda Aula - Carolina Blasio · LA T E X without tears: Segunda Aula - Crolinaa Blasio - LA T E X without tears: Segunda Aula 1 - Carolina Blasio - 3-6 de junho](https://reader034.fdocuments.net/reader034/viewer/2022052519/5f18ffde6470c462f4497781/html5/thumbnails/113.jpg)
LATEX without tears: Segunda Aula - Carolina Blasio -
O ambiente matemático
Templates
Em geral, cada periódico e conferência possui sua própriaformatação padrão e fornece templates para a formatação denosso trabalho;
Os templates fornecidos para LaTeX já possuem toda aconguração e comentários necessários para gerar nossosdocumentos.
Exemplos de Templates
IEEE: clique aqui!
ACM: clique aqui
Vamos tentar?
Já temos condições de criar um documento usando templates!