# All Questions

62k views

### No indent in the first paragraph in a section?

I am just curious that the following format looks good to you or not? The preamble I used is just \documentclass[12pt,a4paper]{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb} ...
26k views

### Differences between \stackrel and \stackbin

What are the differences between \stackrel and \stackbin? In what situations is it better to use one or the other?
893 views

### How to create roller coaster text?

I want to specify a curved base line (rising and falling like a roller coaster), then to have the text positioned such that it flows along that line. Is there a way to achieve this?
2k views

### Removing extra space with \pmod command

When using the \pmod command as a subscript to a sum, I often encounter some extra unwanted space. For example, writing $\sum_{n \equiv 1 \pmod{k}} ...$ produces the following image: Does ...
459 views

I am trying to understand how fonts work with (plain) LuaTeX. I use the standard ConTeXt suite, and I made a luatex-plain format using the file luatex-plain.tex from the distribution: luatex --ini ...
649 views

### Siunitx: alignment, parentheses and font size

I'm trying to align numbers (that are bolded, between parentheses, etc.) by decimal points in table columns while using the auto-round option of the siunitx package. The following code doesn't work: ...
4k views

### Problems typing in Russian (MiKTeX)

I'm trying to make a LaTeX file in Russian. I wrote the following in the preamble: \usepackage[cp1251]{inputenc} \usepackage[T2A]{fontenc} \usepackage[russian]{babel} However, when I try to make ...
5k views

### How can I compile different .tex file on click on typeset in TeXShop? (MacTeX 2011)

My problem is that I want to have different .tex files for the preamble, the presentation aroundings (my target is a beamer PDF file) and the content of the presentation. Mostly I'll be working on ...
311 views

### Biblatex: Per-entry changes to citation field

This should be a relatively quick question. I'm using Biblatex's authoryear(-icomp, not that that really matters here) citation style, but there are a small number of works where the author-year ...
2k views

716 views

### Problem with nested \noexpand and \edef

