3
votes
1answer
95 views

Preventing the “end square” of proof environment to be alone on a newpage after an enumeration

I have something like (with the packages amsthm and document class book): \begin{proof} blabla \begin{itemize} \item blabla \item blabla \end{itemize} \end{proof} The problem is, that ...
3
votes
0answers
253 views

No citations/bibliography processed/produced when using \include

I use TextMate 2 to write my LaTeX documents. I've noticed that when I use \include to add chapters, my citations don't process, whereas when I use \input, they do. I would like my document to have ...
2
votes
1answer
74 views

Create an overview of scattered items / requirement list

I'm writing a document where I have to define multiple requirements. These requirements are scattered all over the document, since they belong in different sections and are explained seperately. It ...
5
votes
3answers
119 views

Aligning Summations Over Differing Numbers of Sets

I'm trying to align a set of constraints for a linear program formulation. The issue I'm having is that some of the summations are over two (or more) sets, while others are only over one. This makes ...
5
votes
2answers
931 views

Extended \Mapsto with text above

\documentclass{standalone} \usepackage{centernot} \usepackage{mathtools} \usepackage{ stmaryrd } \begin{document} $\xmapsto{sdfkjhsdf}$ % This is similar to what I want $\Mapsto$ % however ...
5
votes
1answer
170 views

Mathematical symbols as keywords in listing

Is it possible to use mathematical symbols as keywords in listing? I'm using listings package to typeset Mathematica code and I have used emph parameter of lstset to use blue bold font for some of my ...
2
votes
1answer
465 views

listings doesn't print my keywords bold in lstlisting

I've got the following problem: I want to print a listing with the listings package and lstlisting: \documentclass{scrreprt} \usepackage{listings} \begin{document} ...
3
votes
2answers
220 views

Create a table column by column with special border formatting

I need to create some tables for a special college report. The data provided specifies the values column by column. The user Andrew Swann pointed out, that there is a way to create TeX tables column ...
13
votes
1answer
387 views

How can I achieve having logical page numbers shown in acrobat reader?

I am using (plain) TeX (not LaTeX or any other ...TeX). I want a pdf file made from my TeX-source/output that is able to have acrobat reader shown logical page numbers. My document’s preface page ...
5
votes
4answers
688 views

Color background of chapter headings

I'm trying to change the background color of the chapter headings. I'd like the full top part of the page, including top and right margins to turn gray until the titlerule. Currently they look like ...
2
votes
1answer
144 views

titleps multiple headers does not accept rule changes

I want to use several different headers and footers in a document. After a lot of trying I have decided to use titleps as the way to go, as I in any case redefine the sections, subsections, etc. ...
6
votes
1answer
178 views

Wrong scaling in xyz coordinate systems

As stated in the Manual in section 10.2.1 "the default z-vector points to (-sqrt(2), -sqrt(2)). But when I draw: \documentclass{article} \usepackage{tikz} \begin{document} ...
5
votes
2answers
115 views

ucs clashes with DeclareUnicodeChar?

I'm forced to work with latex, and want to make use of unicode chars in math. So I write: \documentclass{article} \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{B7}{\cdot} ...
1
vote
2answers
281 views

Draw a picture of primes ideal lying over a prime ideal

Let $K$ be a number field and $L$ be a finite extension of $K$. Then, let $\mathfrak{p}$ be a prime in $K$ and $\mathfrak{P}$ be a prime lying over $\mathfrak{p}$. I would like to draw the following ...
3
votes
2answers
891 views

package fancyhdr: no dot behind chapter number in header

