[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tex-br
Subject:    =?ISO-8859-1?Q?Re:_[TeX-BR]_sugest=E3o_em_equa=E7=E3o?=
From:       "Miguel V. S. Frasson" <mvsfrasson () gmail ! com>
Date:       2005-06-24 2:34:14
Message-ID: 1c01d1b05062319342c5432c3 () mail ! gmail ! com
[Download RAW message or body]

Ola.

Vou falar de pequenos detalhes: em TeX, sinais de relacao (=, <, etc)
ou operadores binarios (+, -, etc) sao formatados de modo especial
quando TeX acha que eles tem uma coisa de cada lado.

Rode

\usepackage{amsmath}
\begin{align}
  x =& -2a_1 + \text{formula imensa} +\\
     & + a_n
\end{align}

Note que o & depois do igual, e o \\ depois do + dao um espacamento
estranho.  O - depois do & estah interpretado como operacao, e nao
sinal do 2.  Para enganar TeX (para seu bem), basta colocar um {} no
lugar certo e tudo se resolve. Compare o resultado com

\begin{align}
  x = {} & {-2} a_1 + \text{formula imensa} + {}\\
         & {} + a_n
\end{align}

No exemplo que o Rubens deu, vemos exatamente isso em todas as linhas.
 Eh que pouca gente nota que isso eh assim.

Tente
\begin{equation}
\begin{split}
\text{\textit{Activity}} = {} &\text{Total organic carbon}+{}\\
 &\text{Litter depth} + \text{Fallen branches} + \text{\textit{Genus}} +{} \\
 &\text{Total organic carbon} : \text{Litter depth} +{}  \\
 &\text{Total organic carbon} : \text{Fallen branches} +{}  \\
 &\text{Litter depth} : \text{Fallen branches} +{} \\
 &\text{et cetera e tal} = \text{nada ;)}
\end{split}\label{eq:test}
\end{equation}

Abraco.

Miguel.

On 6/23/05, Rubens Stuginski Jr <rubens@afrodite.upf.br> wrote:
> Olá Ronaldo:
> 
>     Tente:
> 
> \usepackage{amsmath}
> 
> \begin{equation}
> \begin{split}
> \text{\textit{Activity}} =&\text{Total organic carbon} + \\
>   &\text{Litter depth} + \text{Fallen branches} + \text{\textit{Genus}} + \\
>   &\text{Total organic carbon} : \text{Litter depth} +  \\
>   &\text{Total organic carbon} : \text{Fallen branches} +  \\
>   &\text{Litter depth} : \text{Fallen branches} +  \\
>   &\text{et cetera e tal} = \text{nada ;)}
> \end{split}\label{eq:test}
> \end{equation}
> 
> ou
> 
> \begin{equation}
> \begin{split}
> \text{\textit{Activity}} =&\text{Total organic carbon} + \\
>   +&\text{Litter depth} + \text{Fallen branches} + \text{\textit{Genus}} \\
>   +&\text{Total organic carbon} : \text{Litter depth}   \\
>   +&\text{Total organic carbon} : \text{Fallen branches}   \\
>   +&\text{Litter depth} : \text{Fallen branches}   \\
>   -&\text{et cetera e tal} = \text{nada ;)}
> \end{split}\label{eq:test}
> \end{equation}
> 
>     Eta equaçãozinha...
> 
>        []s,
>           Rubens
-- 
Miguel Vinicius Santini Frasson
mvsfrasson@gmail.com

--
TeX-BR     Homepage: http://biquinho.furg.br/tex-br/

           Para sair da lista mande um mail com unsubscribe
           no corpo para tex-br-request@listas.furg.br
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic