# All Questions

2k views

### Interline spacing

What TeX/LaTeX parameter specifies the distance between: the bottom of one line and the top of another line I don't think baseline skip is what I want (since it measures the distance between the ...
155 views

### Babel + Hebrew + aeguill incompatiblility

(Question split off from here.) If you try to use the aeguill package (which adds some guillemets to the ae fonts) with Babel and Hebrew: \documentclass{standalone} ...
169 views

### plain xetex page labels

there are some PDF files that some reader displays the printed page number as the current page number. I also saw, that this can be achieved in latex with hyperref package. what I'm look for is ...
227 views

### Scanning use error while compiling Devanagari text

I tried to run the Latex code posted by Stephen Kottwiz as an answer to this question: How to make Sanskrit Title in Devanagari Package Here's the same code repeated: \documentclass[10pt]{article} ...
293 views

### XeTeX/mathspec punctuation issue

In a previous question, a solution was given for changing the font of punctuation marks in a math environment when using mathspec. Unfortunately, this solution gives the punctuation marks in italics ...
32 views

### conditional usepackage given documentclass [duplicate]

Possible Duplicate: Which document class is being used? How would I conditionally usepackage{enumitem} if the document class is memoir (but not beamer)? Could I use the etoolbox ...
191 views

### Switching math-mode numerals between serif and sans with the package mathspec

This may be a trite question, but I haven't found an answer and my tentative at it doesn't work. I am trying to set a document in which I use both serif and sans numerals in math mode. I am running ...
642 views

### How to align a set of my equations?

I just wan't to align the equation like this example (Of course, I can't align these equations on the web page): ∵△ABC ≌ △A′B′C′ ∴∠ABC = ∠A′B′C′ ∠ACB = ∠A′C′B′ ∠BAC = ∠B′A′C′ If I use &, ...
1k views

### uppercase and \spacefactor

