9
votes
1answer
957 views

Configure LaTeX to use lmodern for T1 by default?

Like those contributing to the discussion of Why are Bitmap-Fonts used automatically?, I have also found the automatic use of bitmap fonts very annoying as the output is really horrible. My question ...
38
votes
4answers
7k views

Why are Bitmap-Fonts used automatically?

I have the following LaTeX-document: \documentclass[a4paper,11pt]{article} \usepackage[utf8x]{inputenc} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \title{Sample} \author{Litb} ...
10
votes
2answers
270 views

clarification on the use of @{} with table headings?

Most examples I've seen are like this: \begin{tabular}{@{}l r r@{}} that is, with one @{} to the left of first column specifier and another @{} to the right of the last column specifier. Yet the ...
9
votes
1answer
2k views

Author(s) per chapter - short story collection

I'm trying to use LaTeX to typeset a collection of short stories. I need something that lets each chapter have its own author or authors, with the author name(s) listed along with the chapter title, ...
11
votes
8answers
2k views

What do people use for modifying figures?

I usually create figures for my articles in Matlab: various plots of numerical and analytical solutions. One thing that I don't like about it is that the font is different in the figure and in the ...
2
votes
3answers
204 views

Mapping source code to page numbers in output

Is there a way to find out (from Tex) the page number corresponding to a particular location in the source file? Using a macro in the file at that location is fine. My motivation is that I'd like to ...
22
votes
3answers
4k views

Replace `et al.` with `\& al.`