I have a LaTeX problem and want to explain it with the following code snippet: \documentclass{article} \begin{document} \def\myline{A} \edef\myline{\myline \noexpand\bf B} \edef\myline{\myline ...
2k views

### Build Sequence to create a PDF with citations from .bib

I seem unable to configure TexMaker's quick build so that if I have a .bib file, and a .tex file in a directory, and I click 'Quick Build' once, I get a PDF. Can someone either tell me the sequence ...
2k views

### Drawing Mass Spring Damp Systems in TikZ [closed]

I'd like to draw a Spring-Mass-Damping system by TikZ. I found the example in Drawing Mechanical Systems in LaTeX But I have problems compiling it. If I delete the damper code \draw [dampener] ...
239 views

### created a fixed page number of an index entry

(First, I would like to state that I am aware that this is a ridiculous and idiotic question. It is for the purpose of a ridiculous and idiotic joke.) I'd like to use \index to add an entry that will ...
85 views

### How to prevent page breaks inside words? [duplicate]

Possible Duplicate: Suppressing hyphenation across pages I would like to prevent page breaking from happening inside a word. In other words, hyphenation should not take place between pages. ...
9k views

### Block comments with *% and %*

I know the package comment which allows to use : \begin{comment} Lines to comment \end{comment} This is not very friendly to use. I would like to have the following possibility: *% Lines to ...
2k views

### Increasing the height of footline in a beamer slide

I am using the following to customise my footline, but it does not seem to change the height of the footline. What am I missing \setbeamertemplate{footline} { \leavevmode% \makebox[\paperwidth] ...
1k views

### Improving typesetting of sums with long limits

This piece of code \documentclass{article} \usepackage{mathtools} \begin{document} ...
41k views

### Big integral sign

Is there a possibility to draw large integral signs? I have found the package bigints but I have the feeling it is not very professional... Any better idea?
2k views

### Web links in the bibliographical labels

The class for the AIMS journals has one nice feature: In the bibliography, one can click over the label of a bib reference and the AMS' MathReview pops out in the browser. See an example. I used to ...
525 views

### Including path diagram in Sweave

I use the following code to do sem analysis and draw path diagram with sem R package. library(sem) R.DHP <- readMoments(diag=FALSE, names=c('ROccAsp', 'REdAsp', 'FOccAsp', ...
872 views

I'm attempting to remove a double space that seems to be automatically put after the display of list of figures, table of contents, etc. What I mean visually is show as follows: What I would like ...
15k views

### \marginpar with options

I was trying to understand what Leslie Lamport said in his book about \marginpar options. He says that ... \marginpar[$\Rightarrow$]{$\Leftarrow$} makes an arrow that points towards the text, ...
1k views

I am familiar and kind of like this font, from (god forgive me) "Microsoft Word" program. It's actually a hebrew font. An example of the font is at this page I would like to know if it's possible to ...
10k views

I'm attempting to modify the Table of Contents in my document. Currently, chapter one in my document is listed as 1 Introduction What I would like to see is Chapter 1 Introduction Seems ...
2k views

### Capitalization of Titles and Headers

I'm attempting to capitalize certain titles or headings in my LaTeX file. Specifically, if I want to use \printindex, \listoffigures, or \listoftables the title heading on each of these will be ...
27k views

### How can we draw a Christmas tree with decorations, using TikZ?

I would like to use TikZ for drawing a christmas tree. Here's a start, I used the lindenmayersystems library for drawing a tree: \documentclass{article} \usepackage{tikz} ...
126k views

### Scale image to page width?

I use \inclugraphics[scale=TRYING TO GUESS THE NUMBER FOR PAGE WIDTH]{...} but I find this errorsome, is there some ready flag to set the image to page width? I usually use PNG and JPG photos.
3k views

### Scaling colormaps with pgfplots

I have two surface plots, which I would like to have to same color for the same height. So, as the first plot is dark blue for f(x,y)=0, the right plot should also be dark blue for f(x,y)=0. However, ...
2k views

### REVTeX affiliations without superscripts

I tried searching for this, but wasn't turning up anything. Maybe I missed something. I have multiple authors, all with the same affiliations. Is there a way I can get REVTeX to suppress ...
582 views

### Subtable inside a table / Adjusting table column width on the fly

I've been fiddling with the following table for a while, and have some minor issues. \documentclass{article} \usepackage{threeparttable} \usepackage{multirow} \begin{document} \begin{table}[!ht] ...
347 views

### Subcaption with margin to the left only [closed]

I have a subfigure and I need to move its subcaption more to the middle of the subfigure. So I want to use something like \subfigcapmargin, but only with the margin on the left side, not on the right ...
367 views

### Compatible versions of AUCTeX and Ghostscript on Mac

When I run preview-at-point (in emacs), I get a minus (do not enter) sign rather than the figure. I followed the suggestion here and downloaded the development version of AucTeX. The problem remains. ...
853 views

### Enumerate environments in abstract [closed]

Consider usage of the standard enumerate environment inside the standard (article) abstract environment: \begin{abstract} We discuss several exciting topics: \begin{enumerate} \item Topic 1, ...
217 views

### Can I write a macro for placing a vertical, breakable rule along arbitrary paragraphs without an output routine?

I answered a question last week about creating a continuous but breakable rule next to an arbitrary number of paragraphs in Plain TeX. My solution gathered the paragraphs to rule in a vbox; my output ...
364 views

### Easiest way to make a document using TTF portable

Although I've found a way to install fonts, I would like to distribute a .tex document along with any font it's using and be able to compile it without having to install these fonts. For instance, I ...
214 views

### Layout problems with tables and graphics (eps files) - they're all over the place!

I know I'm doing something dumb here but I can't figure it out. I am creating a .tex file with a header: %% XXXXXXXXXXXXXX created this file. \documentclass[english]{article} \usepackage{avant} ...
961 views

### Easy-to-use reference-able environment for restating theorem-like environments?

This question is a development of the same issue as this one; following my own answer and later comment there, I decided it deserves a spin-off. I would like to define an environment for restating ...
788 views

### Layout Problems due to Using the Libertine Font in Beamer

Using Linux Biolinum as the sans font in beamer leads to layout problems for several themes. This seems to be related to a bug in the font, since it does not provide the right x-value, see here. I am ...
987 views

### Wrong links in bibliography using hyperref with options pagebackref and hypertexnames=false [closed]

I am using the hyperref package (v6.82m) with MiKTeX 2.9. I am using the option pagebackref so as to obtain a bibliography with links to the pages where the references are cited. I am also using the ...
3k views

### How to change the level distance in tikz-qtree for one level only?

I am trying to draw a tree for a game theory problem. The problem is that the label p1=0.5 crosses label I. I would like to adjust the level distance of the first level, but the \tikzset{level ...
328 views

### Beamer: Arrowing forward with “split frames” and backwards with non-split frames. Is it possible?

I faced an annoying situation using the beamer class. The situation: During a presentation it is helpful to use "split" frames (produced by commands like \pause etc.). But when there is a discussion ...
7k views

### Need to do some changes to pgfplots axis

I am still in the habit of learning TikZ, barely started using pgfplots to create my images Although I am still not sure what the best way to do so is, I need to create the image below. My problems ...
162 views

### Smaller font sizes in boitecoloriee environment gives bad result

The boites package defines environments that allow page breaks inside framed boxes whose edges may be variously fancy. The bundle includes a few examples (shaded box, box with a wavy line on its side, ...
3k views

### How do I set the aspect ratio of 2D (flattened 3D) surface plot?

I am trying to do a 2D surface plot, and the way to do this in pgfplots seems to be making a 3D surface plot, and then adjusting the view. And this works fine, until I try to adjust the aspect ratio. ...
332 views

### Wrong area plot

I'm trying to draw a plot from this table: ip Min Std 0 19.86764349 97.20356138 16 19.86764349 250.079659 22 19.86764349 168.2253117 23 19.86764349 169.2514577 33 ...
619 views

### Problem with \acs from acronym package: No link in list of acronyms

It appears that when using the acronym package, a link including the page number is only created in the list of acronyms when using \acf, but not with \acs nor \acl. This is a problem in the following ...
2k views

### Package trackchanges: problem with UTF8

the package trackchanges doesn't seem to work with utf8 encoding. Did somebody encounter the same problem? Does anybody have a solution ? Minimal example : \documentclass[12pt]{article} ...