banner



How To Make Math Formula Normal Size Latex

GeoGebra utilize JLaTeXMath (a powerful ally) to prove mathematical formulas (text and symbols) using LaTeX. The first thing to remember is that LaTeX works in two modes text fashion and math mode. Enter text must be in text fashion and writing mathematical in math mode. By default when checking the box "LaTeX formula" that enters math fashion(font in italic), if nosotros enter text (roman font) must switch to text mode past typing:\text{text text text}or \mbox{text text text}

Fonts

Font size

The size of the fonts can be changed globally with the post-obit commands:

\tiny \scriptsize \footnotesize \pocket-size \normalsize
\large \Large \Big \huge \Huge

The command \normalsize back font to its original size. If you desire to combine unlike font sizes should add the commands in braces {...}. This is an case of combination of sizes in math fashion:

Example: {\scriptsize A}{\footnotesize B}{\small C}{\normalsize D}{\large East}{\Large F}{\LARGE M}{\huge H}{\Huge I} LTX1.PNG

This is an example of combination of sizes in text/math manner using \oldstylenums{ ...} command (just math fashion):

Example: \text{{\Huge GeoGebra}, the virtually powerful, {\small since }}\oldstylenums{ 2001-2012} LTX2.PNG

We can also use the control in text/math mode:\scalebox{h_scale}[v_scale]{...} where {h_scale} is a positive(negative) number (mandatory) and [v_scale] is a positive number (optional), numbers tin be sliders.

Example: \scalebox{2}{\text{{\Huge GeoGebra}, the most powerful, {\pocket-sized since }}\oldstylenums{ 2001-2012}} LTX3.PNG

Font Family

In text manner we have the post-obit families of text, we can employ globally or using braces {...}: \rm or {\rm } \sf or {\sf } \tt or {\tt } This is an instance:

Example: \text{{\rm GeoGebra}{\sf ,the most powerful}, {\tt since }}\oldstylenums{ 2001-2012} LTX4.PNG

In math mode we take the following families (default mathrm):

\mathcal{ABC} \mathrm{abc} \mathbf{abc} \mathsf{abc} \mathit{abc}
\mathtt{abc} \mathfrak{abc} \mathbb{ABC} \mathscr{ABC}

Example: \mathbb{G}\mathfrak{e}\mathbf{o}\mathsf{G}\mathscr{East}\mathtt{b}\mathit{r}\mathrm{a}
LTX5.PNG

Font Series

For text mode use \bf or {\bf ...} and for math mode use \mathbf{...},

Instance: \text{\bf GeoGebra }\mathbf{\sqrt{2012^{two}}}
LTX6.PNG

Font Shapes

