My Math Forum  

Go Back   My Math Forum > Math Forums > LaTex Help

LaTex Help Help with LaTex and writing math equations


Reply
 
LinkBack Thread Tools Display Modes
August 31st, 2010, 06:32 AM   #1
Newbie
 
Joined: Jul 2010

Posts: 17
Thanks: 0

LaTeX help

Hey.

I'm just starting working on LaTeX.

For the sake of greater clarity I'll only show where the problem is, also because I think the problem can be solved within what is below:

Dada uma família não vazia de conjuntos não vazios $\cal A$=\{A_i\}_{i\in I} existe uma função

In the above sentence, after $\cal A$=\{A_i\}_{i\in I}, LaTeX ignores all spaces, and so the output is something like:

Dada uma família não vazia de conjuntos não vazios $\cal A$=\{A_i\}_{i\in I} existeumafunção


Can anyone tell me how I can solve this?

Thanks.
Saviola is offline  
 
August 31st, 2010, 08:14 AM   #2
Global Moderator
 
CRGreathouse's Avatar
 
Joined: Nov 2006
From: UTC -5

Posts: 16,046
Thanks: 937

Math Focus: Number theory, computational mathematics, combinatorics, FOM, symbolic logic, TCS, algorithms
Re: LaTeX help

You have an opening $ without a closing $. Add the closing $.
CRGreathouse is offline  
August 31st, 2010, 06:57 PM   #3
Newbie
 
Joined: Jul 2010

Posts: 17
Thanks: 0

Re: LaTeX help

I only open $ once, and I close it too as you can see below:

Dada uma família não vazia de conjuntos não vazios $\cal A$=\{A_i\}_{i\in I} existe uma função

Any ideas?
Saviola is offline  
August 31st, 2010, 07:16 PM   #4
Global Moderator
 
CRGreathouse's Avatar
 
Joined: Nov 2006
From: UTC -5

Posts: 16,046
Thanks: 937

Math Focus: Number theory, computational mathematics, combinatorics, FOM, symbolic logic, TCS, algorithms
Re: LaTeX help

Well, move the $ right so it encloses all the math.
CRGreathouse is offline  
September 1st, 2010, 04:04 AM   #5
Newbie
 
Joined: Jul 2010

Posts: 17
Thanks: 0

Re: LaTeX help

Your suggestion solves the problem, but creates new ones.

I want to apply \cal only to first A, in doing what you told me, every letter gets affected by \cal.

Not only that, the character i turns into some sort of bracket.

What can I do?

Thanks for the help.
Saviola is offline  
September 1st, 2010, 04:52 AM   #6
Senior Member
 
Joined: Feb 2009
From: Adelaide, Australia

Posts: 1,519
Thanks: 3

Re: LaTeX help

Enclose it in braces: [color=#0000BF]{\cal A}=...[/color]

aswoods is offline  
September 1st, 2010, 05:19 AM   #7
Newbie
 
Joined: Jul 2010

Posts: 17
Thanks: 0

Re: LaTeX help

Thanks, your suggestion, written below, solved.

${\cal A}=\{A_i\}_{i\in I}$ existe uma
Saviola is offline  
Reply

  My Math Forum > Math Forums > LaTex Help

Tags
latex



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
show that [latex]\mu[/latex] is a measure rayman Real Analysis 2 October 14th, 2013 03:30 AM
latex mathkid New Users 12 November 15th, 2012 09:01 PM
Need help with LaTeX Saviola LaTex Help 0 October 15th, 2010 01:57 AM
find [latex]/frac{dy}{dx}[/latex] sivela Calculus 1 April 26th, 2010 05:53 PM
Latex? Infinity LaTex Help 15 January 13th, 2007 09:21 PM





Copyright © 2017 My Math Forum. All rights reserved.