6
votes
2answers
4k views

Deleting blank page after title page

Using amsbook, I get a blank white page after the title page and before the TOC. Any way to delete this page? Many thanks. Here is a MWE, for what it's worth: \documentclass[openany]{amsbook} \...
6
votes
2answers
2k views

Have XeLaTeX use the default Times font in Ubuntu

Using the Texlive PPA backport to Ubuntu 12.04, I am having trouble getting XeLaTeX to use a standard times font (i.e. one that would not be embedded). I am using e.g. \setmainfont{times} and \...
3
votes
0answers
602 views

Beamerposter example does not work [closed]

I want to create a poster using beamerposter. I am trying to compile this example from the package documentation. Without touching anything, when I compile the example-style-I6dv.tex, I obtain 75 ...
8
votes
1answer
227 views

Avoid infinite compiler passes with biblatex ibid citation styles?

I've run into a problem when using both gb4e and the authoryear-icomp style of biblatex. [I mistakenly thought gb4e had something to do with this, so this question was originally named Avoid clash of ...
10
votes
2answers
174 views

Strange spacing when putting a math macro before a binary operation

I found there to be very odd spacing when using a math macro just before a binary operation. Here is a minimal example: \documentclass[11pt]{article} \usepackage{amsmath} \DeclareMathOperator{\id}{id}...
9
votes
3answers
5k views

pgfplots with symbolic x coords and error bars

I am trying to plot explicit error bars like this: \begin{tikzpicture} \begin{axis} [symbolic x coords={Lighting,Computers,Total}] \addplot+[only marks] plot[error bars/.cd, y dir=both, y explicit] ...
7
votes
2answers
736 views

Not having “Chapter” appear in chapter names

If, in amsbook, I write something like \chapter{My great chapter} it appears in the text as Chapter 1. My great chapter I would like to make it appear simply as 1. My great chapter Anyone have ...
9
votes
1answer
5k views

set minor grid values in pgfplots

I have a weibull plot (at least I try to create a decent one), based on the code shown here. However I do want to have a minor grid as it typically appears in log plots. Here however the y axis tics ...
8
votes
1answer
124 views

hyperref generated bookmarks pointing too low

I'm using the hyperref package to create a Table of Contents with internal links (bookmarks in Acrobat Reader). However, I don't like the fact that it jumps a little too low when the links are clicked....
5
votes
1answer
296 views

pass xkeyval option to class

I have read about passing options to classes in this thread, but do not understand what I'm doing wrong. My class is defined like so, using xkeyval and based on memoir. \NeedsTeXFormat{LaTeX2e} \...
15
votes
1answer
2k views

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

Is there any difference between \paragraph{} and \paragraph*{}? When it's used (if nothing has been modified before, i.e. like in this post: Paragraph header), there's no difference in the created ...
5
votes
1answer
2k views

multirow and text wrapping

