0
votes
0answers
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 ...
0
votes
0answers
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}
...
0
votes
0answers
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 ...
0
votes
0answers
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?
3
votes
2answers
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 ...
2
votes
1answer
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} ...
0
votes
1answer
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 ...
2
votes
1answer
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 ...
3
votes
1answer
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 ...
2
votes
0answers
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 ...
1
vote
1answer
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}
...
1
vote
1answer
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 ...
1
vote
0answers
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 ...
2
votes
1answer
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 ...
3
votes
1answer
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 ...
1
vote
1answer
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}
...
0
votes
0answers
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 ...
4
votes
0answers
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 }
...
3
votes
0answers
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 ...
2
votes
0answers
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, ...
1
vote
0answers
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.
5
votes
1answer
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 ...
0
votes
2answers
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 ...
2
votes
0answers
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}\\
...
7
votes
4answers
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 ...
1
vote
1answer
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.
...
7
votes
1answer
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):
...
8
votes
1answer
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 ...
3
votes
0answers
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 ...
3
votes
2answers
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 ...
1
vote
0answers
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 ...
1
vote
1answer
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, ...
1
vote
2answers
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
...
4
votes
1answer
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}
...
7
votes
1answer
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 ...
4
votes
1answer
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:
5
votes
0answers
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 ...
2
votes
2answers
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, ...
0
votes
1answer
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 ...
2
votes
1answer
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, ...
4
votes
1answer
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}
...
1
vote
1answer
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}
...
0
votes
0answers
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 :
...
4
votes
1answer
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 ...
2
votes
3answers
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]
...
0
votes
0answers
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 ...
3
votes
1answer
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 ...
0
votes
0answers
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}
...
2
votes
1answer
54 views
How to fix interline skip in LaTeX? [closed]
As far as I see \baselineskip and \lineskip are fixed lengths and don't have any plus/minus-es, but the distance between lines yet depends on the page. Even after the \raggedbottom command TeX still ...
0
votes
0answers
18 views
Using author-year type citation in classicthesis
I am trying to use classicthesis for my PhD thesis. I downloaded the sources and have adapted them to my needs.
My department asks for references in author-year format, as opposed to the numbered ...


