My Math Forum Some Latex Commands
 User Name Remember Me? Password

 New Users Post up here and introduce yourself!

September 11th, 2011, 06:50 PM   #21
Global Moderator

Joined: Dec 2006

Posts: 19,546
Thanks: 1754

Quote:
 Originally Posted by MarkFL I prefer exponents to be smaller using the \tiny{x} and \small{x} commands . . . However, sometimes and seemingly arbitrarily, this makes the rest of the expression smaller too
The effect of such markup as \tiny and \small doesn't persist if you wrap it in braces. For example, x^{\small2} is fine.

September 11th, 2011, 07:29 PM   #22
Senior Member

Joined: Jul 2010
From: St. Augustine, FL., U.S.A.'s oldest city

Posts: 12,204
Thanks: 511

Math Focus: Calculus/ODEs
Re:

Quote:
Originally Posted by skipjack
Quote:
 Originally Posted by MarkFL I prefer exponents to be smaller using the \tiny{x} and \small{x} commands . . . However, sometimes and seemingly arbitrarily, this makes the rest of the expression smaller too
The effect of such markup as \tiny and \small doesn't persist if you wrap it in braces. For example, x^{\small2} is fine.
Thanks for that very useful tip!

 October 17th, 2011, 09:53 PM #23 Math Team   Joined: Dec 2006 From: Lexington, MA Posts: 3,267 Thanks: 407 Re: Some Latex Commands Discovered this by accident . . . I often use \bigg[ and \bigg] for oversized brackets. [color=beige]. . [/color]\bigg[ (3x)^2 + 7 \bigg] produces:[color=beige] .[/color]$\bigg[(3x)^2+7\bigg]$ I found that \big[ and \big] will produce:[color=beige] .[/color]$\big[(3x)^2+7\big]$ Hence, f\big(g(x)\big) will produce:[color=beige] .[/color]$f\big(g(x)\big)$ [color=beige]. . [/color]And I like the subtler difference in sizes.
 October 18th, 2011, 05:29 AM #24 Global Moderator     Joined: Nov 2006 From: UTC -5 Posts: 16,046 Thanks: 938 Math Focus: Number theory, computational mathematics, combinatorics, FOM, symbolic logic, TCS, algorithms Re: Some Latex Commands I usually use \left and \right and have (the fake) LaTeX work out the sizes for me.
 November 1st, 2011, 08:43 PM #25 Member     Joined: Jun 2011 From: California Posts: 82 Thanks: 3 Math Focus: Topology Re: Some Latex Commands In addition to the command you listed for rightarrow, you can also use the command \Rightarrow (with the first letter capitalized) for the double-shafted arrow used for "implies." So if you want to write that $P \Rightarrow Q$, your command is P \Rightarrow Q.
 November 1st, 2011, 08:45 PM #26 Member     Joined: Jun 2011 From: California Posts: 82 Thanks: 3 Math Focus: Topology Re: Some Latex Commands I love $\LaTeX$! It's definitely a skill worth picking up. It's so much nicer and more professional than Microsoft Word. I've only taught lower division and developmental math, but I use $\LaTeX$ for all of my handouts, syllabi, and tests/quizzes! I even use it for alot of my word processing!
 January 10th, 2012, 02:02 PM #27 Math Team   Joined: Dec 2006 From: Lexington, MA Posts: 3,267 Thanks: 407 Re: Some Latex Commands I am very anal about spacing . . . [color=beige]. . [/color]4\sin^2(3theta)[color=beige] . . . . . [/color]$4\sin^2(3\theta)$ [color=beige]. . [/color]4[color=red]\,\![/color]\sin^2(3\theta)[color=beige] . . [/color]$4\,\!\sin^2(3\theta)$ [color=beige]. . [/color]\ln(x^3)[color=beige] . . . . [/color]$\ln(x^3)$ [color=beige]. . [/color]3\ln(x) [color=beige] . . . . .[/color]$3\ln(x)$ [color=beige]. . [/color]3[color=red]\,\![/color]\ln(x) [color=beige] . . [/color]$3\,\!\ln(x)$ [color=beige]. . [/color]x\sqrt{x^2-2x-3} [color=beige]. . . . . . . . [/color]$x\sqrt{x^2-2x-3}$ [color=beige]. . [/color]x[color=red]\,[/color]\sqrt{x^2[color=red]\,[/color]-[color=red]\,[/color]2x[color=red]\,[/color]-[color=red]\,[/color]3} [color=beige]. . [/color]$x\,\sqrt{x^2\,-\,2x\,-\,3}$
 February 12th, 2012, 06:19 AM #28 Global Moderator     Joined: Oct 2008 From: London, Ontario, Canada - The Forest City Posts: 7,860 Thanks: 1080 Math Focus: Elementary mathematics and beyond Re: Some Latex Commands Does anyone know how to format polynomial long division in LaTeX?
