Welcome to Casablanca's Forum
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.

LaTex Style Files + Equation

Go down

LaTex Style Files + Equation Empty LaTex Style Files + Equation

Bài gửi by Admin 17/6/2011, 21:05

LaTex Style Files
1. The European Physical Journal (EPJ)
http://www.epj.org/makro.html
2. LaTeX Style and BiBTeX Bibliography Formats for Biologists:
TeX and LaTeX Resources
http://www-lmmb.ncifcrf.gov/~toms/latex.html

Formule = blabla
= Blablabaaaaaaa
= Blbababkabkab
= Fin.

Equation - Phuong trinh
http://www.grappa.univ-lille3.fr/FAQ-LaTeX/12.4.html
Code:
begin{aligned}
formule&=blabla\\
&=blablo\\
&=bliboum
\end{aligned}

Code:
\begin{flalign*}
 p(A \cup B) & = p(A) + p(B) \\
                    & = 0,55 + 0,60 - 0,25 \\
                    & = 0,9
\end{flalign*}

Code:
Exemple 1 :
\documentclass{report}
\usepackage{french}
\pagestyle{empty}
\renewcommand{\theequation}{\thesection \Alph{equation}}
\begin{document}
\chapter{Systèmes d'équations.}
  \section{À une variable.}
      \begin{eqnarray}
    x + 4 & =  & 0 \\
     x & =  & 3
      \end{eqnarray}
  \section{À deux variables.}
      \begin{eqnarray}
    x + 4 & =  & 0 \\
    8 - y & =  & 0
      \end{eqnarray}
\end{document}
%%%% fin exemple %%%%

Exemple 2 (pour avoir les numéros entre crochets) :
\makeatletter
\renewcommand{\@eqnnum}{{\normalfont\normalcolor\theequation}}
\renewcommand{\theequation}{[\arabic{equation}]}
\makeatother

\begin{document}
      \begin{eqnarray}
    x + 4 & =  & 0 \\
    y - 2 & =  & 0
      \end{eqnarray}
%%%% fin exemple %%%%
Code:
définir un label
par groupe d'équations (4) en plus des labels individuels de
type (4a), (4b), etc.

* La commande \tag{xxx} du package 'amsmath' sous LaTeX2e permet
de personnaliser la numérotation des équations.

Exemple : pour permettre à deux équations d'avoir le même
numéro :
\begin{equation}
  x - y = 0
  \label{equa}
\end{equation}
...
\begin{equation}
  x = y
  \tag{\eqref{equa}}
\end{equation}
%%%% fin exemple %%%%

Remarque : \eqref remplace \ref pour les équations : la fonte
     utilisée est toujours la même (c'est plus beau).

* Les environnements subequations (du package 'amsmath') et
subeqnarray (du package 'subeqnarray') permettent de référencer
différentes lignes d'un même groupe d'équations par des indices
(3.a), (3.b), etc.
+ Sous subequations, une référence à une ligne particulière
s'obtient alors par un \label placé sur cette ligne alors qu'une
référence au système d'équation s'obtient par un \label placé
immédiatement après \begin{subequations}.
(3.a), (3.b), + label

Code:

Exemple :
\begin{subequations} \label{E:gp}
  \begin{gather}
    x_1 x_2 + x_1^2 x_2^2 + x_3 \label{E:gp1} \\
    x_1 x_3 + x_1^2 x_3^2 + x_2 \label{E:gp2} \\
    x_1 x_2 x_3 \label{E:gp3}
  \end{gather}
\end{subequations}
Admin
Admin
Admin

Tổng số bài gửi : 2108
Points : 3774
Reputation : 0
Join date : 25/10/2009
Đến từ : https://casablanca.forumvi.com

https://casablanca.forumvi.com

Về Đầu Trang Go down

Về Đầu Trang

- Similar topics

 
Permissions in this forum:
Bạn không có quyền trả lời bài viết