mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2017-10-30, 11:19   #1
wildrabbitt
 
Jul 2014

22·3·37 Posts
Default latex issue

Hi,

I'm trying to write a sum of individual fractions using latex but in the pdf file
I get something unexpected.

Here's the latex code :


\begin{equation*}


\frac{8}{10^1}+\frac{7}{10^2}+\frac{3}{10^3}+\frac{4}{10^4}+\frac{6}{10^5}

\end{equation*}


/* Didn't realise that what the above would be is the actual output of the code I wrote. The above is how I wanted it to come out but it's not what I got. Anyway, the code I wrote is in the text file. */

I've attached the tex file in case the context is important and the pdf file so it can be seen how it's come out. Hopefully it's obvious what I wanted it to be.
A sum of fractions.

Would be great if someone could help.
Attached Files
File Type: pdf first_non_copied.pdf (33.3 KB, 50 views)
File Type: txt first_non_copied.txt (1.8 KB, 45 views)

Last fiddled with by wildrabbitt on 2017-10-30 at 11:22
wildrabbitt is offline   Reply With Quote
Old 2017-10-30, 11:53   #2
Nick
 
Nick's Avatar
 
Dec 2012
The Netherlands

26428 Posts
Default

Quote:
Originally Posted by wildrabbitt View Post
Would be great if someone could help.
1. Do not try and use \end to end a section or subsection (just start the next one).
2. Do not put empty lines inside an "equation".
3. If you do not want the equation numbered, it is preferable to use "displaymath" instead of "equation", or simply use square brackets around the formula.

With these changes, your file worked on my computer.
Nick is offline   Reply With Quote
Old 2017-10-30, 12:47   #3
wildrabbitt
 
Jul 2014

22·3·37 Posts
Red face

Many thanks
wildrabbitt is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Latex searcher ? science_man_88 science_man_88 2 2018-07-21 17:11
being able to use a latex package wildrabbitt Software 7 2018-01-12 19:46
P.C. Poops Latex ProximaCentauri Miscellaneous Math 7 2014-12-05 22:28
How to Latex thread jinydu Forum Feedback 2 2007-05-02 11:44
LATex Documents Numbers Lounge 8 2005-12-31 09:33

All times are UTC. The time now is 18:28.

Tue Sep 29 18:28:27 UTC 2020 up 19 days, 15:39, 0 users, load averages: 1.54, 1.57, 1.65

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.