All Questions

Filter by
Sorted by
Tagged with
9
votes
1answer
2k views

Defining a custom ‘wrapfig’ environment

[ This is an updated version of https://stackoverflow.com/questions/3233031/latex-defining-a-custom-wrapfig-environment ] The wrapfig package interacts badly with the setup and teardown done by \...
95
votes
6answers
57k views

Which graphics formats can be included in documents processed by latex or pdflatex?

There several types of graphics files. In no particular order .jpeg .eps .pdf .png .tif .jif (and no doubt others). Some work with latex, dvips and some work with pdflatex. How am I supposed to know ...
11
votes
3answers
7k views

Insert code into a latex doc. without leading tabs

When I write latex I usually indent my sections like this (it allows easier folding in vim, is like reading code, etc). section{section} bla bla bla bla bla subsection{a} bla bla ...
10
votes
1answer
2k views

Full-page figure without extraneous whitespace in text?

My question is along the lines of How do I ensure that figures appear in the section they're associated with?, but slightly different. I have a figure that occupies a full page. By default, LaTeX ...
483
votes
4answers
67k views

What's the difference between \newcommand and \newcommand*?

I just spotted someone use \newcommand* in an answer and realised that I'd never quite sorted out in my head what the star (asterisk) was there for. (This one is practically impossible to search for ...
4
votes
2answers
10k views

Why does the less than equal to symbol not appear as intended in the following code?

When I use the following code on stats.stackexchange.com (which is powered by MathJax) the \le does not render properly. Is this a bug in MathJax or am I not using the \le symbol properly? $X_3 = \...
28
votes
8answers
5k views

ConTeXt editors

There is a very active question about LaTeX editors and IDEs. I personally use Vim with LaTeX-suite for any LaTeX editing, and I am very happy with it. Lately I began to use ConTeXt more and more. ...
8
votes
3answers
377 views

How does one define synonymous options in style/class files?

I want to be able to pass two options to a package (actually, a class) and have them be the same. What's the best way to do this? That is, I want: \documentclass[norsk]{myclass} and \...
18
votes
2answers
848 views

Is it good style to use \newline instead of just leaving a blank line in order to get a new paragraph?

The two alternatives in my question of course lead to very different results. If you use \newline, then your paragraph will not begin indented. Also the spacing between the paragraphs differs. I am ...
14
votes
9answers
5k views

For movie15-based 3D embeds, how to get u3d files?

The movie15 package (an interface to embed movies, sounds and 3D objects into PDF documents for use with LaTeX as well as pdfLaTeX) requires 3D files to be in u3d format for embedding into pdf. This ...
26
votes
3answers
5k views

Vertically asymmetric size variation for parentheses

One of the difficulties I have with writing formulas in LaTeX is that the standard sizing tools for the variable-size operators (parentheses, etc.) do not account for "high" symbols and "low" symbols ...
18
votes
3answers
14k views

How to link to specified page of an outer pdf document?

Recently, I made a beamer presentation and I want to link to a pdf I have made before, but I can only link to the first page of pdf document using the command: \href{doc/mydoc.pdf}{thedoc} and I ...
262
votes
12answers
730k views

How to typeset subscript in usual text mode?

It's easy to make subscripts in math mode: $a_i$. How do I make a subscript outside math environment, likethis?
2
votes
2answers
1k views

Installing bibexport on Mac OS X

I recently installed bibexport on my mac (10.5). This command lets you export a small document-specific .bib file using only the references that you cite in that particular document. This is useful ...
24
votes
5answers
11k views

In TikZ, is it possible to nest nodes?

My use case: I am drawing chemical schemes. Each molecule contains several nodes. However, I also want to put each molecule into a "wrapper" node, so that I can use the usual anchors in combining ...
14
votes
3answers
2k views

How to keep my TeX Live installation up to date?

What is the recommended way to keep my TeX Live installation up to date? Is there any package manager (like MiKTeX on Windows) that could help me with this? If it helps I'm running on Mac OS X and my ...
92
votes
3answers
68k views

How can I typeset the date/time at compile time?

For printed drafts of my papers, I would like to add a timestamp on every page with the date/time when the document was last compiled. Is there any LaTeX command that produces the current date/time at ...
17
votes
2answers
664 views

How to obtain perfect greyness with TeX?

Greyness, or typographic color is the apparent blackness of a block of text. I would be curious how you deal with improving it in TeX. How much can TeX's inherent line-breaking algorithm be fine-tuned ...
19
votes
4answers
2k views

What to do with this hyperref note on amsmath?

http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/ has this note copied below: amsmath ------------- The environments equation and eqnarray are not supported too well. For ...
98
votes
6answers
68k views

Why is the MacTeX distribution so large? Is there anything smaller for OS X?

I would like to know how to install LaTeX on Mac 10.6 or higher. But the MacTeX is some 1.28 GB file! Is there a smaller distribution I could install? What exactly is TeX Live?
13
votes
2answers
3k views

What font package do I use to get the vertical Russian/German style integral signs?

What font package do I use to get the vertical Russian/German style integral signs? (subject says all)
17
votes
1answer
21k views

Passing options to the newenvironment

I have a GrayBox environment defined as follows. It is used \begin{GrayBox}...\end{GrayBox} or \begin{GrayBox}[\textwidth]...\end{GrayBox}, that is, it can pass optional parameter to the environment. ...
19
votes
4answers
2k views

BibTeX style that groups by author

I'm looking for a BibTeX style that formats the reference list at the end in the way shown below. The key points are: The references are sorted by the (list of) authors, and then each author has a ...
7
votes
4answers
4k views

Parameter passing to \verb|| environment

I happen to write the following code over and over again. {\color{blue}\verb|>|} {\footnotesize\verb|HI|} So, I came up with the following code to make it a command. \newcommand{\result}[2]{% {\...
13
votes
2answers
9k views

\footnotemark and \footnotetext in minipage

The Tufte handout class give a neat layout that shows the footnote at the right hand side not bottom line. But, when I use the minipage with tufte-handout, and if the minipage has the footnote, the ...
183
votes
5answers
31k views

Why is LaTeX3 taking so long to come out?

I feel as though I have been hearing about the LaTeX3 project for a very long time. Why is it taking so long for it to come into fruition? Are there major technical difficulties, or is it purely a ...
2
votes
1answer
1k views

Adding keywords to entries in bib file with a view to using JabRef as a file explorer / manager

I have created a bib database of maths textbooks, articles, notes etc. and I want to use JabRef to assign keywords to each entry to take advantage of the file management functionality which would ...
99
votes
49answers
28k views

What professions use TeX/LaTeX besides CS?

TeX and LaTeX are widely used in Computer Science. What other academic disciplines or professionals use it?
14
votes
2answers
2k views

How do I define new environments, and why would I want to?

I've read about defining new, custom environments that can be used like \begin{thisismyown} % do some funky stuff \end{thisismyown} How do I define thisismyown, and why would I want to?
8
votes
3answers
425 views

How to create an index entry for “|| operator”?

Following the \index quoting rules (prepend a reserved character with a double-quote), I do \index{"|"| operator} but the entry never shows up in the index. Doing these (similar) things does work as ...
4
votes
1answer
1k views

Shrinking large matrices by preventing column alignment

I have a relatively large but sparse matrix (say 20x20). Maple has no problem displaying it on a screen because maple does not force the columns to be aligned when the matrix is large enough : element ...
67
votes
2answers
15k views

Wordle-like word clouds

Wordle creates word clouds based on the frequency on words in a text, similar to tag clouds. What makes it unique is that it can lay out words in arbitrary directions without too much white space. See ...
9
votes
3answers
29k views

Class for Curriculum Vitae [duplicate]

Possible Duplicate: LaTeX template for resume/curriculum vitae Which class do you recommend to write a CV? The answer will probably be different depending on the CV being used in the academia or ...
69
votes
14answers
132k views

How can I use LaTeX from Python.

I need to generate documents from a web application and would like to do this using the Python language and LaTeX, are there any tools that will help me? Edit This Application will be hosted on Linux,...
13
votes
2answers
517 views

Why do floats change the \mark?

The presence of floats appears to disrupt the setting of \marks, so that \topmark ends up with the wrong value. For example, consider this: \documentclass{article} \textheight 50mm \textwidth 50mm \...
18
votes
2answers
4k views

How do I create parallel text aligned by paragraph?

I would like to create parallel text in multiple languages. With some success, I have tried some existing packages to do that. However, one thing I found very difficult is to align each paragraph but ...
97
votes
7answers
80k views

Typesetting UML class diagrams

What's the best way to draw UML class diagrams in LaTeX?
27
votes
3answers
12k views

Indian rupee symbol

India has recently introduced a new symbol for its currency, the Indian rupee -- see http://en.wikipedia.org/wiki/Indian_rupee_sign. How can I typeset this in TeX / LaTeX?
37
votes
4answers
7k views

Pop-up references in PDF output

I once saw a maths journal which offered PDFs of published papers, where the bibliographic references were formatted as PDF annotations: if you moused over a reference in the text, the bibliography ...
12
votes
1answer
372 views

How do I avoid clashes with macro names in packages?

This is a follow-up to this question on contributing to CTAN, but it applies to the situation when writing ones own package for private use. In brief, the question is: Is there a way to avoid name-...
61
votes
6answers
19k views

Syntax Coloring in LaTeX

Is there any way to include Python code in a LaTeX file and automatically color its syntax? Is it possible to do syntax coloring with any other language? If yes what packages can I use to do that?
14
votes
2answers
2k views

Is it possible to use sql database for BibTeX?

I have and extensive database with references in form of an SQL database. How can I use this information in BibTeX?
22
votes
8answers
5k views

Is there an automatic process to create index creation?

Certainly, there must be some way to somewhat create a list of words suggested to be included in an index.
51
votes
5answers
24k views

Can I create music sheets with LaTeX?

If so, how? Do I need any additional software?
58
votes
2answers
2k views

How can I contribute to CTAN?

I have created a template and some macros that I would like to share. How can I contribute them to CTAN?
48
votes
4answers
45k views

Removing spaces between “words” in math mode

I'd like to set $1024 \times 768$ without any space between the three items. Is this possible? If so, how? E.g., what I get is: 1024 x 768 and what I want is: 1024x768
13
votes
2answers
411 views

How can I test if a command is followed by an argument?

Imagine I have two commands defined as \def\witharg#1{something with #1} \def\without{something without arg} and I want to define a new command \mycmd that behaves as \witharg if it's followed by an ...
13
votes
1answer
2k views

Infinite-depth list

I want to create a command set that allows me to do something like \nestedlist{ \listitem An item \sublist{ \listitem A sub item \listitem Another sub item } } and get An item 1.1 A ...
58
votes
6answers
39k views

LaTeX Classes or Styles for Schedules and/or Calendars?

Maybe TeX isn't the best for this particular problem, but any teachers out there use a particular class or package to plan lessons? Right now I'm just using a spreadsheet, but I always find myself ...
44
votes
3answers
20k views

PDF letterhead as document background

My institution's letterhead is available as a PDF file. The PDF is not just of the logo (to be placed in a corner), but of the entire page. Is it possible to make this PDF the background of the ...

15 30 50 per page