PDA

View Full Version : Best way to use LaTeX



infestor
May 26th, 2009, 11:57 AM
What is the best way to begin writing LaTeX documents (i really cant deal with word processors anymore)?
should i start using Lyx? or complicated editors like EMACS and dive directly into coding?

My aim is to start writing scientific articles like this: http://www.tflmezunlari.com/wearing.pdf
(http://www.tflmezunlari.com/wearing.pdf)

squaregoldfish
May 26th, 2009, 12:17 PM
I'd suggest you get into coding as quickly as possible - you'll get to learn how LaTeX works, and you'll be using it in the way it was intended.

You don't need a complex editor to code LaTeX. There's endless discussions on here about which editor to use, so you can try a few and see what you like. I've recently switched to gedit with the LaTeX plugin, and I'm liking it a lot.

Steve.

infestor
May 26th, 2009, 12:36 PM
I'd suggest you get into coding as quickly as possible - you'll get to learn how LaTeX works, and you'll be using it in the way it was intended.

You don't need a complex editor to code LaTeX. There's endless discussions on here about which editor to use, so you can try a few and see what you like. I've recently switched to gedit with the LaTeX plugin, and I'm liking it a lot.

Steve.


what about the code help? let's say, i would like to add a citation and i dont know the code for it. is there a quick function search in latex plug-in's help section or i have to search the web for it?

Rubicon_82
May 26th, 2009, 12:47 PM
At the very least, you'll want something with syntax highlighting such as Vim, Emacs, Kate (or a Gnome app which supports this).

I would recommend Kile, the LaTeX IDE for KDE, which includes standard IDE tools such as autocomplete, automatic multi-step compile etc. I would avoid LyX if you want to learn LaTeX (LyX tries to hide the underlying LaTeX markup, going so far as labeling it Evil Red Text).

hessiess
May 26th, 2009, 01:12 PM
Just start up your favate editor(vertually enything on Linux has support for TeX/LaTeX hilighing, personally I use Vim) and start wrighting. The not so short introduction to LaTeX (http://tobi.oetiker.ch/lshort/lshort.pdf)introduces the language and syntax pritty well.



what about the code help? let's say, i would like to add a citation and i dont know the code for it. is there a quick function search in latex plug-in's help section or i have to search the web for it?


A quick google can normally show you how to do something in a minute or two.

Twallaroo
May 26th, 2009, 01:38 PM
I prefer winefish.
Very nice LaTeX editor.

swoll1980
May 26th, 2009, 01:47 PM
Insert "Best way to use latex joke" here______________________________

sujoy
May 26th, 2009, 03:46 PM
stop wasting time at the forums. pick up any editor you like and get set go. :P

pwnst*r
May 26th, 2009, 03:53 PM
Insert "Best way to use latex joke" here______________________________

must. resist...

ssam
May 26th, 2009, 03:54 PM
any text editor with syntax highlighting and spell checking. gedit is good if you like graphical, or kate for kde, if you know or want to learn a hardcore text editor vim or emacs.

then have this open on a one of your desktops
http://tobi.oetiker.ch/lshort/lshort.pdf

and search for any other questions. there are lot of resources, and tip pages online, so google can usually find an answer.

beware of really old info. eg there is really any reason to do .tex -> .dvi -> .ps -> .pdf. just use the pdflatex command to get pdf straight away.

jsmidt
May 26th, 2009, 06:09 PM
I think Kyle and Texmaker are the best. They are very user friendly.

mihai.ile
June 1st, 2009, 08:35 AM
I just use gEdit with gedit-latex-plugin from http://live.gnome.org/Gedit/LaTeXPlugin

So after a year I finally put myself together and created a patch for this gedit-latex-plugin and integrated my Split View module.
With it you can do your LaTeX coding while you preview the generated PDF without doing ALT-TAB to another window every time you need to see how it looks like so far.
I submitted the patch to the author, let's hope he is quick in integrating it, if you are curious about what i'm talking about just look at http://openmindedbrain.info/gedit-latex-plugin-live-preview

kkkkdddd
June 1st, 2009, 08:48 AM
Kile is simply the best.

I have written in it my Masters' Thesis (90 pages of pdf) and it worked very well.

Only one click to generate .pdf and another one to view it. It also includes spell checking (Tools->Spelling).

On the other hand, I liked 1.9 (KDE 3.5) better than 2.1 (KDE 4.2).

WARNING: Do not use Kile with Compiz enabled. For some reason such combination cause my computer (C2D 2.4 GHz) to work very slowly. I can type faster than letters can appear on the screen.

mihai.ile
June 1st, 2009, 08:53 AM
Kile is simply the best.

I have written in it my Masters' Thesis (90 pages of pdf) and it worked very well.

Only one click to generate .pdf and another one to view it. It also includes spell checking (Tools->Spelling).

On the other hand, I liked 1.9 (KDE 3.5) better than 2.1 (KDE 4.2).

WARNING: Do not use Kile with Compiz enabled. For some reason such combination cause my computer (C2D 2.4 GHz) to work very slowly. I can type faster than letters can appear on the screen.

Did you actually saw hor gedit with latex plugin looks like bfore saying kile it's "the best"?

http://openmindedbrain.info/sites/default/files/images/latex-preview.preview.png

It also has spell check (default from gedit), quick buttons to generate pdf and other formats, tables, insert images, has code assist...
I would call Kile very good for LaTeX but calling it the best in my opinion it's a personal preference, not everyone likes/uses KDE...

lethalfang
June 1st, 2009, 09:50 AM
I like Kile, but I'd go get the Kile 2.0 from the Intrepid repo.
I have installed the default Kile 2.1 (actually 2.0.8) that comes with Jaunty in three different computers, and it has severe crashing problems in all three.

I tried LyX for about a couple of days and gave up on it. It's not LaTeX at all. The .lyx file is nothing like a .tex file.

infestor
June 2nd, 2009, 11:15 PM
I decided to start with gedit+latex plugin. a simple editor for my needs. since i am not familiar with emacs or vim, trying to learn to use one of them would be like smashing a fly with a sledgehammer.

piousp
June 2nd, 2009, 11:42 PM
I use winefish at work, Kyle at home and gedit with my netbook (UNR)

LookTJ
June 3rd, 2009, 12:10 AM
All I can say the best way is not to use LyX, it is a pain to use. It doesn't give you complete control of LaTeX

orlox
June 3rd, 2009, 06:46 AM
How can I get gedit with that preview of the file on the side???

zika
June 3rd, 2009, 07:03 AM
How can I get gedit with that preview of the file on the side???
http://ubuntuforums.org/showthread.php?t=1176257

[h2o]
June 3rd, 2009, 07:08 AM
I just use gEdit with gedit-latex-plugin from http://live.gnome.org/Gedit/LaTeXPlugin

So after a year I finally put myself together and created a patch for this gedit-latex-plugin and integrated my Split View module.
With it you can do your LaTeX coding while you preview the generated PDF without doing ALT-TAB to another window every time you need to see how it looks like so far.
I submitted the patch to the author, let's hope he is quick in integrating it, if you are curious about what i'm talking about just look at http://openmindedbrain.info/gedit-latex-plugin-live-preview

Wow! This plugin is really good! I wish I had known about it before writing three reports using only gedit earlier this semester. This will probably make writing my master's thesis a lot easier :)

orlox
June 3rd, 2009, 07:19 AM
Ooooo, ill certainly be trying this soon. I use kile a lot, but from all the features it has I only use little of them when writing long reports...so the simplicity of gedit is perfect for me!

Besides, this allows me to be using pure gtk apps that fit nicely with my theme, instead of those qt windows that contrast horribly with my dark theme :p

zika
June 29th, 2009, 01:10 PM
It seems it does not work now in Karmic ... ?

zika
June 29th, 2009, 01:17 PM
Isn't that the case with any kind of stuff worth mentioning ... :)
TeX, Ubuntu, ... pick any ... :)