Apparently, \uppercase forgets about the \spacefactor at the end. For example, {What is the spacefactor?} \the\spacefactor. returns What is the spacefactor? 3000. while \uppercase{What is ...
5k views

### piecewise function

So this is a piecewise defined function I have that I need to talk about: f(a,b) = \left\{ \begin{array}{lr} \text{open} & : \text{RMSD}_\text{s-open}\ge6, ...
36k views

### beamer style text box

If you're using beamer you can do some nice text boxes using: \begin{block}{block title}content of block\end{block} Which gives a text box something like this (the box with the header Esimerkki): ...
42k views

### How do I put text over symbols?

This is difficult for me to explain, but how do I put words over a symbol? For instance, I want to add words over an equal sign. Anyone know the command/syntax for that? Also adding ^ doesn't cut ...
849 views

### TeXworks linux vs windows

I have some documents that require extensive use of BibTeX files, and on the windows version of TeXworks there is the possibility of running pdflateX+MakeIndex+BibTeX, which is not present in the ...
4k views

### How to plot atan(x), sqrt(x) using PSTricks?

For example, this code works: \documentclass{minimal} \usepackage{pstricks} \usepackage{pst-plot} \begin{document} \begin{pspicture}(-5,-5)(5,5) \psgrid[griddots=10,gridlabels=0pt, subgriddiv=0, ...
1k views

### Compiling tikzmanual example with chains and branches

Does someone know how I must compile the example of the tikz/pgf user manual (v2.10) in section 28.5: \usetikzlibrary{chains} \begin{tikzpicture}[every on chain/.style=join,every join/.style=->, ...
229 views

###  don't work with TOC?

If I write this line of code \subsection{Ranger $$n$$ boules distinguables dans $$M$$ boîtes} I obtain an error over the second \) (./Probabilité.toc ./Probabilité.toc:8: LaTeX Error: Bad ...
1k views

### How remove dot after section number in ToC with babel's spanish?

I'm using the book document class and the babel package with the spanish option, I have a ToC like this: CHAPTER NAME 1.1. SECTION NAME 1.1.1. Subsection name 1.1.1.1. ...
124 views

### Where to put floats definitions?

I always use floats for figures, tables, graphs, and any other object that is not part of the text. LaTeX do a really good job. Normally I put the definition after the paragraph that contains the ...
848 views

### ifthenelse conditional & macro

Why I get the error below if I use the \ifthenelse{\boolean{@parts}}% {% }{} conditional (defined into classicthesis.sty) you try to comment it, you don't have any error? ...
172 views

### dtx file and history

The \changes command of DTX file is used to record changes. The \PrintChanges command print the list of change, sorted by number ... except when a number is greater than 10. To see the problem, I ...
455 views

### Matching the delimiters \{ and \} in AUCTeX

I'm using AUCTeX and would like the delimiters \{ and \} to be matched. How can I (permanently) achieve matching of these delimiters? The link I provided indicates that I should edit a syntax table, ...
766 views

### beamer: creating a special handout using pgfpage

I'm trying to make a sort of "trainer's guide" from a beamer presentation using pgfpage (cf. example below), but I have one problem: the handout does not work correctly for the last frame - and I ...
2k views

### Set header and footer rule color in memoir

Is there a way to set color for header and footer rule in memoir class? Using the following code: \documentclass[ebook,12pt,twoside,openany]{memoir} \usepackage{lipsum} \usepackage{graphicx} ...
29 views

### Chapters on the same page or not displaying parent counters [duplicate]

Possible Duplicate: Start new chapter on same page Using the scrbook class so far, what I want is either to get new chapters to start on the same page as the last one (after a reasonable ...
2k views

### Coloring a black and white PDF graphic

I have a graphic in PDF format (originally converted from an SVG) that is monochromatic (black on white). Is it possible using TikZ or PSTricks but not (Illustrator or Inkscape) to include this image ...
602 views

### Creating temporary definitions for commands

In the context of writing something like homework solutions for a math class, I often face an awkward situation. Each problem will have some idiomatic functions that are cumbersome and error prone to ...
4k views

### Problem with quick build [closed]

I just started using texmaker and have now faced a problem with viewing the made file as a pdf-file. I have selected the PdfLaTex + View PDF setting from the Quick Build Command -list. And next to the ...
195 views

### Properly reference figure? [duplicate]

Possible Duplicate: Figure numbers using the section number I have a figure inside a section, like: \subsection{Something} \begin{figure}[htbp] \centering ...
41k views

### gif image in beamer presentation

I wish to display some animations in my beamer presentation. The most trivial way that comes to my mind is to use a gif image. How can I put it in the presentation and what should I use to display it? ...
280 views

### Stacking tables with the geometry package included

I am new to LaTeX. I am trying to stack tables one on top of another but I seem to be having a problem doing that while including the geometry package. I am doing this in order to simulate very ...
194 views

### How to do y-split for tree nodes in pstree?

As I need to draw lines between edges, I'd like to have y-splits when there are multiple child nodes. At the moment I realized it through a hidden node and nodesep=0. Unfortunately, I don't know of ...
303 views

### Whitespace before \cite that ends a sentence or a paragraph

If I summarize content from another source, I'll use \cite to reference the author. In natural sciences it seems to be standard to use \cite at the end of the sentence or paragraph that containts ...
14k views

### Change the \frametitle font size; height also affected?

I want to change only the \frametitle font size. Changing this, is the height of the frame title going to decrease also? Because I want that. I'm using the Warsaw theme.
1k views

### How to adjust brace size for nested braces?

How can I adjust the size of the outer braces to make the following equation neater? \documentclass[a4paper]{scrreprt} \usepackage{amsmath} \begin{document} \[ M = \left\{ x \in X : ...
2k views

### Including Hebrew text in a non-Hebrew document (Babel not working)

I need to introduce one Hebrew word in a document. I have been trying to add an hebrew option in my Babel includepackage command, as in the following code, but it does not work: it triggers a clash ...
310 views

### What are some quick ways to turn an article into presentation slides?

My article is like \documentclass[10pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} \section*{...} ... ...
289 views

### Check if non-empty subsection exists under another section

I'd like to try to make a LaTeX class which enforces a number of (non-empty) sections to exist-- if the user doesn't define them manually, then some default section content will be created. ...
395 views

### Math slides looking like notes

I have seen some slides that look close to notes. For example,this one. I wonder what templates they are created? Not seem like by beamer, as there are more contents in each slide and not fancy at ...
613 views

### xelatex memory problem [closed]

I have problem while running xelatex: TeX capacity exceeded, sorry [main memory size=1500000]. I tried increasing memory limits in texmf.cnf (also ran fmtutil-sys), but I hit maximum allowed and it ...
492 views

### Numbering trees/diagrams in tikzpicture

I want to number my trees/diagrams according to section number and at the center and bottom of them. Like Diagram 1.1 Here is a simple one that I wrote. \usepackage{tikz} \usepackage{amsfonts} ...
354 views

### Create line between two edges in pstree

Basically I want to create a (dashed) line between two tree edges. I tried cheating a bit and created such line manually between two hidden nodes. The problem is, I don't get them hidden! There's ...
1k views

### Draw a railway network in Tikz

I need to make several diagrams of a railway network, each of them representing different scenarios. Here is an ugly example of what I want: And here my first attempt to reproduce it: As you can ...
751 views

### TOC “Appendices” wrongly entry comes after 1st appendix entry when use \include

I use the appendix package with its toc option for a book document. If the first of several appendices is inserted by using \include, then the "Appendices" heading in the TOC incorrectly appears after ...
20k views

### Transparent image background in beamer

I want to add a background image in my beamer presentation. The thing is that when I use \usebackgroundtemplate{ \includegraphics[width=\paperwidth, height=\paperheight]{cern-logo.jpg} } in my ...
413 views

### a way to use bibliography utf8 @string entry keys

Any suggestions how to allow UTF-8 @string macros in the mwe.bib file? [lines 537-539] @string{ Uà = {Università} #. } @string{ Uàdi = Uà#di ...
2k views

### Suppress field using chicago bibliography style

I am using the natbib package and chicago style to create my reference list. Some of the references in the bib file contain a field called "note" which is printed if I use the following: ...
14k views

### Text alignment on top with multirow command

\begin{table}[!h] \centering \caption{Titel} \resizebox{.95\columnwidth}{!}{% \begin{tabular}{p{4.5cm}p{10cm}p{3.5cm}} \hline Name & ...
3k views

### Page header alternatively author name and short title

I'm using the a4paper environment for a scientific article and I want to make headers that display alternatively author names and short title each page, while getting rid of all page numberings. We ...