Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

**JaneFairfax****Member**- Registered: 2007-02-23
- Posts: 6,868

BEFORE:

AFTER:

BEFORE:

AFTER:

Offline

**Ricky****Moderator**- Registered: 2005-12-04
- Posts: 3,791

MathsIsFun, can you enable the cfrac command?

"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,684

If I knew how ... I better start Googling "cfrac", hey?

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman

Offline

**Ricky****Moderator**- Registered: 2005-12-04
- Posts: 3,791

Ah, I thought we could only use latex command that you "approve" (or something of the sort). It should be a standard command... not sure why it doesn't work.

"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,684

Examples of "amsmath package" commands:

For some reason cfrac doesn't work ... why?

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman

Offline

**JaneFairfax****Member**- Registered: 2007-02-23
- Posts: 6,868

You dont need \cfrac. Guess what. I just discovered **\dfrac**!

Does that have the same visual effect as \cfrac?

*Last edited by JaneFairfax (2008-07-09 22:24:05)*

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,684

It looks fine to me. And it gets me off the hook

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman

Offline

**Ricky****Moderator**- Registered: 2005-12-04
- Posts: 3,791

\dfrac is the display style version of \frac. It is equivalent to doing:

\displaystyle \frac{stuff}{stuff}

Display style is meant for mathematical symbols not to be inlined with text. \sum with give you a small summation sign about the size of the line, while \displaystyle \sum will give you a much larger one, which the indicies properly underneath and on top instead of the typical subscript and superscript.

If you aren't having it inline with text, then a good idea is to use \begin{equation} ... \end{equation}. This will not only put you in "displaystyle" mode, but also center everything.

Back on topic... our dfrac is actually cfrac (not sure how that happened...). Take a look at this link.

"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,684

Amazing ... and I don't know why. I just installed the package that was available and it does what it does.

Offline

**cperrin****Member**- Registered: 2009-07-14
- Posts: 1

I am working on a LaTeX project in which I need a weird new symbol called a 'mark' or 'cross'. See http://en.wikipedia.org/wiki/Laws_of_Form to see how it looks and how it is used (hit the link for section 5.5.2 Sentential logic).

I'm looking for something that would act much like the square root sign that can easily be done in LaTeX. That is, the \sqrt{} figures out how high the 'checkmark' part should be and how wide the 'overbar' part should be when it is nested, e.g.

\sqrt{\sqrt{A\sqrt{B}}\sqrt{\sqrt{A}B}}

The 'checkmark' on the left of the \sqrt sign should be a simple vertical bar on the right side, with the 'overbar' part the same. Do I need the CODE that makes the \sqrt{} work like it does so I can modify it to this purpose?

Offline

**soroban****Member**- Registered: 2007-03-09
- Posts: 452

I use **\dfrac** in complex fractions . . .

and **\tfrac** for smaller fractions . . .

. .

Someone showed me how to insert spaces in an array.

A matrix with fractions often looks very crowded:

\begin{pmatrix}

\frac{1}{4} & \frac{3}{4} \\

\frac{2}{3} & \frac{1}{3}

\end{pmatrix}

.

\begin{pmatrix}

\frac{1}{4} & \frac{3}{4} \\ \\[-3mm]

\frac{2}{3} & \frac{1}{3}

\end{pmatrix}

Evidently the \\ adds another line feed

. . and the [-3mm] makes it "back up" 3 mm.

I've taken an array like this:

. .

and morphed it into this:

. .

.

Offline

**JaneFairfax****Member**- Registered: 2007-02-23
- Posts: 6,868

Thats amazing!

Offline

**soroban****Member**- Registered: 2007-03-09
- Posts: 452

.

. .

. .

. .

. .

. .

.

Offline

**quittyqat****Member**- Registered: 2009-04-08
- Posts: 1,213

This is easy!

*Last edited by quittyqat (2009-07-21 11:52:17)*

I'll be here at least once every month. XP

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

Nice, how was it done?

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**quittyqat****Member**- Registered: 2009-04-08
- Posts: 1,213

Click "quote".

I'll be here at least once every month. XP

Offline

**soroban****Member**- Registered: 2007-03-09
- Posts: 452

.

. . . . .

A man with bowtie standing too close

. . . to the front of the elevator

. . . . .

Nude girl hiding in a pile of grapefruit

.

Offline

**soroban****Member**- Registered: 2007-03-09
- Posts: 452

. .

. . . .

. . . . . .

.

Offline

**soroban****Member**- Registered: 2007-03-09
- Posts: 452

.

. . . . . . . .

"So, how's the stress management

. . . . . course working out?"

. . . . . . .

"Okay, the girls have gone by.

. . You can exhale now."

.

Offline