# All Questions

4k views

### How do I find which pgf version I have installed on Windows (MikTeX)?

I'm not sure how to find which version of pgf with MikTeX installed on my computer (Windows 7 - 64 bit).
1k views

### Horizontal Spacing: double \hspace removal?

\addvspace can be used to create commands which can be stacked together without creating unnecessary padding. This is useful for creating commands which start and end with \addvspace so that they can ...
4k views

### Shifting a path horizontally between nodes

With the following extract, how can I x-shift the second edge (edge2) between n1 and n2 so that it doesn't overlap with the first? Also, is there a way to add text to each of the edges so that they ...
10k views

### Citep only works as cite?

In an ideal situation using natbib and abbrvnat, citations e.g. \citet{Jones2004} and '\citep{Jones2004}' would have given Jones et al. (2004) and (Jones et al., 2004) respectively. Unfortunately I ...
6k views

### Problem in TeXnicCenter

I have a problem in TeXnicCenter. So I have built the .tex file with Ctrl+F7. I have 0 errors, and now how can I generate the PDF file? That button - Build Output (F7) is disabled. Why? When I press ...
461 views

### TikZ. Access node's name within a .code handler.

I'd like to place variable number of additional nodes on the border of the rectangle. I suggest it to look in a somewhat following way: \node[name=R, my rectangle=top:3 bottom:1 left:2 right:1] {Node ...
23k views

### Specifying an absolute Windows path for \includegraphics

I know that includegraphics can be used in Latex to include images into the document, but how can I specify a path for that file? \includegraphics[]{picture-name} Instead of asdd.jpg I want to ...
239 views

### How to use different font and shape characters properly in headers?

I'm using Kpfonts for the text of my documents, but I'd like to use the Computer Modern italic ampersand in my headings. To this end, I've defined a command \amp to insert the proper character. The ...
614 views

### How to remove extra space after volume number in References section

When I compile my manuscript, in the references section extra space is added after the volume number. My corrector told me to remove it, but the problem I don't know how to remove it. MANUSCRIPT.TEX ...
335 views

### Citet and citep not working with hyperlink [duplicate]

Possible Duplicate: Citep only works as cite? I used bibtex/natbib to compile my thesis, but unfortunately \citet and \citep don't connect with the hyperlink. In short: \cite{KEY} gives ...
4k views

### How do I use LuaTex in MikTeX?

I am using MikTeX 2.9 version and although the manual says I can use LuaTeX, there is nothing in the TeXworks menu. I can see all the other members of the TeX family but none for LuaTeX. Can someone ...
3k views

### TikZ: Alternative for use as bounding box? Or a another way to handle it in external pictures?

I've been using TikZ to draw graphs (pgfplots) and pictures for my physics courses etc. Because I like it when (for example) the box of graph is centered on the page without looking at the stuff that ...
975 views

I am using scrbook and would like to tune my table of contents to look like the one in this book : http://biblefacts.org/church/Charisma.pdf , with a text saying "Chapter #" on top of each entry. I ...
967 views

### Layout for certificate

