Go Back   Science Forums > Physical Sciences Forums > Computer Science and Technology
Reply
 
LinkBack Thread Tools
Old 05-13-2007   #1 (permalink)
Mercedes Benzene's Avatar
Student

Moderator
Editor

Location:
Montgomery County, Maryland
Latest blog entry:
 
Mercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond repute
Send a message via AIM to Mercedes Benzene
 



Not Ranked  0 score     
Help: trying to get latex on my PC

Today, I tried downloading MikTex so I can use LaTeX on my PC. Computers aren't my strong point, so I wanted some help.
I downloaded (what I thought was) MikTeX 2.5 today from the website (miktex.org), installed all the files... and I don't know where to go from here. Here's a screenshot of the program from the start menu.



I can see the viewer... but what do I do now?? I don't know how to set up text files so they can be compiled, and I don't know where I go to compile them.
Please help. Where do I go from here? Do I have to download something else??
I apologize for my incompetence.


----------------
My Hypo-blog.

"No power in the 'verse can stop me."

Moderator -- Chemistry, Biology, Watercooler, Competitions, Architecture.
Join our Facebook group
Reply With Quote
Old 05-13-2007   #2 (permalink)
Erasmus00's Avatar
Creating

Moderator

 



Not Ranked  0 score     
Re: Help: trying to get latex on my PC

In general, you'll need two things to run latex. The first is a nice text editor, the second is the actual latex files/compilers. If you run windows, I think winedt is a pretty nice editor that you can find freeware. You'll type up your actual documents within this text editor. This is the component you'll need, as I think Miktex is simply the compiler and some packages for it.

Then, you have to pass it to the latex compiler. This can be as simple as typing latex (filename) at the command prompt, but several text editors can be set up to run the compiler at the click of a button.
-Will
Reply With Quote
Old 05-14-2007   #3 (permalink)
Mercedes Benzene's Avatar
Student

Moderator
Editor

Location:
Montgomery County, Maryland
Latest blog entry:
 
Mercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond repute
Send a message via AIM to Mercedes Benzene
 



Not Ranked  0 score     
Re: Help: trying to get latex on my PC

Thank you! I got it to work!

Now I just need to figure out how to work things. I know the basics, but I'll probably be asking a few questions as I go along so (hopefully) the LaTeX veterans can help me.

Question #1: When I compile my code and view it with WinEdt, I notice that the text is in the middle of the page. Is there any way to make the margins normal. ALl I could find searching around is using \documentstyle[fullpage], but it doesn't make much of a difference. Ideas?


----------------
My Hypo-blog.

"No power in the 'verse can stop me."

Moderator -- Chemistry, Biology, Watercooler, Competitions, Architecture.
Join our Facebook group
Reply With Quote
Old 05-14-2007   #4 (permalink)
Erasmus00's Avatar
Creating

Moderator

 



Not Ranked  0 score     
Re: Help: trying to get latex on my PC

Quote:
Originally Posted by Mercedes Benzene View Post
Question #1: When I compile my code and view it with WinEdt, I notice that the text is in the middle of the page. Is there any way to make the margins normal. ALl I could find searching around is using \documentstyle[fullpage], but it doesn't make much of a difference. Ideas?
What did the beginning of your file look like? Did you assign it a document class? You should start your file with something like

\documentclass{article}

For fun and profit, you should consider googling latex document class. There are all kinds of latex packages out there with different classes. Various journals have their own classes so that the articles have a common formatting/look to them.

After assigning a class, many classes have sub-sections, such as abstracts so before you can start typing in the body of your project you'll need something like
\begin{document}
-Will
Reply With Quote
Old 05-14-2007   #5 (permalink)
Mercedes Benzene's Avatar
Student

Moderator
Editor

Location:
Montgomery County, Maryland
Latest blog entry:
 
Mercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond repute
Send a message via AIM to Mercedes Benzene
 



Not Ranked  0 score     
Re: Help: trying to get latex on my PC

Quote:
\documentclass{article}

For fun and profit, you should consider googling latex document class. There are all kinds of latex packages out there with different classes. Various journals have their own classes so that the articles have a common formatting/look to them.

After assigning a class, many classes have sub-sections, such as abstracts so before you can start typing in the body of your project you'll need something like
\begin{document}
Yeah... I did all that, and I used the {article} format, but I'm still getting strangely large margins.


