# All Questions

258 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, ...
486 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 ...
725 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 ...
685 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 ...
147 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 ...
757 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 ...
117 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 ...
9k 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? ...
117 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 ...
115 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 ...
160 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 ...
3k 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.
415 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 : ...
265 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 ...
143 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*{...} ... ...
143 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. ...
226 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 ...
299 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 ...
199 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} ...
199 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 ...
645 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 ...
372 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 ...
5k 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 ...
237 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 ...
744 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: ...
4k 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 & ...
1k 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 ...
48 views

### How to put a blank space having dimensions equal to some text [duplicate]

Possible Duplicate: How to replace a large block of text by an empty block of the same size? A friend of mine is preparing some teaching materials. In the version for the lecturer there ...
144 views

### How to create a table with a headline centered and columns centered?

I use the following code to create a table with a centered headline. \begin{tabularx}{\textwidth}{l|X} \multicolumn{2}{c}{Headline centered} \\ \hline Column1 & Column2 which should be ...
82 views

### A command/environment for “spot the error” type of multiple choice tests

I wonder if there is already a package that makes me create a spot the error kind of test like the one below: This must preferably be in an enumerate environment. I tried a tikz approach but I ...
5k views

### Two logos in opposite side on beamer

I am making a presentation in beamer. Because I am affiliated in two organisations, I want to have two logos, one on bottom left corner and the other one on the top right corner. How can I do that? ...
97 views

### ifoddpage not working

I'm testing ifoddpage but it seems to say that every page is even: \documentclass{article} \usepackage{lipsum} \usepackage{ifoddpage} \newcommand\printpage{% Page is \thepage. It is \ifoddpage ...
134 views

### Arbitrary text parsing from a separate file

I'm still very new to the world of TeX, so please bear with me if this question is unclear or has been asked before. I'm starting to figure my way through TeX and the millions of plugins and ...
202 views

### How to trim the end of line character for each line read from an external file?

How to trim the end of line character for each line read from an external \jobname.list file below? Note that the real scenario does not use filecontents package to generate the list. I use a batch ...
33 views

### Mixing multiple programming languages with different styles in same document [duplicate]

Possible Duplicate: Defining lstset parameters for multiple languages What's the easiest way to include code, using listings, from more programming languages? \lstset{ % language=Python, ...
157 views

### Problem with tikz-pgf and \pgfmathabs

This is a follow up question to Problem with pgfmathsetmacro in foreach loop with pgfplots. In short I also want to use \pgfmathabs to get the absolute value of a number in that example (with \i as ...
228 views

### How to improve the looks of a fraction?

We may notice that the numerator and denominator in the following fraction are not aligned. And, to me it does not look good. How to align the numerator and denominator? \documentclass{article} ...
113 views

### Own environment with own label

I want to have an environment for strategies. So far I used the package ntheorem to define such an environment. I use it like this: \begin{strategy}[bla] bla bla \end{strategy} And get: ...
179 views

### Move section out of part

I am using the document class article. Once I place a part in the document, all subsequent sections belong to the part automatically. How can I reset a section such that it does not belong to a part? ...
603 views

### Control output grid with in pgfplots while doing everything else automatically

A nice feature of pgfplots is that it automatically chooses reasonable values for maximum/minimum x and y values and for the x and y unit vectors which especially effects the grid size and the labels ...
124 views

### Internationalization in LaTeX [closed]

I am working on auto report generation but this time iIneed to generate report for different language only. Text could be anything like Chinese, French, Russian. Can LaTeX handle all those text ...
304 views

### How do I display text at 60pt or even 600pt?

I am new to LaTeX. I am having a hard time creating a font past 40 points. Here is my code: \documentclass[letterpaper]{article} \begin{document} \fontsize{40}{48}\selectfont hi \end{document} ...
488 views

### Why has m/s changed in siunitx package?

I would have expected \meter\per\second to generate an output m/s. But when using the package siunitx the output is similar to ms^-1. I referred the documentation for the package and there too the ...
465 views

### How do you end with a single quote followed by a double quote?

I have a paragraph as follows: This is a quote. `Here is a quote within a quote.''' But the formatting works out to be a double quote (") followed by a single quote (') instead of the other way ...
185 views

### Align multiple equations under longer equation

I want to do what this MWE would do if the hspace{-1in} actually moved that second alignment column to the left, underneath the big quadratic formula. \documentclass{article} \usepackage{amsmath} ...
182 views

### Entering text in the margins in enumerate environment

I currently trying to create a template that I could use for tests, and one thing I've always liked is when the possible points a question was worth was listed right next to the question itself. In ...
515 views

### adding text onto pdf pages

This is related to the post How can I superimpose LaTeX / TeX output over a PDF file?. One of the answers is (which is the one I'm using now): \documentclass[12pt]{article} \usepackage{pdfpages} ...