2
votes
1answer
1k views

Issues when compiling TeX files with Vim and LaTeX-suite

I'm having problems compiling a TeX file with LaTeX-suite on Ubuntu. In my .vimrc, I have the following lines : filetype plugin on set grepprg=grep\ -nH\ $* filetype indent on let ...
12
votes
3answers
2k views

How do I print a beta in TeX Gyre Termes text mode?

I have to write a document in Times. Therefore I started writing it in TeX Gyre Termes, based on the note on Time's font page. However, I use PDFLaTeX, so I can't directly type Greek characters. So if ...
3
votes
1answer
2k views

Package biblatex Warning: No driver for entry type 'url'

I have a bibliography in BibDesk, and use biblatex with biber backend. However, biblatex complains Package biblatex Warning: No driver for entry type 'url'. and apparently falls back Using fallback ...
1
vote
0answers
109 views

want pdf picture to be smaller than one page [duplicate]

Possible Duplicate: How can I crop included PDF documents? I created a pdf file using PSTricks. It appears to occupy an entire page. When I included it in my LaTeX file using ...
2
votes
0answers
47 views

Force dot after abbreviated author's first name [duplicate]

Possible Duplicate: Biblatex: no period/dot after initials if bibtex-entry firstname is only one letter I have a pretty large and messy BiBTeX file (who hasn't?), and I would like biblatex ...
10
votes
1answer
3k views

Biblatex: no period/dot after initials if bibtex-entry firstname is only one letter

After several hours on this webpage, I decided to change to biblatex and have already configured according to my preferences. Apart from an easy way to change the order of certain fields of a given ...
4
votes
2answers
862 views

Getting started with TeX - my first table (a nested table)

I am brand new to LaTeX, and I am trying to create a LaTeX string to create a report with a known format. I will be inserting my LaTeX string into an A4 page in a scribus document. Accoring to the ...
3
votes
2answers
2k views

Page breaks after images in figures / minipages

I'm using minipage environments for two images next to each other in a paper. My code looks like this: \begin{figure}[htb] \centering \begin{minipage}{0.5\textwidth} ...
15
votes
6answers
1k views

Custom format file: How to automate the generation of the “precompiled preamble” whenever one of the files that are used there are changed

I would like to speed up compilation of my LaTeX documents using the precompiled preamble approach, and I was wondering whether any of the Tools for automating document compilation have support for ...
4
votes
1answer
2k views

What is the recommended font to use for a statistical table in an academic journal?

I am brand new to LaTex, and I am trying to create a report displaying statistical data, for an academic publication. The table is quite a large one, consisting of several nested columns, and is 23 ...
9
votes
1answer
735 views

Choice between asparaitem, compactitem, and itemize

I am writing a conference paper (in lncs). I see people using different itemization styles: asparaitem, compactitem, and itemize. Because the spacing of these environments is somewhat different, I am ...
1
vote
1answer
470 views

How to refer to a figure created by tikzpicture in paper body?

I am relatively new with LaTeX. I created an image by \begin{figure} \begin{tikzpicture} .... \end{figure} \end{tikzpicture} I just don't know how to refer it in paper body by \ref{compression}, ...
3
votes
2answers
500 views

Sluggish cursor movement in emacs LaTeX-mode

I'm editing a large (around 50k words) tex file in Emacs using AUCTeX and cursor movement is quite sluggish, especially when jumping by word. This isn't a problem in any other mode. Edit: I did some ...
6
votes
1answer
1k views

Biblatex's citesetup and citetext

I am using biblatex to make the citation numbers bold by redefining \citesetup to include a \bfseries: \renewcommand*{\citesetup}{% \bfseries \biburlsetup \frenchspacing} This makes the reference ...
2
votes
0answers
169 views

How could I include svg directly into LaTeX? [duplicate]

Possible Duplicate: How to include SVG diagrams in LaTeX? Is there a way to include svg figures directly into LaTeX? This is my current way to include eps file: \clearpage ...
9
votes
1answer
272 views

How to illustrate and execute a MWE within another document

In Show output of a full LaTeX document I provided a partial solution to a similar question. The following code is an attempt to simulate the running of a full MWE within another document as for ...
4
votes
1answer
677 views

chemnum package

The following minimal code using the chemnum package was designed to replace TMP1, TMP2 and TMP3 in an eps file made by ChemDraw by numbers: \documentclass{article} \usepackage{graphicx} ...
9
votes
3answers
920 views

babel's hyphenation-friendly hyphen "= in multiple languages

Why doesn't the hyphenation work with multiple languages? See code: \documentclass[a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} ...
3
votes
2answers
833 views

Combine Tikz pictures

Is it possible to combine two tikz pictures that were created using separate environments? Basically I have a macro create a backdrop that I will use often but I would like to create a layer on top ...
5
votes
3answers
3k views

Creating a Free Body Diagram in TikZ

I'm trying to create a free body diagram of an an object, more specifically the Orion spacecraft. I'm trying to create a diagram that consists of the vectors with F_g pointing downwards, F_D (drag) ...
3
votes
4answers
5k views

equation number problem

I'm relatively new to TeX/LaTeX, writing classroom notes. here's what I got: \begin{equation} \label{eqn:constantspeed} v=\frac{s}{t} \end{equation} It is very important to remember that Equation ...
12
votes
1answer
40k views

MikTeX 2.9, install packages on the fly?

I set the Install Packages on the Fly setting to Yes and try to compile my document in Texmaker, but I still get the error File [...] not found, where [...] is the package I need. Basically, I need to ...
4
votes
1answer
3k views

labeling lines of algorithms inside figure environment

I am having trouble labeling lines of algorithms that are inside the figure environment. For example, in the following code the label "\lnl{loop}" gives compilation error. This works perfectly in ...
11
votes
2answers
2k views

How to use nameref to refer to a section without including the output of any commands in the title of that section?

Background (simplified) I'm using the todonotes package to add todonotes to sections in my documents. I have created a macro to add the todonotes to sections such that they appear alongside the ...
2
votes
2answers
2k views

Where are the MathJax LaTeX symbols/environments documented?

At the following link in the MathJax documentation it lists the supported LaTeX symbols alphabetically that it supports, followed by the set of supported environments... ...
4
votes
0answers
75 views

\newcommand to make a plot command using gnuplottex [duplicate]

Possible Duplicate: Wrapping code (listings, verbatim, or other method) inside a newcommand I'm new to LaTeX and trying to write a command to plot files using the gnuplottex package (and ...
2
votes
1answer
217 views

Use of \\minted@pygmentize doesn't match its definition

Having followed the installation instructions for the minted package (CTAN), I keep encountering the error, and variations thereof, listed in the title when trying to compile the document. The ...
11
votes
3answers
3k views

Decrease length of underline in math

In math I often find that single underlined letters have too long of a line. Here is an example: $\beta\in[\underline{\beta},\bar{\beta}]$ Or perhaps worse: I can solve the too narrow bar ...
2
votes
1answer
760 views

tocloft and width of the table of contents

In the ClassicThesis class, the table of contents is set up through the tocloft package and I cannot find a way to line up the page numbers (on the right) as shown below with the thick red line. I'd ...
11
votes
2answers
635 views

How to do grid typesetting with amsmath?

Following the advice in the answer to this question, I did set a huge negative \lineskiplimit. However, it turned out that align got quite upset about this. So my question is: what would you ...
6
votes
1answer
941 views

Format title: section number flush left and title centered?

How can I format with the titlesec package that I get somethine like this (this is a twocolumn document): I do not know how to get the number to the left and the title in the center is this ...
10
votes
3answers
658 views

Poor man's double acute accent

I want to typeset the double acute accent (also known as Hungarian umlaut, usually typeset with \H{}) in a font that does not have it. Is there an easy way to "fake" it with two single accents? ...
5
votes
1answer
258 views

Can anyone explain why setting \lineskiplimit breaks align?

OK, so this is a follow-up to one of my previous questions: If you uncomment the \lineskiplimit line, LaTeX goes crazy. Why? Does anyone have an idea how to fix it (without manually changing ...
3
votes
3answers
2k views

How can I turn Vim LatexSuite on Manually?

VLS's commands such as ^J and F5 do not work always for me inside Vim so how can turn VLS manually or do some other tricks to get VLS working more often? The word "often" could mean that VLS gets ...
22
votes
2answers
25k views

Wrap text around a tabular

I would like to wrap some text around a tabular as the figure shows. Do I have to use minipage and fix the width of the table, and the width of the text on the left hand? Isn't there a simpler way? ...
5
votes
1answer
436 views

What settings for \[x]spaceskip would you suggest for Linux Libertine?

Quite contrary to my own answer here, I think that the default \spaceskip setting for Linux Libertine is rather unfortunate: seemingly, the shrink component is too high (and I end up getting to narrow ...
13
votes
2answers
791 views

Precompile header with xelatex

I read about precompiling the preamble in http://tex.stackexchange.com/a/15606/4918 and it worked fine with pdflatex but how can I do this for xelatex? I tried xelatex -ini -shell-escape ...
1
vote
1answer
440 views

How do I activate hanging punctuation with XeteX under ConTeXt?

I'm noob at ConTeXt. I want to use auto2 font with ConTeXt, I think the easiest way to do that is using the XeTeX backend. ConTeXt can do some protrusion with pdfTeX and LuaTeX, but with XeTeX it ...
56
votes
15answers
20k views

What does the draft mode change?

I wonder which changes are made by the draft option? That means what will be changed by calling it as global class option (\documentclass[draft]{<class>}) or locally for a single package if it ...
7
votes
1answer
430 views

Guaranteeing that the vertical space above and below a figure are equal

How do I guarantee that the vertical space above and below a figure (including the caption) are equal? The automatic [h!] placement is not doing this by default. In my particular case, it's leaving ...
8
votes
1answer
167 views

Space characters in text citations after page

I am using biblatex for my citations. To cite I use \citep[123]{author}. This gets (Lastname, 2010, p.____5) Reading the biblatex documentation I am overwhelmed. I found how to compress ranges how ...
3
votes
3answers
195 views

Can a pdf store meta-information (e.g. name of the program with which it was created)? [closed]

This is not a tex question per se, but I think it is not totally off-topic either. I heard a while ago, that when one creates a pdf, besides its content a pdf can also store some meta-information (for ...
8
votes
1answer
2k views

Biblatex with custom labels

Summary Can I have custom citation labels while using biblatex? Discussion In mathematics it is not uncommon to use custom labels for referring to other books/articles. E.g., "... see [Hart, ...
3
votes
2answers
757 views

typesetting a single mathematical symbol in a different font [duplicate]

Possible Duplicate: Importing a Single Symbol From a Different Font Is there a command like \mathfont[font]{}, which enables me to use a different mathematical font for everything inside ...
13
votes
3answers
2k views

How to draw something only in the magnified area (TikZ: spy library)?

I wonder if it is possible to draw parts of the images only in the maginfied node printed with \spy? \documentclass[ border=2cm, ]{standalone} \usepackage{tikz} \usetikzlibrary{calc,fit,spy} ...
6
votes
2answers
281 views

Make sure the spacing of a macro for a binary operator

I define a macro as follows: \newcommand{\abs}[1]{{#1}^{\sharp}} But I realize that $a \abs{\sqcup} b$ is not exactly same as $a \sqcup^\sharp b$: The first one does not leave enough space between ...
10
votes
1answer
262 views

Glyph alternates break hyphenation

Alan Munn explined in Use stylistic set variations only for certain glyphs how to enable glyph alternates for a certain subset of glyphs. I'm using the second method he described (the other method ...
3
votes
2answers
1k views

Show output of a full LaTeX document

A couple of days ago, I found showexpl, it is wonderful and works very well. But there is one thing missing that it doesn't let me do and it is to only show the output/result of some commands. For ...
7
votes
1answer
148 views

Is it safe to place part of texmf-local under git?

Are there any problems with placing parts (or all) of texmf-local under Git source control? Git places a hidden directory in the folders it manages. Are there issues caused by doing this; would doing ...
3
votes
3answers
3k views

Temporarily suppress two-column layout in Oxford Bioinformatics template

The Oxford Bioinformatics journal's template is one of my favorites and I use it for many of my school assignments. The template uses a two-column layout, but in an appendix at the end of the document ...

15 30 50 per page