----------------
My Hypo-blog.

"No power in the 'verse can stop me."

Moderator -- Chemistry, Biology, Watercooler, Competitions, Architecture.
Join our Facebook group
Reply With Quote
Old 05-14-2007   #6 (permalink)
Mercedes Benzene's Avatar
Student

Moderator
Editor

Location:
Montgomery County, Maryland
Latest blog entry:
 
Mercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond repute
Send a message via AIM to Mercedes Benzene
 



Not Ranked  0 score     
Re: Help: trying to get latex on my PC

I've got it.
It seems that I can use /setlength{} to change the individual sizes of the margins.


----------------
My Hypo-blog.

"No power in the 'verse can stop me."

Moderator -- Chemistry, Biology, Watercooler, Competitions, Architecture.
Join our Facebook group
Reply With Quote
Old 05-14-2007   #7 (permalink)
Erasmus00's Avatar
Creating

Moderator

 



Not Ranked  0 score     
Re: Help: trying to get latex on my PC

I recommend developing a standard format you like. After declaring what packages I'm going to use, I always use these standards

\textwidth = 6.5 in
\textheight = 9 in
\oddsidemargin = 0.0 in
\evensidemargin = 0.0 in
\topmargin = 0.0 in
\headheight = 0.0 in
\headsep = 0.0 in
\parskip = 0.2in
\parindent = 0.0in
-Will
Reply With Quote
Old 05-15-2007   #8 (permalink)
sanctus's Avatar
Resident Diabolist

Administrator

Location:
Geneva-Bern-Zürich, Switzerland;Oslo,Norway
 
sanctus has a brilliant futuresanctus has a brilliant futuresanctus has a brilliant futuresanctus has a brilliant futuresanctus has a brilliant futuresanctus has a brilliant futuresanctus has a brilliant futuresanctus has a brilliant future
 



Not Ranked  0 score     
Re: Help: trying to get latex on my PC

There is a great guide which helps you getting started, I use whenever I get stuck. It has a gret title "The not so short introduction to latex" and below something like "readable in 139 minutes".
Anyway it is almost complete, unless some ams math package details, what is very useful if you have to write long equation as it gives the \begin{align} comand which allows you to say that for example on every line of your equation(s) the = signs have to be aligned...

http://www.ctan.org/tex-archive/info...ish/lshort.pdf


----------------
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
Reply With Quote
Old 05-17-2007   #9 (permalink)
Mercedes Benzene's Avatar
Student

Moderator
Editor

Location:
Montgomery County, Maryland
Latest blog entry:
 
Mercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond reputeMercedes Benzene has a reputation beyond repute
Send a message via AIM to Mercedes Benzene
 



Not Ranked  0 score     
Re: Help: trying to get latex on my PC

Thanks for that link sanctus! It's been quite helpful.

One thing I have not been able to find however, is a way to box in text. Let's say I wanted to put a box around some text (like you would an answer to a math problem). How would I go about doing that?


----------------
My Hypo-blog.

"No power in the 'verse can stop me."

Moderator -- Chemistry, Biology, Watercooler, Competitions, Architecture.
Join our Facebook group
Reply With Quote
Old 05-17-2007   #10 (permalink)
Erasmus00's Avatar
Creating

Moderator

 



Not Ranked  0 score     
Re: Help: trying to get latex on my PC

Get the package framed or fancy box. Then use something like

\begin{framed}
Text you want framed
\end{framed}

Is that along the lines of what you are looking for?
-Will
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to: use LaTeX for equations Tormod Tutorials and How To's 20 04-23-2008 06:24 AM
LaTeX bug? CraigD User feedback 5 02-24-2007 09:20 PM

» Advertisement
» Current Poll
Who's the sexiest man alive? Johnny Depp or Robert Pattinson?
Johnny Depp - 30.00%
3 Votes
Robert Pattinson - 0%
0 Votes
Someone else (please specify) - 40.00%
4 Votes
I'm too macho to think a guy is sexy - 30.00%
3 Votes
Total Votes: 10
You may not vote on this poll.


All times are GMT -8. The time now is 11:45 PM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright © 2000-2009 Hypography
Part of the Hypography - Science for Everyone Network