I am using a university template and want to modify it just a little bit. How can I remove the dot behind the chapter in the headings? Here is a "minimal" example. \documentclass[paper=a4 , ...
2
votes
1answer
221 views

Header wrapped over two lines with pgfplotstable

I have a table produced by pgfplotstable. I want to force two headers to wrap on two lines but I can't get it working. This is in my script: \documentclass{article} % Set the values for the ...
1
vote
1answer
128 views

subsubsection without subsection but restart numbers in next section

Well I have a problem that look like this 1.First section 1.first subsubsection 2.second subsubsection 2.Second section 3.third subsubsection how do i fix like 1.First section ...
5
votes
1answer
102 views

empty space under the drawing

this is my tikz code: \usepackage{tikz, tikz-3dplot} \begin{figure}[ht!] \centering \tdplotsetmaincoords{45}{110} \begin{tikzpicture}[scale=8, tdplot_main_coords] ...
5
votes
2answers
347 views

Fill table with dynamic amount of columns

I want to fill a table with a dynamic (calculated) amount of columns. The column should be filled with a value which the user should provide comma separated. I therefore tried to use forcsvloop, but I ...
5
votes
1answer
178 views

different sized page numbers due to \usepackage{helvet}?

I am at the end of finishing my thesis and after printing it out for final corrections I recognized that the sizes of the page numbers differ sometimes. For example page "10" and page "11". Especially ...
0
votes
0answers
57 views

Breaking line inside tikz node [duplicate]

I have the following code. I cannot for the life of me find a way to lay the table under the pink figure .. \documentclass{article} \usepackage[english]{babel} \usepackage{tikz} ...
0
votes
1answer
215 views

How can I change the font size of the title and the font size of the authors in Latex?

I need a font size of 16pt for the title and 12pt for the authors. I'm writing an article class document in 11pt: \documentclass[11pt, a4paper, twocolumn]{article}
2
votes
2answers
133 views

mathtools: tagging with words and a number in align

How does one tag an equation with both words and numbers? \documentclass{article} \usepackage{mathtools} \newenvironment{Dequation} {% ...
7
votes
1answer
178 views

White space creeping in when I place a tikz picture inside another tikz picture

I'm trying to design a seating chart for my classroom. I've done this using pstricks. I wanted to try it in tikz. What I'm doing is drawing a rectangle to represent each desk. Since the desks ...
2
votes
1answer
146 views

Using Arabic letters in moderncv package

I'm trying to include a small snippet or Arabic script into my document. This works fine if I use the documentclass article, but I'm using the moderncv package as provided here, and for some reason, ...
10
votes
2answers
129 views

If I have two nodes defined at the end points of a diagonal of a rectangle, how can I define nodes for the other two corners?

I have two nodes which I want to define to be opposite corners of a rectangle. I would like to be able to define nodes at the other pair of opposite corners. I tried the following, but it gives me ...
11
votes
1answer
167 views

Given four nodes forming a quadrilateral, how do I find the node at the intersection of the diagonals [duplicate]

I'm trying to find and name a node at the intersection of the diagonals of a quadrilateral formed by four other nodes. However, I'm not drawing a path. All I can seem to find in the tikz manual are ...
1
vote
2answers
380 views

Product symbol c on the lower suffix

Sorry, this may be very easy question but I didn't get. When I use product symbol, I want to write c(as a cardinal product) in the lower suffix. I am using following command. \documentclass{12 ...
1
vote
2answers
116 views

Missing space between author and page with biblatex-mla

I am trying to use biblatex-mla to create a bibliography and cite works from it. Here is an example text with some citations: \documentclass{article} \usepackage[utf8]{inputenc} ...
1
vote
0answers
182 views

How can I figure out why biber stopped working all of a sudden? [closed]

edit on 2013-08-28 It just happened again. What are the steps I can take to possibly figure out what went wrong? I have no idea what's going on. Just 30 minutes ago everything was fine and 5 minutes ...
4
votes
1answer
125 views

Add optional argument to the caption to get into figure list entry

I would like to add the optional list entry, which is used for a listoffigures, also to the caption. In this basic example: \documentclass{scrreprt} \usepackage{caption} \begin{document} ...
2
votes
1answer
117 views

Problem with geometry and headers

I am trying to setup the margins such that from the top of the header text and the bottom of the footertext there is exactly 1.5cm space. I was not able to achieve this so far and I would highly ...
8
votes
2answers
111 views

Custom counter steps twice when invoked from caption using caption package

I made a custom counter with a custom command that steps the counter and sets an automatic label for it. However, when invoking this from a caption AND using the caption package, my counter steps two ...
3
votes
1answer
49 views

Use the content of a counter in cline

consider the following example: \newcounter{cnt} \setcounter{cnt}{3} \begin{tabular}{l|l|l|} \cline{2-3} a & b & c \end{tabular} I have a package that generates tables with a ...
3
votes
1answer
135 views

Wrong spacing with empheq

Consider the following example: \documentclass{article} \usepackage{mathtools} \usepackage[amsmath]{empheq} \usepackage{xcolor} \definecolor{shadecolor}{cmyk}{0,0,0.45,0} ...
2
votes
2answers
93 views

Why can’t I define a command with \renewcommand?

I try use boolean expresion which it has been shown on my MNWE: \documentclass[12pt, b4paper, twoside]{scrbook} \usepackage[log-declarations=false]{xparse} \usepackage{xltxtra} ...
2
votes
1answer
79 views

How to set shape's size from another shape

I would like to set shape's size basing on the size of another shape produced by the fit environment. The MWE I use is the following: \documentclass{report} \usepackage[english]{babel} ...
5
votes
1answer
367 views

Moving subcaptions vertically

I am arranging four images as follows. \documentclass{article} \usepackage[demo]{graphicx} \usepackage{subcaption, tabu} \begin{document} \begin{figure}[t] \begin{tabular}{c|c} %vertical line I added ...
5
votes
1answer
95 views

Horizontal alignment of long equations

I hope that the following question is not a duplicate but I could not find a definite answer. I'm trying to obtain the the same result as Formula (1) in the picture next, but I feel that my approach ...
11
votes
1answer
4k views

Clean uninstall of TeX Live 2012 (for upgrading to TeX Live 2013) on Mac OS X

I understand upgrading from TeX Live 2012 to 2013 is not a single-click operation. As I was working on some important documents and didn't want to compromise my TeX distribution, I've put off ...
9
votes
2answers
498 views

How to use a macro inside \includegraphics options?

I have to do several figures like this: \begin{figure}[h!] \centering \includegraphics[trim = 9.55cm 1.8cm 10.25cm 4.05cm, ...
5
votes
1answer
212 views

\sqrt symbol with a vertical part

It seems that for a given height, the \sqrt symbol "switches" it's type, and it becomes vertical at some part, like here: But I want it to be like the second one. What is the solution for this? ...
2
votes
0answers
196 views

Termcal lesson numbering

I have been using the termcal package to produce a calendar for my syllabuses. I like the functionality a lot, but I was wondering if it was possible to make the lesson counting follow more of an ...
4
votes
1answer
330 views

Keep getting “aux file” error with the lastpage package

Keep getting "aux file" error with the lastpage package. The same code is working in another file but not in this one (code furnished here). Please help! Thank you! \documentclass[margin, 11pt]{res} ...
2
votes
1answer
139 views

Changing reference text style

I'm trying to change the style of the text of the images reference. I want something like you see in textbooks, for example with the words (fig. 1.23) in bold, colored and maybe a different ...
4
votes
1answer
275 views

Arrange four images with letter captions and vertical/horizontal separators

I would like to arrange four images in a similar style to this code taken slightly modified from Four Arranged Figures are offset . \documentclass{article} \usepackage[demo]{graphicx} % leave off ...
4
votes
1answer
411 views

Edge label distance from edge in TikZ-qtree

I'm making a tree using TikZ-qtree, and I need to put labels on my edges. Right now it looks something like this: \begin{tikzpicture} \Tree [.$\alpha$ \edge node[left, ...
3
votes
1answer
119 views

Required package for 'starred version' of matrix environment

Whenever I am trying to compile the following code : \documentclass[11pt,twoside,a4paper]{book} \begin{document} \begin{matrix*}[r] -1 & 3 \\ 2 & -4 \end{matrix*} \end{document} shows ...
3
votes
1answer
351 views

Flow of current in a circuit

I am trying to create a circuit with resistors and voltage sources. I need to have each resistor labeled with their resistance (above) and the unknown current (below) flowing through the resistor. I ...
1
vote
1answer
128 views

Global set node background

I know I can do this: \draw (5,0) node[above=3pt,fill=white,inner sep=0pt] {$5$} But I wonder if it is possible to set the 3pt, fill=white, and inner sep=0pt globally for every node in my document? ...

15 30 50 per page