This is my environment for the certificate: \newenvironment{alwayssingle}{% \@restonecolfalse \if@twocolumn\@restonecoltrue\onecolumn ...
379 views

### Creating a table that uses all available space

Is there a way to use tabular or some other method to create a table that expands to use the entire available space? So if I created a table with 4 rows, each row would use 25% of the space. Thanks! ...
6k views

### Will two-letter font style commands (\bf , \it , …) ever be resurrected in LaTeX?

I understand that \bf and \it are now obsolete in LaTeX and that \textbf and \textit are proper, as they produce more sophisticated (in particular, cumulative and properly kerned) changes to font ...
1k views

### Definition of cotan function [duplicate]

Possible Duplicate: Define additional math operators to be typeset in roman Is the cotan function defined somewhere? I cannot find it. It is defined as cotan(x)=cos(x)/sin(x). Should it be ...
5k views

### Showing the bibliographic entry in a popup when you hover over the citation key

I thought it would be useful to have bibliographic entries displayed as a tooltip so readers are not interrupted by following hyperlinks or trying to find the Bibliography, so I created the following ...
1k views

### How to find the name of a font?

I am using PDFLaTeX, not XeLaTeX. How could I find the short name of a specific font? For example, I known that \fontfamily{phv}\selectfont is URW Nimbus Sans (a Helvetica clone).
251 views

### Postprocessing PDF presentations

Few years ago I had been successfully using ppower4 for PDF postprocessing. It seems that it is no longer maintained, do you know a good replacement for this?
311 views

### What is accents commands behavior ?

I've read LaTeX sources to define the real behavior of accent commands and I've failed. It states with this: \def\DeclareTextAccent#1#2#3{% \DeclareTextCommand#1{#2}{\add@accent{#3}}} i.e. it ...
1k views

### Automatically start the necessary pdflatex runs if .tex has changed (MacOS X)?

I read about Latex Daemon, which seems to automatically start a new latex run, when the source document (.tex) has changed. Can somebody recommend me a similar solution for MacOS X (as Latex daemon ...
1k views

### Centering xymatrix in equation environment

The xymatrix diagram does not seem to vertically align when grouped in an equation environment. For example, this code produces the following image (which seems to place the xymatrix 2.5em lower than ...
2k views

### Getting numbers to appear in circles

I have a linked question that I previously found on here, but I cannot make any comment yet to post. The link being: Good way to make \textcircled numbers? My question was how could we use this ...
372 views

### Trouble with contextuals in LuaLaTeX with fontspec - trying to get internal long Ss to work

I have been trying to get a project of mine set with internal long Ss. Using fontforge, I have tried to set up the contextual (both [calt] and [cswh]) feature - but when I do, I get no results in the ...
615 views

### Adding a list of bios to the book class

I am busy with a document where I need to add an Appendix with a list of names and short biographies (about a paragraph each). I would be happier if I can do that as I describe the person in the ...
1k views

### Double square bracket

I need to have 2 square bracket matrix on the same equation line. I'm able to do just for a single square bracket matrix (for \xi) with below \xi = \left[ \begin{array}{c} \xi^1 \\ \vdots ...
1k views

### Large $\forall$

How to get larger $\forall$ symbol? Adding \Big\$ doesn't work.
356 views

### Double braces in equation

I'm trying to create the attached image formulae. But I don't know how to get the double braces to work. This is my attempt with only single brace. x(t_n) = \left\{ \begin{array}{l l} 0 ...
2k views

### Get an entry's abstract using bibtex and harvard.sty (or any other means)

I cut-and-paste my bib file entries using websites' "export citation" buttons (e.g., jstor or ssrn.com), often these come with an "abstract" entry. But I've never seen any bibtex or harvard.sty ...
7k views

### How can I superimpose LaTeX / TeX output over a PDF file?

I have a form as a PDF file. I would like to use LaTeX/TeX to overlay my text over the form, and send the output to either a print or another PDF file. Is this possible? How would I go about it?
1k views

### Showing Solutions of the Questions “separately”

There is a class for LaTeX called exam. Using this class, one can write questions and answers for exams. The answers are displayed under (after) each question. My goal is to have all answers in the ...
944 views

### XeTeX + movie15_dvipdfmx — Use of \pdfmdfivesum doesn't match its definition

I'm trying to embed movies in my document. That would normally mean use the movie15 package but since I'm also using the xetex engine I have to use movie15_dvipdfmx. (See “ Can XeLaTeX | LuaTeX ...
1k views

### Emacs, RefTeX and Cleveref – can they work together?

Trying to look for an answer in the net yielded only one questions and one answer which I could neither understand nor use. On tex.stackexchange I found only this question which was answered but I'm ...
925 views

### Conditional “if a package is available”

I'd like to do something like the following (in pseudo-TeX) \ifpackageavailable{packagefoo} \usefoo \else \usefooreplacement \fi For example, I know that a template file I wrote is used by people ...
4k views

### Align edges with anchor other than center

It seems that, when drawing an edge between two nodes, TikZ defaults to aligning the edge with the 'center' anchors of the two nodes. More precisely, the edge points from the center of one node to the ...
1k views

### smashoperator overlaps big parentheses with limits

\smashoperator pulls big parentheses too close causing them to overlap with the limits. Is there any workaround? Edit: An ad-hoc solution is to force an appropriate amount of empty space to the ...
2k views

### How to test if a number is negative

Is there an easy way to test if a number is negative? I don't need a general solution, but it does need to be able to handle a floating point value. I was using this solution from tex.ac.uk until I ...
82 views

### Command for formatting a special term

How can write a new command which formats a certain 2-word-term always in a special font, all uppercase, with the line-height of the uppercase characters being the same as the line-height of down-case ...
289 views

### Hyperref mysteriously enabled or who loaded hyperref

I can't figure out where do I load the hyperref package. I know it sounds odd, but I scanned all my preamble and couldn't find a single \usepackage{hyperref}. I feel really stupid, but I don't know ...
18k views

### Recommended Windows LaTeX editor, similar to Kile ? [duplicate]

Possible Duplicate: LaTeX Editors/IDEs My Linux box has crashed, so I'm looking for an editor on Windows (should work on Win7) that is similar to Kile - could someone help?
166k views

### Tabular: title above and caption below?

I have a table that I would like to put the Title above and a caption below. Intuitively (though I know how troublesome intuition can be in something like LaTeX), I should be able to do as below: ...
2k views

### How to get a 4 by 4 chessboard? Or any other size of board.

I've seen some package to draw chessboard on LaTeX such as skak and chessboard. However, after reading the documentation, they don't seem to support a change of the board size. I'm talking about the ...
7k views

### Align large vertical delimiters (brackets) to rows of a table?

I’m trying to typeset a table of data, with brackets (i.e. }) at the right-hand side to show a classification of the rows.  Something like: ----------------------- | Aardvark | Armenia | \ ...
1k views

### pdflatex with index suddenly fails with undefined control sequences

The document I have been working on has built the index fine in the past. I have since made some changes to Part and Chapters, and re-arranged things in the preamble a little. Now pdflatex, mkindex, ...
2k views

### amsthm environment and colorbox

I'd like to customize the amsthm command a little bit but I cannot find the relevant lines in the (undocumented?) .sty. How can I put a colorbox on the name of the environment ...
1k views

### \eqref in italic math environnment

When using the amsthm package with the \eqref command, things may not be correct. When the main font of a theorem is italic, the \eqref is non-italic while \ref is italic. Please, see the provided ...
5k views

### Adjusting vertical space between TOC entries using Beamer

I have a rather lengthy table of contents for a presentation. Beamer is not compressing the vertical space between TOC entries, but instead running the last item off the bottom of the output! Is ...