February 13th, 2012, 04:25 PM   #29
Math Team

Joined: Dec 2006
From: Lexington, MA

Posts: 3,267
Thanks: 407

Re: Some Latex Commands

Hello, greg1313!

Quote:
 Does anyone know how to format polynomial long division in LaTeX?

I tried a number of techniques and could not get the expressions to line up,
[color=beige]. . [/color]nor could I control the underlining.

So I developed this very clunky format . . . using \begin{array}

$\begin{array}{ccccccccc}
&&&& x^2 & - & 5x & - & 6 \\
&& -- & -- & --- & -- & --- & -- & -- \\
x-2 & | & x^3 & - & 7x^2 & + & 4x & + & 12 \\
&& x^3 & - & 2x^2 \\
&& -- & -- & --- \\
&&&& -5x^2 & + & 4x \\
&&&& -5x^2 & + & 10x \\
&&&& --- & -- & -- \\
&&&&&& -6x & + & 12 \\
&&&&&& -6x & + & 12 \\
&&&&&& --- & -- & --
\end{array}$

I chart it out on a grid.
Every term and sign gets its own space, except the divisor.
Then I count the blank spaces that are needed.

The code looks like this.
[Maybe some of you have the stamina to read through it?]

[latex ]\begin{array}{ccccccccc}
&&&& x^2 & - & 5x & - & 6 \\
&& -- & -- & --- & -- & --- & -- & -- \\
x-2 & | & x^3 & - & 7x^2 & + & 4x & + & 12 \\
&& x^3 & - & 2x^2 \\
&& -- & -- & --- \\
&&&& -5x^2 & + & 4x \\
&&&& -5x^2 & + & 10x \\
&&&& --- & -- & -- \\
&&&&&& -6x & + & 12 \\
&&&&&& -6x & + & 12 \\
&&&&&& --- & -- & --
\end{array}[/latex]

 March 21st, 2012, 06:21 PM #30 Math Team   Joined: Nov 2010 From: Greece, Thessaloniki Posts: 1,989 Thanks: 133 Math Focus: pre pre pre pre pre pre pre pre pre pre pre pre calculus Re: Some Latex Commands [color=#000000]Taken from one of my posts. Soroban has done a good job too! [/color] $\begin{tabular}{c c c cccc| c } 6x^3 & - & x^2 &-& 4x&-& 1 & x+\frac{1}{3}\\\hline -6x^3 & -& 2x^2 &&&&& 6x^2-3x-3\\ &-&3x^2&-&4x&-&1& \\ &&3x^2&+& x&&&\\&&&-&3x&-&1&\\&&&&3x&+&1&\\&&&&&&\fbox{0}&\\ \end{tabular}$ $\hspace{175pt}\rule{1pt}{50pt}\\\hspace{175pt}\dot s\,\dots>\;residue\; zero$ Code: $\begin{tabular}{c c c cccc| c } 6x^3 & - & x^2 &-& 4x&-& 1 & x+\frac{1}{3}\\ \hline -6x^3 & -& 2x^2 &&&&& 6x^2-3x-3\\ &-&3x^2&-&4x&-&1& \\ &&3x^2&+& x&&&\\ &&&-&3x&-&1&\\ &&&&3x&+&1&\\ &&&&&&\fbox{0}&\\ \end{tabular}$ $\hspace{175pt}\rule{1pt}{50pt}\\\hspace{175pt}\dots\,\dots>\;residue\; zero$ .

 Tags commands, latex

### My Maths Commands

Click on a term to search for related topics.
 Thread Tools Display Modes Linear Mode

 Similar Threads Thread Thread Starter Forum Replies Last Post rayman Real Analysis 2 October 14th, 2013 02:30 AM mathkid New Users 12 November 15th, 2012 08:01 PM soroban LaTex Help 1 June 27th, 2012 01:29 PM sivela Calculus 1 April 26th, 2010 04:53 PM Infinity LaTex Help 15 January 13th, 2007 08:21 PM

 Contact - Home - Forums - Cryptocurrency Forum - Top