You are not logged in.

#1 2013-01-21 15:28:38

alf
Member
From: Tromsø, Norway
Registered: 2010-07-05
Posts: 35

What do you use to write Latex documents?

I'm going to have to write some reports for my studies, and plan on using Latex.

I have some experience with Texmaker (Simple, not too much hassle.. compiles and does basically all the annoying work for you). But I'm still looking for competition for my Texmaker.

What are you guys using?
How are you compiling?

How's latex for you?

alf

Offline

#2 2013-01-21 15:37:47

mralby
Member
Registered: 2012-02-23
Posts: 5

Re: What do you use to write Latex documents?

I use Lyx whenever I have to do LaTex.

Offline

#3 2013-01-21 16:08:25

anti-destin
Member
Registered: 2009-02-14
Posts: 234

Re: What do you use to write Latex documents?

i use vim + latexmk.

Offline

#4 2013-01-21 16:19:55

akh
Member
From: Copenhagen, Denmark
Registered: 2012-09-24
Posts: 25

Re: What do you use to write Latex documents?

I use vim with latexsuite.

Offline

#5 2013-01-21 16:38:57

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: What do you use to write Latex documents?

vim.  ~/.vimrc:

...
au BufNewFile,BufRead *.tex nmap <F5> ;w<CR>;silent !latexmk -quiet -pv "%"; latexmk -c "%"<CR><CR>;redraw!<CR>
au BufNewFile,BufRead *.tex set spell
...

Last edited by Trilby (2013-01-21 16:39:09)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2013-01-21 17:02:49

Heikete
Member
Registered: 2007-04-28
Posts: 42

Re: What do you use to write Latex documents?

Vim in general.
Latex suite was too large for me, so I wrote somenthing with minimal functions I wanted:

" Vim plugin to improve writing in latex
" not so big as vimlatexsuite

if exists("g:loaded_simlatex") || &cp
  finish
endif
let g:loaded_simlatex = 09
let s:keepcpo = &cpo
set cpo&vim

augroup filetypedetect
    au! BufNewFile,BufRead *.tex call s:Simlatex_start()
augroup END

function! s:Simlatex_start()
  setf tex
  syntax on
  inoremap <F6> <ESC>bcw\begin{<ESC>pa}<CR><CR>\end{<ESC>pa}<ESC>ki    
  " Space
  inoremap <buffer> <silent> <S-Space> ~
  inoremap <buffer> <silent> <Space> <C-R>=<SID>Tex_polish_sp()<CR>
  inoremap <buffer> <silent> <CR> <C-R>=<SID>Tex_polish_sp()<CR><BS><CR>
endfunction

function! s:Tex_polish_sp()
    if synIDattr(synID(line('.'),col('.')-1,0),"name") =~ '^texMath\|^texZone\^texRefZone'
        return ' '
    else
       let s:col = col('.')
       let s:linelenght = strlen(getline('.')) + 1
       " put tilde after conjunction
       if strpart(getline('.'),col('.') - 3, 2) =~? '^[[:space:]~(\[{]\?[aiouwz]$'
           return '~'
       " put tilde after initials and singular big letters
       " after dot
       elseif strpart(getline('.'),col('.') - 4, 3) =~? '^[[:space:]~(\[{]\?\u\.$'
          return '~'
       " put tilde after year, century
       elseif strpart(getline('.'), col('.') - 8, 7) =~? '[0-9IVXLCM]\s\+\(r\|w\)\.[^a-ząśćźżłó]\{-}$'
          s/[0-9IVXLCM]\zs\s\+\ze\(w\|r\)\.[^a-ząśćźżłó]\{-}\%#/\~/ei
		  exe 'normal '.s:col.'|'
		  if s:col == s:linelength
			startinsert!
		  else
			startinsert
		  endif
       return ' '
		" put tilde betweed number and unit
       elseif strpart(getline('.'), col('.') - 10, 9) =~? '\(\d\|mln\|mld\|tys\.\)\s\+\(z³\|gr\|ha\|t\|mies\|godz\|min\|sek\|cm\|km\|mln\|mld\|tys\.\)[^a-z±æê³ñó¶¿¼]\{-}$'
		  s/\(\d\|mln\|mld\|tys\.\)\zs\s\+\ze\(z³\|gr\|ha\|m\|t\|mies\|godz\|min\|sek\|cm\|km\|mln\|mld\|tys\.\)[^a-z±æê³ñó¶¿¼]\{-}\%#/\~/ei
          exe 'normal '.s:col.'|'
		  if s:col == s:linelength
			startinsert!
		  else
			startinsert
		  endif
			return ' '
       endif
    endif  
    return " "
endfunction

let &cpo= s:keepcpo
unlet s:keepcpo

It's customized to my language (Polish) where we cannot leave words like: and, but, from at the end of a line.
Maybe you'll get inspired. It provides a mapping which I often use. I type the name of the environment and press <F6> and
it becomes:

\begin{environment}
|
\end{environment}

Offline

#7 2013-01-21 17:08:45

chris_l
Member
Registered: 2010-12-01
Posts: 390

Re: What do you use to write Latex documents?

I just use vim without latexsuite or any latex-related function tongue

And I use tex2pdf to compile it to pdf, which is an script to do the "hard" part for you. (is not hard, is more like repetitive)


"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

#8 2013-01-21 20:48:03

geekinthesticks
Member
From: England
Registered: 2011-09-21
Posts: 143
Website

Re: What do you use to write Latex documents?

I use Emacs org-mode, which has excellent LaTex export. However, if you aren't familiar with Emacs, or willing to learn it, it might not be a good choice.

Offline

#9 2013-01-21 21:48:08

blackout23
Member
Registered: 2011-11-16
Posts: 781