I’m a big fan of ampersands (possibly too much …) and I’d like to replace all mentions of “et al.” (included in citations) by \& al. – both in the main text (I use natbib citations of the form ...
4
votes
4answers
6k views

can't \includegraphics eps files anymore with xelatex (used to work fine)

I've just noticed that (most likely caused by upgrading to opensuse 11.3 with TexLive 2009) whenever I try to \includegraphics{filename.eps} an eps file, I get the error: Unable to load picture or ...
3
votes
1answer
868 views

How to make sub figure referencing work in memoir + cleveref?

In the following example: \documentclass{memoir} \usepackage{cleveref} \newsubfloat{figure} \begin{document} \chapter{Example} \begin{figure} \centering \subtop[apple]{fig ...
12
votes
1answer
534 views

Loading a package conditionally

Is it possible to load some package from a .sty file only if some option is selected? (Naive approach \DeclareOption{something}{\RequirePackage{something}} doesn't work.)
5
votes
3answers
948 views

is it possible to define a verbatim{} command?

Is it possible to define a verbatim{} command that I could use instead of the environment? \begin{verbatim} \end{verbatim}
24
votes
6answers
3k views

Typing and editing Beamer presentations

The ratio of markup to content in a beamer presentation is fairly high relative to a standard LaTeX document. What strategies do you use for speeding up the task of typing and editing beamer ...
10
votes
4answers
2k views

Drawing arrow heads without the tails in TikZ?

I have an ellipse in a TikZ diagram and I would like to indicate a direction using an arrow head, but do not wish to draw the path leading up to the arrow head. I currently have \draw[->] (0,2) ...
6
votes
1answer
489 views

Why does \author respond differently to \hfill than do \date and \title in \maketitle?

This question asks how to align titlepage elements to the right. I was trying out a possible an answer to it when to my surprise, my solution almost worked. (I was expecting success or abject ...
4
votes
2answers
15k views

How to right-align a title (without creating a complete custom title page)?

I suppose this is a simple matter, but I'm still finding my way around where to put things in LaTeX. I would like to right-align (i.e. flush to right) the contents of an article's title page. By ...
12
votes
1answer
2k views

Are there any packages suited for making wedding invitations?

I'm getting married this coming winter, and it's about time to think about wedding invitations. Are their any document classes or packages suitable for this purpose?
20
votes
2answers
3k views

How to customize headers and footers?

I'd like to modify the contents of my headers and footers - e.g., to display the current chapter and/or section title or to change the pagination alignment. How can I do that? I've noticed the ...
6
votes
1answer
718 views

How to produce a combined index from multiple documents?

I'm creating a set of documents which are contained in different LaTeX source files and are going to be compiled into different PDF files. Each one can have its own index, generated using the usual ...
6
votes
2answers
1k views

How can I have images that are side-by-side and have numbers attached to each one?

For example: *Image 1* *Image 2* *Image 3* (i) (ii) (iii) Figure n. Multiple images. (i) image at time n. (ii) Image at time n+1. (iii) Image at time n+2
13
votes
5answers
9k views

Better way to calculate coordinates in Tikz?

I am great fan of pgf and tikz in general to produce great looking figures. But I don't like the amount of time I have to put in to draw a complicated picture, because I have to provide all the ...
36
votes
2answers
7k views

Difference between \big[ and \bigl[

What is the difference between \big[ (or equivalently \big() and \bigl[? Is it always necessary to mention l (left) and r (right)?
17
votes
3answers
13k views

Reference name of description list item in LaTeX

(Repost from Stack Overflow) I'd like to refer to a description list item by name instead of number. To that effect, I've added labels to each item, but when referencing them I only get the name of ...
8
votes
2answers
569 views

Semantic TeX - where are we heading?

(Update: I learned that this kind of open question is not supposed to be asked here at tex.stackexchange.com, so I will refrain from furthering the discussion here and invite contributions instead via ...
37
votes
6answers
4k views

How to make Latexmk use makeglossaries?

Is there a way to make Latexmk invoke makeglossaries (part of the glossaries package)? Specifically I want to use latexmk to compile a LaTeX document that uses the glossaries package to produce a ...
16
votes
4answers
1k views

Is there a test for the different styles inside maths mode?

Is there a test for the different styles within maths mode? What I really want is to be able to save the current style to reinvoke it later on, but a \if along the lines of \ifmmode would work just ...
9
votes
2answers
2k views

Is it possible to use hyperref, subfigure, and memoir together?

I asked a question about how to use subfigure with memoir. I got some great tips, but now pdflatex is making all subfigure hyper-refs point to the first couple subfigures. It also gives me this ...
3
votes
1answer
1k views

How to change section style using sciposter

I am trying to get rid of the default "boxedsections" with shadows used in the sciposter class and replace them with either "plainboxedsections" or "plainsections". In the manual three heading ...
6
votes
1answer
338 views

Put a marginpar before or after word it is supposed to be aligned to?

I am putting marginpars into the text to help the reader find important terms in my text. Now, where am I supposed to put the marginpar so that it aligns with the term? Let us define ...
5
votes
2answers
2k views

How to customize the standard report template

I am tired of writing company reports using MS Word, so I am looking for a way to define a custom template that follows the company branding. Basically what I would need to define is the following: ...
7
votes
2answers
3k views

subfigures with memoir

I switched to memoir and stopped including subfig and now all my subfigures interpret the caption as actual text, i.e., "[caption...]" shows up in the document with the square brackets. How do I have ...
1
vote
2answers
897 views

problem with kile installation in fedora 13 + texlive

I recently started using fedora with kde and I want to install kile. But, the version of TeX Live in the official repositories is TeX Live 2007 and I want a more complete and recent version. I tried ...
42
votes
8answers
5k views

Reducing the console output of LaTeX

When I run pdfLaTeX, I get very verbose output: (/usr/local/texlive/2008/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie s/tikzlibrarycalc.code.tex) ... Is there a script to soak up all the ...
10
votes
3answers
1k views

Package switches within the document?

Many packages come with switches, to be defined in the preamble. Is it possible to hit such a switch also in the body of the document? Example: Can I switch from the functionality of ...
8
votes
2answers
8k views

How to type the three dots in a product?

I have to type the product of n variables, $x_1\cdot\ldots\cdot x_n$. Although maybe this is semantically the right way (like it is for the sum), it doesn't look very well. What should be, ...
28
votes
2answers
3k views

Drawing a hypergraph

What is the proper way to draw a hypergraph? Is there a package to do this, or is there an easy way to draw such diagrams with a common drawing method like tikz? I'm trying to draw something like
2
votes
2answers
704 views

How to get rotating and/or rotfloat to work

Using LyX 1.6.5/MacTex-2009 my floating sideways figures only occupy half the page and the other half of the figure disappears off the left margin. I tried the rotfloat and rotating packages and they ...
40
votes
3answers
2k views

Which command should I use for displayed equations?

A number of related questions have already been asked about this issue: align vs equation which is preferable to what to do with this hyperref note on amsmath and even eqnarray vs align But I'm ...
2
votes
2answers
568 views

Changing the way authors' names are displayed in a citation?

For example, currently if I do a \cite{name} I get this: (AUTHOR1, 2000) (AUTHOR1; AUTHOR2, 2000) (AUTHOR1; AUTHOR2; AUTHOR3, 2000) What I'd like is to have et al. beyond 2 authors and have "and" ...
36
votes
7answers
14k views

Included PNG appears blurry in PDF

This is a follow-up to Included png appears too big in PDF, but it's a separate issue so I'll put it in its own question instead of burying it in comments. The problem: an included PNG, included ...
13
votes
2answers
4k views

How does TiKZ calculate positioning of picture on page?

I'm trying to use \beginpgfgraphicnamed to externalise some complex figures in a large document, using the latest released version of TiKZ (2.00). This produces standalone PDF images but for me the ...
20
votes
1answer
5k views

What version control system should I use for my LaTeX documents? [closed]

The answers to this question have convinced me I want to start using some kind of version control system. The question is, which should I use? First this is mainly just for myself, not for ...
8
votes
4answers
3k views

Included png appears too big in PDF

I'm a beginner with LaTex and writing an article in it (letter-sized). WinEDT and MikTeX (versions seen in the log). I have a PNG chart (obtained from R/ggplot2) which is 471 x 335 pixels and which ...
10
votes
3answers
2k views

Pushouts and pullbacks

How do I typeset that little symbol which indicates that a commutative square is a pushout or pullback square? I usually draw my diagrams in XY-pic, so I'd be most interested in how to do it there. ...
212
votes
12answers
134k views

Where do I place my own .sty or .cls files, to make them available to all my .tex files?

I know how to define a package or a class, but how do I make it available (to myself) at all times? Say I have the package file commonstuff.sty (or myprettyclass.cls), that I want to be able to ...
7
votes
1answer
4k views

Define command for bold list-item

I have a set of commands for producing various kinds of specific list-items, such as \newcommand{\staritem}{\item[$\star$]} % not really, but you get the gist All the ones I currently have can be ...
9
votes
3answers
4k views

Include section number in list number

As a follow-up to this question, I'd like to know if it is possible to automatically include the current section number, including all nesting levels, in the list number. How do I accomplish this? ...
9
votes
1answer
1k views

Can latexdiff be used for mathematics documents?

I've been pulling my hair out trying to get latexdiff to work with a mathematics document. It produces output that latex can't compile if one of the files is this: \documentclass{amsart} ...
9
votes
2answers
589 views

What is “TeX daemon” and why and how is it used?

Recently I've come across a question that asks about "TeX daemon" for Windows. I always thought that nature of TeX is compilation of document sources. Why would anyone use a daemon for that? So, ...
69
votes
12answers
12k views

What are the advantages of using version control (git, CVS etc) in LaTeX documents

Why would I need to use version control with my LaTeX documents? I know people who do it, and I've seen questions about it on here and on SO, but I haven't understood what value there is to doing ...
2
votes
1answer
1k views

TeXlipse installation problems

I have installed the most recent version of Eclipse (version 1.3.0.20100617-0521, build id 20100617-1415) and am trying to install the TeXlipse plugin. I've followed the installation guide thoroughly ...

15 30 50 per page