For Modest Caps in text mode apply:\text{{\sc GeoGebra} or \textsc{GeoGebra}

Quotation marks

Direct quotes "..." is a special grapheme for GeoGebra, should never exist used straight in LaTeX. For a single quotation marks in text mode use: \text{'Elementary'} and for double quotation marks utilize:\text{''Doble''} For more info come across http://www.geogebra.org/forum/viewtopic.php?f=8&t=20512&p=77283&hilit=quotes#p77283

Horizontal space.

For a unmarried spaced in text mode utilise the space bar for other spaces we have the following commands:\quad \qquad \hspace{...} The command \hspace{...} (and \quad, \qquad also bachelor in math mode) supports the following units of measurement (positive and negative) :

pt bespeak (1 in = 72.27 pt) pc pica (1 pc = 12 pt)
in inch (1 in = 25.four mm) bp big point (1 in = 72 bp)
cm centimetre (1 cm = 10 mm) mm millimetre
dd didot betoken (1157 dd = 1238 pt) sp scaled point (65536 sp = 1 pt)

In math mode we have the following commands:

\, a small infinite \: a medium space \; a large space \! a negative space (moves things dorsum to the left)

Boxes and Color (In both modes)

Text and Math in Colour

The colors supported directly by JLaTeXMath can be constitute in http://en.wikibooks.org/wiki/LaTeX/Colors#The_68_standard_colors_known_to_dvips you lot can use the command:\textcolor{color}{...}

Example: \text{\textcolor{WildStrawberry}{Geo}\textcolor{blue}{G}\textcolor{red}{ebra}}\,\textcolor{greenish}{\oldstylenums{4.2}
LTX7.PNG

Adding Colors

If you need to create new color, you lot can use the command: \definecolor{mycolour}{rgb}{a,b,c} the numbers a, b and c must be between 0 and 1, tin be a slider, for example:

Example:
\definecolor{a}{rgb}{0.63,0.39,0.17}
\definecolor{b}{rgb}{0.63,0.17,0.39}
\definecolor{c}{rgb}{0.39,0.63,0.17}
\definecolor{d}{rgb}{0.39,0.17,0.63}
\definecolor{e}{rgb}{0.17,0.63,0.39}
\definecolor{f}{rgb}{0.17,0.39,0.63}
\text{\textcolor{a}C\textcolor{b}O\textcolor{c}L\textcolor{d}O\textcolor{east}U\textcolor{f}R}
LTEX7a.PNG

Frame Boxes

For simple frame boxes (no colors) use :\boxed{2012\text{ is at present!} or\fbox{2012\text{ is now!}

Color Boxes

A. For a color box (same colour in border and background) apply:\colorbox{reddish}{2012\text{ is now!} B. For a color box (diferent color in border and groundwork) use:\fcolorbox{blue}{red}{2012\text{ is now!}

Rotate Boxes

If you demand to rotate a box (or whatever) use:\rotatebox{angle}{...}

Example: \rotatebox{45}{\fcolorbox{bluish}{cherry}{2012\text{ is at present!}}
LTX8.PNG

Reflect Boxes

If you demand to reverberate a box (or any) use:\reflectbox{...}

Example: \reflectbox{\fcolorbox{blue}{crimson}{2012\text{ is now!}}
LTX9.PNG

Phantom Boxes

Sometimes it is necessary to have these phantom boxes,for systems, command the pinnacle nether a root, alignment on a formula, etc. It has these three commands:

\phantom{Xxx} infinite as broad and loftier as 3 X'south
\hphantom{XXX} space every bit broad every bit three 10's; top 0
\vphantom{X} space of width 0, height = height of X

Example: \sqrt{b}+\sqrt{\vphantom{b}a}
LTXa.PNG

I remember that's all for at present, in the futurity (if I have time) will write a niggling about tables and matrices. JLaTeXMath supports many mathematical environments (whitout *) I recommend reading Curt Math Guide for LATEX ftp://ftp.ams.org/ams/physician/amsmath/curt-math-guide.pdf If other forum users wish to contribute with examples (math environments) would exist swell.

LATEX environment

JLaTeXMath provides a number of dissimilar environments work. Each environment begins and ends in the same manner. \begin{surroundings}[options]<br/> ...<br/> \end{surround} The following environments are supported:

• tabular • array • matrix (and variants) • eqnarray
• align • cases • split • multline

Tabular and Array

The tabular and assortment environment found in similar mode, can exist used to typeset material with optional horizontal and vertical lines. The options are:

l left-justified column c centered cavalcade r correct-justified column
| vertical line || double vertical line & column separator
\\ start new row \hline|| horizontal line

Example:
\begin{tabular}{| l |c ||r |}
\hline
1 & ii & iii \\ \hline
four & 5 & 6 \\ \hline
seven & 8 & 9 \\
\hline
\end{tabular}
LTEX1.PNG

Other example , using \multicolumn and array:

Case:
\begin{array}{|c|c|}
\hline
\multicolumn{2}{|c|}{\text{Title}} \\
\hline
10 & y\\ \hline
a & b\\
c & c\\
d & e\\ \hline
\end{array}
LTEX2.PNG

If y'all need add together column separator (+ for example) and space (1cm), use @{\hspace{1cm}+\hspace{1cm}}:

Instance:
\brainstorm{tabular}{r@{\hspace{1cm}+\hspace{1cm}}l}
1 & 23 \\
45 & 678\\
910& 1112\\
\end{tabular}
LTEX3.PNG

Matrix

A bones matrix may be created using the matrix environment, the structures is like to table-array , entries are specified by row, with columns separated using & and a new rows separated with \\. Matrices are commonly enclosed in delimiters (default none) of some kind, and while it is possible to use the \left and \right commands. The predefined environments which automatically include delimiters:

pmatrix ( ) bmatrix [ ] Bmatrix { }
vmatrix | | Vmatrix || ||

Example:
$\mathsf{A}_{m,north} =
\begin{Vmatrix}
a_{1,1} &a_{one,2} &\cdots &a_{1,n} \\
a_{2,1} &a_{2,two} &\cdots &a_{two,n} \\
\vdots & \vdots & \ddots &\vdots \\
a_{m,ane} &a_{1000,2} &\cdots &a_{m,north}
\end{Vmatrix}$
LTEX4.PNG

Small Matrix

Sometimes y'all demand to write a matrix within text, for this environment take smallmatrix, this works the aforementioned way the matrix surround, for instance:

Example:
\mathsf{M} =
\left\{ \begin{smallmatrix}
a&b\\ c&d
\cease{smallmatrix} \right\}
LTEX5.PNG

Eqnarray

This environment is designed to write multiline equations or equations that exceed the width of line, information technology behaves like an assortment of three columns where the Vrst aligned right, eye second and 3rd left. The equations we want to present in this way must be enclosed between \begin{eqnarray} and \end{eqnarray}, an example:

Example:
\begin{eqnarray}
y &=& (x+1)^2 \\
&=& x^2+2x+one
\end{eqnarray}
LTEX6.PNG

Marshal

Like eqnarray, simply more powerful, you can insert text betwixt lines with the command \intertext{...}, for case:

Example:
\begin{align}
10+y-z &= 1\\
x-y+z &= 1\\
\intertext{text}
2x\hphantom{-y}+z &= one
\terminate{align}
LTEX7.PNG

Cases

For piece wise function or definitions use cases environment:

Instance:
\left\vert ten\right\vert =
\brainstorm{cases}
\hphantom{-}ten &,\, \text{if }10\geq 0 ,\\
-ten&,\, \text{if }10<0
\end{cases}
LTEX8.PNG

Split

For split long math cake

Example:
\begin{split}
a& =b+c-d\\
& \quad +due east-f\\
& =yard+h\\
& =i
\stop{split}
LTEX9.PNG

Multline

For multiple lines of math

Instance:
\begin{multline}
\left(a+b+c+d+east\right)^two=a^2+b^two+c^two+d^2+e^two\\
+2ab+2ac+2ad+2ae+2bc+2bd+2be+2cd+2ce+2de
\cease{multline}
LTEXa.PNG

How To Make Math Formula Normal Size Latex,

Source: https://wiki.geogebra.org/en/Comments:LaTeX-tips_font_size_color_box_and_math

Posted by: prestonhowas1950.blogspot.com

0 Response to "How To Make Math Formula Normal Size Latex"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel