# All Questions

2 views

### pgfplots scale legend position when below xlabel

The main reason I'm converting my Matlab figures to .tikz is so I can scale them without changing the text size. This presents a problem when the legend is set as 'SouthOutside' in Matlab as many ...
6 views

### How to edit the length of a color box?

I've typed my Resume and Im using a color box, with a line underneath it. However the grey colored box doesn't reach the full length of the page width. \documentclass[letterpaper,11pt]{article} ...
7 views

### Mark on Document where Input stats and What is the Filename

I have a master document, and use many input{...} commands to compile the total document from many parts. I would like to mark on the working document, the start of each new input, and, what the ...
13 views

### A Babylonian Massacre

How do I typeset this statement if I'm using \usepackage[default]{frcursive} and \usepackage[T1]{fontenc} in my TEX file?
16 views

### How do I change the typeface from bold to normal for text written on the table of contents pages?

In the table of contents, the chapter number and chapter name are bold while the section and subsection numbers and names are not bold. How do I remove the bold from the chapter number and chapter ...
11 views

### Labels do not increment

In my document, I have a lot of short case studies, which I would like to number, just like figures. So I am using this: \subsubsection{Case study \ref{cs:this}: Title} \begin{figure} \label{cs:this} ...
18 views

### Insert footnotes with \href

This seems like a very common practice, but an hour of researching the question has gotten me nowhere. Is it not possible to insert the URI for the call to \href (#1) as a footnote? I've tried ...
34 views

### New line in pgfplots/tikz not displaying in TeX

I have a multiple-line legend entry to preserve the width of my figure. I can use \newline in Matlab and the legend entry is split between two lines. When I produce a .tikz of the figure however, I ...
32 views

### Use \LetLtxMacro with a \Macro* (starred variant)

If I use: \LetLtxMacro{\MacroToUse}{\FormatText} then using \MacroToUse invokes \FormatText exactly as desired. But, how do use this construct to invoke \FormatText*? The MWE below yields: but ...
35 views

### Using contexts cow font with latex

So I have really become intrigued with the Cow font of context, however I really wish I would be able to use this with latex. I found a place, where it listed the steps on what to do, but it was ...
17 views

### How to put captions below tables residing in multiple columns

I made the following document, consisting of 2 tables in 2 columns: Code: \documentclass{article} \usepackage[a5paper]{geometry} ...
36 views

### Insert a symbol before the item

I'm preparing a guide for my students and I want to put a symbol before the item’s symbol in the enumeration of the exercises for indicate that this exercise is more difficult, very similar that the ...
17 views

### Listings Highlight Java Annotations

I am typesetting something that has a lot of Java code listings. Because the Java code has a lot of annotations, and that they are important to the reader, I'd like to have them highlighted, like ...
51 views

### Automatic numbering — place code 1. anywhere in 2. the main 3. body

Is it possible to insert a code anywhere in the main body that will generate an automatic number with a period: 1. 2. 3. ? Instead of automatic paragraph numbering (with lots of restrictions), it ...
29 views

### Ignoring specific ampersand formatting on a specific line of an align block

I want to typeset a number of equations with some alignment constraints, but I want to partially ignore them on certain lines. An example formatted text might look like the following when it's ...
30 views

### Only name of section in header + underlined

I'm now trying to tweak the headers of my book document. I only need the name of the section in the header and I want it to be underlined and no uppercase letters! \documentclass{book} ...
23 views

### Is there a pdf crop utility for windows that will give smaller files?

The answers to this question contain pdf cropping utilities that will give smaller files than Eric Doviak's original, but as far as I can tell they only work in Linux. Is there a way to make them ...
26 views

### Bibliography separation with variable separator

I need a "." behind the title and "," behind all other entries. So far I tried to modify output.nonnull and output.check and extended them by an additional variable. STRINGS { s t separator } ...
16 views

### How can I limit the writable space in hyperref's TextFields?

I'm creating a pdf form using hyperref. After it has been filled-out, the form will be printed. I'm looking for a way to prevent the user from entering more characters into a TextField than will be ...
32 views

### arara: toggle identifier in the rule

I'm working on an arara rule that makes use of the items identifier % arara: myrule: {items: [lions, zebras]} \documentclass{article} \begin{document} hello world \end{document} The rule, ...
58 views

### How to put a subscript in a superscript

How can I write the following thing? a^(b_c), b being a superscript of a, and c being a subscript of b.
50 views

### Using both a double-story and single-story g in math mode

I am writing some mathematics in which I want to use both typographic variants of the lowercase 'g' in math mode. See the Wikipedia page to see the two variants. There is a single-story and a ...
40 views

### Tabular: define label and caption manually

I'm trying to define the label of my table to match with the numbering of the section. Note that I also numbered my chapters and sections manually. So instead of Tabelle 1 I need Tabelle 2.1 Any one ...
18 views

### Applying textbf and ttfamily simultaneously [duplicate]

I'm trying to apply textbf and ttfamily simultanously, but the font is only getting monospaced and not bold. Example: \documentclass{book} \begin{document} \chapter{Testing} \textbf{Bold}\\ ...
137 views

### Best practice for typesetting quantifiers?

When I work with quantifiers I noted that are very close to the other symbols and the result does not look good, for example \$\exists a\in\mathbb{R}\exists b\in\mathbb{R}\forall c\in\mathbb{R}\forall ...
29 views

### Add labels to y ticks in bar chart [duplicate]

I'm just starting to mess with pgfplots and just had a quick question in formatting bar charts. Specifically, I was trying to add labels to each of my y ticks and i couldn't figure it out. ...
42 views

### Purpose of \do@noligs in LaTeX verbatim environment

I'm trying to figure out how the verbatim environment works. In the basic LaTeX file latex.ltx I find the following definition (line 4037): ...
58 views

### Access loop variable outside loop

Here's what I have created, but how could I access the loop variable \n outside the foreach loop so that I could write sth like this: \n = \n + 1 % this is definitely not right, and it seems I ...
32 views

### Temp file fails verification every time I try to update MiKTeX

I have been using TeX for two years now, mostly as a replacement for Word. I'm an academic and I like the typesetting capability, especially when I need to use math, but am not an advanced user. I ...
79 views

### Beamer figure grows larger when pointing on it

I am working on a beamer presentation where I would like to place a couple of graphs on one slide. The resolution is however not sufficient and I was wondering if it would be possible to enlarge the ...
18 views

### restatables and \listoftheorem

I am using the restatable environment from the thm-restate package ofthmtools. I am also using \listoftheorems command to give me a list of the theorems. However, my restatable theorem is appearing ...
33 views

### Setting memoir's \pagestyle within an environemnt

I am defining an environment with \newenvironment, and inside this environment, I want to change the memoir page style. For instance, I want to do \begin{myenvironment} and inside this environment, ...
33 views

### Multi-line text retrieved from file via \input, within a newcommand declaration, passing newly declared command as argument of standard letter class

I have put together a minimum working example consisting of a number of files mwe.tex % instance of personal letter address.tex % full address of individual being addressed in mwe.tex ...
51 views

### LaTeX code formatting using lstlistings: custom keywords not recognized

I'm trying to add some keywords to an existing language using the morekeywords setting: \documentclass[12pt]{article} \usepackage{color} \usepackage[usenames,dvipsnames]{xcolor} ...
62 views

### How to align parent nodes to the left/top in a tree

I am drawing trees in LATEX. The qtree library seems to be what I need but the parent is always placed in the center of its children like this: parent / \ child_1 child_2 (I'm a new ...
38 views

### How do I add other plots to a stacked plot?

If I have a ybar stacked axis type, how can I add another plot such as a jump plot on top? The example below shows more or less what I need:
46 views

### TikZ image with hyperlinks --> GIF/PNG image + image map

I have a (complex) TikZ-based figure with hyperlinks. Now I need a web-version of this figure that preserves all hyperlinks, such as an GIF file or PNG file plus the respective image map. So what are ...
35 views

### Placing image in second column of two column page

I would like to use a two column layout and have images and text in the second column begin at the top of the page and continue down with even spacing. I've tried using the multicol package as well, ...
28 views

### TeX Live Installation Stuck at updmap-sys

I'm installing a minimal TeX scheme (plain + latex + a few langauge packs, configured through advanced installer) and the installation becomes stuck on updmap-sys reading ... mktexlsr: Done. running ...
44 views

### Modulo calculation in PGFplots tick label

I am printing a diagram and want to use a_[0...3] as tick labels on the x-axis. Right now I have a[0...7] as labels and look for a way to print a[\tick mod 4] (i.e. a_0, a_1, a_2, a_3, a_0, a_1, a_2, ...
57 views

### Specific unit output using siunitx

Consider the following example. I would like to use the \SI command from siunitx to type the following: \documentclass{article} \usepackage[separate-uncertainty=true]{siunitx} \begin{document} ...
31 views

### Problem with font OT1-Greek letters

I am having this problem. I got this sample by net: \documentclass[paper=a4,fontsize=11pt]{scrartcl} \usepackage[iso-8859-7]{inputenc} \usepackage{kerkis} \usepackage{a4} \usepackage{amssymb} ...
41 views

### Write above the symbol math “subset”

Like the symbols "bigcup or bigcap" in LateX, I'd like to write above the symbol subset. I have try to use the displaystyle command, but it doesn't work ! Here this is a snipset of my try : ...
81 views

### Game proofs for cryptography

In cryptography a lot of security definitions (IND-CPA, IND-CCA etc.) are represented as games between an adversary and a challenger. Is there an existing package or a simple way to achieve this ...
65 views

### Drawing a root-less graph of nodes with shared children

My aim is to produce a graph as illustrated by the code below: ( I am not yet allowed to post pictures) \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[node distance=4cm] ...
21 views

### Table of Contents skipping first slide on beamer [closed]

I have this presentation with a table of contents, a background image and a "go back" button on the slides after the ToC. I know that the ToC automatically hyperlinks the existing sections, but when I ...
41 views

### \dag doubles index entries - how to avoid?

Using the symbol \dag within a splitindex command, in the index output two entries are produced: One naming the pages where the \sindex command is used in the text, another where it is used in the ...
23 views

### Issues with bibliography — No special characters [duplicate]

I'm having issues with my bibliography file. I have the following: \documentclass[final,inline]{ieee} \usepackage[english]{babel} \begin{document} \cite{ref11}, \cite{ref12} ...