### Archive

Posts Tagged ‘LaTeX’

## LaTeX – Multiline equations, systems and matrices[zz]

Series on Blogging with LaTeX

This is the 3rd post in the series. Previous ones:

Many of the examples shown here were adapted from the Wikipedia articleDisplaying a formula, which is actually about formulas in Math Markup.

Multiline Equations

You can present equations with several lines, using the array statement. Inside its declaration you must :

• Define the number of columns
• Define column alignment
• Define column indentation
• Indicate column separator with & symbol &

Example: {lcr} means: 3 columns with indentations respectively leftcenter andright

\begin{array}{lcl} z & = & a \\ f(x,y,z) & = & x + y + z \end{array}

$\begin{array}{lcl} z & = & a \\ f(x,y,z) & = & x + y + z \end{array}$

\begin{array}{rcr} z & = & a \\ f(x,y,z) & = & x + y + z \end{array}

$\begin{array}{rcr} z & = & a \\ f(x,y,z) & = & x + y + z \end{array}$

Categories: LaTeX

## Latex字体设置zz

LaTeX的每种字体有5种属性：编码、族，形状，系列和尺寸。

１）形状指的是倾斜和高矮。
\upshape 切换成直立的字体
\itshape 切换成意大利斜体
\slshape 切换成成为 slanted 的斜体
\scshape 切换成小体大写

２）系列是指字体的宽度和权重。权重刻画了笔画的粗细。
\mdseries 切换到中等权重
\bfseries 切换到粗体

\begin{upshape}

\end{upshape}

slanted斜体： \textsl{文本}

Categories: LaTeX Tags: , ,