Re: What do you use to write Latex documents?

mralby wrote:

I use Lyx whenever I have to do LaTex.

This.

Offline

#10 2013-01-21 22:05:54

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: What do you use to write Latex documents?

emacs, okular, make

Edit:  BTW, it is LaTeX

Last edited by ewaller (2013-01-21 22:07:57)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2013-01-22 02:18:21

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: What do you use to write Latex documents?

1) Vim with the latexbox and snipmate plugins for fast typing and PDF output

2) Zathura, which automatically updates the PDF currently open

I used to use Lyx, but found reconfiguring all the hotkeys really obnoxious.  Learning plain LaTeX actually seemed simpler and easier, but that's just me.

Offline

#12 2013-01-22 02:43:02

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: What do you use to write Latex documents?

Kile although there are some things I'm not totally happy with. I used TeXShop on OS X and can't find anything I like quite as much though Kile has some compensations. Okular. Vim for quick edits or when Kile becomes irritating.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#13 2013-01-22 03:53:42

twistedcubic
Member
Registered: 2012-03-01
Posts: 22

Re: What do you use to write Latex documents?

I think gummi is nice.. the upshot being that it essentially live previews as you type.

Does vimlatex / latex suite allow you to quickly update & view the pdf when you want, e.g. with some keybind? This might be better so that the tex doesn't try to compile in the middle of math mode or something, causing errors. 

I never really thought about it until someone mentioned it, but does gummi, which is constantly compiling/previewing, consume an overly large amount of power and take a hit on your battery life?

Offline

#14 2013-01-22 04:09:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: What do you use to write Latex documents?

twistedcubic wrote:

Does vimlatex / latex suite allow you to quickly update & view the pdf when you want, e.g. with some keybind?

There are several examples of precisely this in this thread.  My vimrc contains only two *.tex specific rules, one for a keybinding to do specifically what you asked about.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#15 2013-01-22 07:14:09

fivedigits
Member
Registered: 2012-12-12
Posts: 13

Re: What do you use to write Latex documents?

I'm more of the GUI-guy when it comes to regular scientific workload. Still i'm not that into WYSIWYG, that's why i choose the simple yet well-designed Texmaker.

Offline

#16 2013-01-22 07:32:37

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: What do you use to write Latex documents?

As mentioned above Gummi is a very nice (compile as you type) latex editor. Highly recommended.

http://dev.midnightcoding.org/projects/gummi

Offline

#17 2013-01-22 08:38:40

D.
Member
Registered: 2012-05-15
Posts: 64

Re: What do you use to write Latex documents?

Regular vim here. Have tried vim-latexsuite and vim-auctex but neither does things quite as I would like them. Maybe I switched back to plain vim too quickly, also haven't properly configured the plugins to my wishes. Maybe I should...

Offline

#18 2013-01-22 08:44:42

flocke
Member
From: Düsseldorf
Registered: 2010-06-14
Posts: 9

Re: What do you use to write Latex documents?

vim-latexsuite

If you want a GUI I can also recommend gummi. It's nice and simple and has a preview as you type, also if you configure the snippets (http://dev.midnightcoding.org/projects/ … tshortcuts) to your needs it can save a lot of time.

Offline

#19 2013-01-22 08:48:05

ball
Member
From: Germany
Registered: 2011-12-23
Posts: 164

Re: What do you use to write Latex documents?

Emacs with AUCTeX and RefTeX enabled. I can't imagine anything cooler especially when it comes to citing and referencing. The newest release of AUCTeX finally supports biber & biblatex (the successor of BibTeX) out of the box. And when doing maths you can preview the math snippets (or other things like tables/graphics) in the emacs buffer.

In fact, willing to be productive with LaTeX was the reason why I started learning emacs.

Last edited by ball (2013-01-22 16:39:07)

Offline

#20 2013-01-22 09:59:25

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: What do you use to write Latex documents?

blackout23 wrote:
mralby wrote:

I use Lyx whenever I have to do LaTex.

This.

+1 for LyX

Offline

#21 2013-01-22 10:20:12

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: What do you use to write Latex documents?

I use Vim for all the text oriented stuff. The flavour of LaTeX is XeLaTeX with templates covering most of my needs.

I tried the majority of dedicated LaTeX editors & front-ends, but from all the bells and whistles I really need only syntax highlighting, decent navigation and editing features.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#22 2013-01-22 12:05:57

gay
Member
Registered: 2012-12-16
Posts: 93

Re: What do you use to write Latex documents?

geany, kile, vim


We are exactly the people our parents always warned us about.

Offline

#23 2013-01-22 12:51:16

GordonGR
Member
From: Thessaloniki, Greece
Registered: 2011-11-07
Posts: 276

Re: What do you use to write Latex documents?

Geany too, and sometimes Latexila, because it shows the file structure (sections, subsections etc) much better.


Intel(R) Celeron(R) CPU E3400 @ 2.60GHz, x86_64. AURs.

“No one without the knowledge of geometry may enter.“ Plato.

Offline

#24 2013-01-22 15:44:18

superchango
Member
From: Tenochtitlan
Registered: 2009-01-22
Posts: 133

Re: What do you use to write Latex documents?

Texmaker, ftw!

I wrote my college theses with that and now i'm writing my PhD thesis in that.  And for my .bib i use Jabref.


"Yo creo que los muertos son tiernos. ¿Nos besamos?"

Offline

#25 2013-01-22 16:38:04

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: What do you use to write Latex documents?

vim with latex-box, much lighter and less intrusive than latex-suite.
But recently I use often vim to write markdown with latex snippets in it when needed, and convert it to whatever format needed with pandoc.


Mortuus in anima, curam gero cutis

Offline

Board footer

Powered by FluxBB