I have a problem using multirow along with text wrapping when spanning cell contains a lot of text. Here is my code: \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage{...
5
votes
1answer
254 views

Emacs+AUCTeX lost highlighting

Adding additional highlighted keywords in Emacs+AUCTeX messes up conventional highlighting. My code: (defvar my-new-face (make-face 'my-new-face)) (defvar my-another-new-face (make-face 'my-another-...
7
votes
1answer
236 views

Random coefficients in the polynom package?

I am using the probsoln package to generate random math quizzes. For polynomial division, I can generate random integer coefficients, but I had planned on using the polynom package to auto-generate ...
11
votes
2answers
1k views

How to highlight all words of the form [0-9][A-Za-z0-9]* immediately following an equal sign?

I am using the Latex Listings package to include code in a document. I need to implemented syntax highlighting similar to what you see in a standard IDE. I've been able to assign colors to comments, ...
7
votes
2answers
821 views

Unicode characters changing order in listings (XeTeX)

I am trying to input code listings with unicode characters and everything seems to work (more or less) except some unicode characters being displayed out of order. For example instead of służąca ...
19
votes
1answer
4k views

How are amounts of money to be typeset?

Writing a letter to Americans, I have wondered how to properly typeset amounts of money. As far as I know, the $-sign is supposed to precede the number, but I am clueless of the rest. Here are some ...
10
votes
2answers
589 views

The different meanings of LaTeX's \stop command

we know that \stop will cause LaTeX to stop parsing and output what it has processed up to this command. But then I discovered another way to use it, as demonstrated in this minimum working ...
5
votes
1answer
2k views

Extend page “width” or “margin” for todonotes comments or other package comments to sit in

Basically, I would like to know how to achieve margin/width extension, similar to what Word/OpenOffice does when users insert comments. I am using the todonotes package and am collaborating on a ...
7
votes
1answer
199 views

Automatically convert \left to \Bigl

I have a LaTeX file, which includes tons of other auto-generated LaTeX files containing TikZ figures. Suppose I want to make every \left( in the TikZ figure appear at the same, fixed size, say \Bigl(. ...
2
votes
1answer
165 views

How to inline tikzexternal.sty

I am preparing a document, which uses pgfplots, for submission. I externalized figures etc. successfully. Though, now I'm facing a serious problem: On the target system the tikzexternal.sty file may ...
8
votes
2answers
300 views

How do I suppress the whitespace above an equation block at the page top?

How do I suppress the whitespace above the equation block at the page top ? It is added to the top margin, and I don't want that to happen. I know that \abovedisplayshortskip controls this for the ...
11
votes
3answers
1k views

Punctuation in bibliography with multiple languages

In a document written in a given language (in my case French but it may not matter so much) I have a bibliography mixing entries in different languages (in this case French, English and German). I ...
1
vote
0answers
83 views

Manipulating Bibtex reference fields [closed]

I need to use a specific format for my reference lists for my publications, however, I don't really understand how I can manipulated BibTeX to do what I want. I am trying to get the following format: ...
6
votes
3answers
924 views

Adding a Known Trend Line to a tikz plot rather than connecting the points

The graph below is currently plots a point at each value of x that is an integer between -10 and 10 and connects them. What I'd like to do instead is more like this: First, I'd like to add a red, ...
5
votes
3answers
754 views

How can I highlight text before a character with listing?

All is in the title. I would like to add a color to the text before a character with listing package. For example, I would like to add a color to text between the beginning of a line and : or =, in a ...
5
votes
1answer
706 views

How do I remove tick labels in latex using pstricks?

On my old Mac running OS 10.4.11, using TeXShop 2.26 I would use the pstricks package to draw figures. In those figures I had neither tick marks nor tick labels. I have recently switched to a new ...
5
votes
0answers
143 views

How to draw a split arrow [duplicate]

Possible Duplicate: How to draw a Sankey Diagram using TikZ I want to have an arrow which splits up and one end is pointing then downwards. When you compile the code below you should see my ...
2
votes
1answer
317 views

adding vertical space conflicts with inputenc using utf8x only

For context, this question was raised by the answer to a previous question. I'm trying to design a title page for a beamer presentation, although this could be a more general issue. I use the ...
7
votes
4answers
567 views

cleveref: configure symbol §/§§ for all sectioning types once time

I want to configure the section symbol § (singular and plural form §§) indistinctly for all types of sections (part, chapter, section, subsection, paragraph and so on). I use the cleveref package, but ...
2
votes
1answer
94 views

Preserving “\label” in the final PDF to retrieve it with poppler?

Our PDF contains lots of \label{foo} commands, where we jump to from links from within the PDF (using the hyperlinks package) When I tried to jump to there from within our PDF displaying application, ...
8
votes
2answers
4k views

How to determine the height of a beamer block?

To keep content from jumping between slides in a beamer presentation, I would like to use an overlayarea environment. By trial and error, one can determine the appropriate amount of space to reserve. ...
9
votes
2answers
617 views

How to type a tall / symbol?

Say I want \documentclass{article} \begin{document} \[cl(V, q) =\left (\sum_{r=0}^{\infty} \bigotimes^r V\right)/\{v\otimes v = -q(v,v)\}\] \end{document} How to make the "/" symbol longer to ...
7
votes
1answer
842 views

How to label arrows in tikz-cd diagrams with matrices?

I'm using tikz-cd for some commutative diagrams, but if I try to label an arrow with a matrix, & appears to be "undefined control sequence". So all the entries in a row get concatenated, and it ...
5
votes
1answer
3k views

LaTeX advanced use of subcaption package

I am trying to create a figure with subfigures aligned both horizontally and vertically in the same figure to explain this better i attached a primitive drawing. The labels are not of importance in ...
3
votes
1answer
113 views

How to get showkeys bugfix into tools package distribution

Almost a year ago, the showkeys package was updated to v3.16 in response to a bug report: http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=tools/4173 Showkeys is supposed to be part of the tools ...
8
votes
2answers
2k views

How to type higher order derivatives using Lagrange's primes notation

This is what i have been using but it dosen't look quite right $$\large y', y^{\prime\prime}, y^{\prime\prime\prime}, {y^{\prime\backprime\prime}}, {y^{\backprime\prime}}, {y^{\backprime\prime\...
2
votes
1answer
634 views

How do I make text to appear in multiple columns as in newspapers on Texworks?

How do I make text to appear in multiple columns as in newspapers on Texworks instead of rows?
4
votes
1answer
647 views

Spacing between footnotes and footnote mark

The school I attend requires that footnotes be single spaced with a blank line in between. That is easy enough with \footnotesep, but the first footnote has to be close to the footnote mark. Not sure ...
4
votes
1answer
529 views

Filter by value when reading and calculating data using pgfplotstable

I am trying to plot data from a file, using pgfplots for the plot and pgfplotstable to read in the data and calculate a new column (cummulative values from another row), which is plotted as well. My ...
23
votes
2answers
1k views

Implementing a syntax: Smooth curves with specified points and tangents

Note: the following question is similar to the final version of this question, but none of the answers to that question appear to answer my question. Often, I find it desirable to specify a curve by ...
8
votes
4answers
2k views

Shaded region between the area and a circle

How can I draw a square whose side is 6 inscribed in a circle and make the program display the shaded region between the square and the circle
9
votes
1answer
435 views

Reformatting LaTeX code after excel2latex

I use excel2latex to generate tables from Excel. The issue is that excel2latex generates really horribly formatted code with extra spaces, misaligned, etc. Does anyone have another solution to ...
2
votes
1answer
102 views

Modify tex file to move chapter headers upper

I'd like to modify this code to make chapter titles appear uppper, so more text can get into the first chapter page and modifiy the TOC adding dots from the title to the page number. How can I do it? ...
4
votes
1answer
194 views

putting the title in the header for an article

For various reasons, I need to put my name and title in the header of a LaTeX document. The reason is I have a page limit and need the extra space which is taken up by \maketitle. Does anyone know ...
6
votes
2answers
2k views

Plot in TikZ: f(x) = 1/(x – 2) + 3

I am trying to plot the function f(x) = 1/(x-2) + 3 using TikZ, however I get that the domain is undefined. What code should I type?
13
votes
1answer
272 views

Box around raggedright links spanning two lines extends to right margin

I need to use boxed links and ragged right text. The problem is that when a link spans two lines, though the link is broken correctly (when using pdflatex) the box around the linked text extends until ...
6
votes
1answer
1k views

Change chapter command

I am using the book class, is there a way to modify the \chapter command to avoid the "Chapter #" above the chapter name and keeping it numbered? Normally I get, for example Chapter 2 The flight of ...
6
votes
1answer
1k views

How to ensure that Droid Sans and Garamond are available on the system

I’m writing a class file and wish to use Droid Sans and Garamond which is no problem width \usepackage{droidsans} and \usepackage[garamond]{mathdesign}. With my TeX Live 2012 on Mac OS X eveything ...
6
votes
2answers
873 views

National flag using TikZ [duplicate]

Possible Duplicate: Is there a collection of national flags in TikZ? I need to draw a Kenyan national flag using TikZ or using TeX in general.

15 30 50 per page