Questions tagged [latex]

A widely used document markup language which allows precise control over how a document is laid out. Written as LaTeX, this language is widely used in technical and academic papers for it's various features, including hyperlinks, references, table of contents generation, bibliographies, indexing, and the ability to compile into PDF files.

LaTeX is a macro package implemented on Don Knuth's TeX programming language and is used primarily for creating high quality written documents. The underlying TeX system is Turing complete and LaTeX inherits this property, making it possible (but rarely advisable) to perform arbitrary computations in LaTeX; more interestingly it makes it possible to get any layout scheme you can describe precisely.

There is a Stack Exchange site dedicated to LaTeX (and TeX, and other related technologies), which is a good place to ask any LaTeX-related questions.

Other resources

A great many problems can be solved by selecting the right existing macro package from CTAN.

405 questions
8
votes
5 answers

A more structured way to typeset assignments in LaTeX

I'm typing up some assignments with the basic structure Problem problem number Solution and I'm not really satisfied with the LaTeX source I'm making. For example \section*{Problem 1} In order to solve $a^2+b^2 = c^2$ ... This solution is not…
Flame
  • 745
6
votes
1 answer

Count of hyphenated words and their unhyphenated counterparts in latex files

I have a thesis of approximately 100,000 words, typeset in latex. I have rather inconsistently hyphenated some of the words, for example "spider-fear" and "spider fear". I would like to get a list of all words in the tex files that are hyphenated…
6
votes
3 answers

Smallest Latex distribution available?

What is the minimal latex distribution available? Ideally i am looking for something like Mimetex but to generate dvi instead of png. Altenratively i am happy with <50Mb distros. I don't care about any major packages, the only thing i am looking…
mark
4
votes
1 answer

LaTeX: Adding an Enumerate environment to a Tabular environment

I am trying to add an ordered list (enumerate) to a table (tabular) in LaTeX with the following: \begin{tabular}{|l|l|} \hline Event Flow & \begin{enumerate} \item This is item 1 \item This is item 2 \end{enumerate} \\ \hline …
4
votes
2 answers

character in between \left and \right in the same size in LaTeX

In LaTeX, it is common to use \left and \right to get parenthesis of the same size. I would like to put something in between them in the same size, like a vertical bar: \left( \frac{a}{b} | q \right) In this example, the vertical bar is to…
4
votes
1 answer

Copy javacode to laTex

I am new to latex and I wonder if I can copy some java code to my latex document, and use some kind of package or something where I can specify that from "here" to "here" I have javacode and I would like it to show linenumbers, syntax with colors…
Johannes
  • 277
4
votes
4 answers

Convert PDF (that was generated with LaTeX) to .tex file

I know the general problem of converting an arbitrary PDF to .tex is either impossible or would result in unusable LaTeX (by expressing everything as vector graphics, for instance). But if my PDF was generated from a LaTeX file (which I no longer…
agentofuser
  • 7,397
3
votes
1 answer

Latex: verbatim content on one page

I use latex for my reports. Recently I have got an issue when my verbatim environment was split into several pages, where there were pictures in between. I would like to keep verbatim environment in one page only. Content of verbatim fits one page.…
Timofey
  • 1,321
2
votes
1 answer

Converting Latex Files to Blog Posts

What is the best way to convert latex files to blog posts? I'm aware that there are ways of getting simple latex formulas to show up in certain blog services (blogger, wordpress, etc.), but is there a way to take a latex file and place it into a…
TestBang
  • 31
  • 1
  • 1
  • 2
2
votes
1 answer

Dutch hyphenation patterns in LaTeX

I've been familiarizing myself with LaTeX in the past few weeks. It is awesome, but I ran into one problem I just can't manage to fix... Sometimes, I want to produce reports in Dutch, using LaTeX. Most of it works (dates and such), but I can't seem…
JorenB
  • 121
2
votes
1 answer

Undefined control sequence while using pdflatex

I am trying to use the moderncv package for making my resume. I will admit, I have never played around with latex, so that is what is causing the problems maybe. I get this error when trying I run: pdflatex file.tex: \@extrainfo ->\ComputerMouse…
sukhbir
  • 197
2
votes
1 answer

Cannot produce Glossaries in Latex

I'm havin trouble printing my glossary and acronym directory with the glossaries package. It produces an empty page where I call \makeglossaries. I suspect biber, babel or my build directory might be interfering with it. My main.tex looks something…
azrael
  • 41
1
vote
1 answer

Xdvi (or alternatives) and pdfsync

I am new to ubuntu. I have been using emacs, auctex, and texniscope before on my mac, and I would like to keep using auctex. Is it possible to get pdfsync working with texniscope? Are there any good alternatives with reverse search?
1
vote
1 answer

Latex tabularx issue with spacing

So just trying to edit a table someone had done in tabularx as I liked the style however I have no idea what I'm doing really and as such I've come up against a problem. There is a big space after the entry 'setup', in the below code and I would…
1
vote
3 answers

Text to the right of a \section{title} in LaTeX (the normal case is, text comes below)

I use LaTeX, but I only consider myself an average user. I have a special need. If I have a \section{Something} and I would like { something else } on the same vertical line as the section. But aligned right. How would I go about doing that?
Deleted
  • 5,108
1
2