2
votes
2answers
131 views

Adjusting the width of a block to cross a column border

I am facing a slight esthetic problem with a block. Originally my slide is divided in two columns of 0.6\linewidth and 0.4\linewidth. In the first column, there is two images next to each other with ...
6
votes
2answers
152 views

Beamer & MetaUML - can't see any diagram

On compilation, I just see Why isn't the class visible? Here is the code: \documentclass{beamer} \usepackage[shellescape,latex]{gmp} \usetheme{Montpellier} \title{Something} \date{\today} ...
2
votes
2answers
111 views

Tabu part of text in cell not visible

I have problems with the tabu, when I make a table with the code below, the contents of the last column in the first row is not all visible. Why is this? \begin{table}[h] \caption{Explanation } ...
4
votes
2answers
1k views

Placing text inside graphs using pgfplot

My node markers disappear using this code. Is there a better way to do this? \documentclass{article} \usepackage{amsmath} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}[domain=0:3] ...
5
votes
1answer
200 views

Can a \newcommand Definition Contain Braces as Substitution Text?

The following example is completely counter-intuitive, but I need this in a bigger definition I'm not including here. \newcommand{\openbrace}{{} I need this to start a nested scope. Is this ...
1
vote
1answer
124 views

How do I force LaTeX to show tables in the section where they are made? [duplicate]

I have the following problem: My section 7.2 contains a lot of tables. Now it shows 2 tables, and then there is a space left on the page, that is not big enough for the next table. Therefore, ...
4
votes
2answers
76 views

Optional argument not getting set to \makebox through expl3 key assignment

The basic idea that I wanted was to create a key to pass a value that would inform \makebox how the contents of the box should be aligned. Big fail here. The intended contents of the \makebox are ...
6
votes
2answers
199 views

How to center dmath equation under an item?

I have this code: \documentclass{article} \usepackage{breqn} \usepackage{blindtext} \eqinterlinepenalty=0 \intereqpenalty=0 \begin{document} \blindtext[3] \begin{itemize} \item ...
3
votes
2answers
243 views

Tikz: Emphasizing part of a drawn path

How can I emphasize the counter clockwise trajectory on ellipse ecc2768 and the clockwise trajectory on ellipse ecc6789? Is there a command that will follow the ellipses from P1 to P2? ...
4
votes
1answer
94 views

Is there any TeX (or LaTeX) package capable of rot13-encoding an ASCII text?

This might be a nice thing to obfuscate answers to quizzes (better than \rotatebox[c]{180}{...}). (I understand that this is trivial using LuaTeX, but I'd be interested in a generic TeX solution. ...
3
votes
2answers
7k views

Bibliography in Texmaker

I'm having some problems with my bibliography in Texmaker. My code is: \documentclass[11pt, a4paper]{article} \usepackage{graphicx} \usepackage{amsmath} \usepackage{natbib} ...
5
votes
0answers
1k views

Rotating package + sidewaystable + pagenumbering not rotated expected

This question is similar to: Set up sidewaysfigure to have the bottom of the figure toward the spine but that question doesn't give me the result I'm looking for. Instead, I want my tables to be ...
6
votes
2answers
4k views

Text next to image

I have a problem to get the following result in LaTeX: The figure is not something I want to do with tikz, but I want to use \includegraphics{figure1.png}. Can someone help me to get this?
2
votes
3answers
211 views

Rotating labels in xypic

How do I rotate the label on a arrow in xymatrix? Say, I want the label texts parallel with the arrow? \documentclass[12pt, a4paper]{article}% a minimal example \usepackage[utf8]{inputenc} ...
3
votes
2answers
111 views

Using \color in a paragraph column inside a tabular environment results in a line break [duplicate]

Some of my documents are compiled into multiple outputs. Some Versions contain certain parts, while other versions contain only a placeholder. For this purpose I have a macro \markup that colors its ...
13
votes
1answer
267 views

Where do you find TikZ/PGF source code?

I'd like to check the the source code used to implement the standard rectangle shape in PGF/TikZ. I was thinking about searching for something like \pgfdeclareshape{rectangle} inside the PGF files but ...
3
votes
1answer
115 views

How to put a row in a table with no column division but the rest of the table to have divisions

I want to make a table where it is completely gridded up apart from the line subscript where I want to have just lines above and below but no other lines. I am trying this code but it doesn't give me ...
1
vote
2answers
734 views

Overlay multiline text in the image in beamer

I have a image in a beamer and I want to overlay a table on that image. How can I achieve that ? I have a figure that I created in powerpoint which is as follows: In the above figure, the ...
2
votes
2answers
214 views

Rendering PDF graphics without aliasing

I am using MATLAB to generate .eps vector graphics, editing them in Adobe Illustrator, and then saving them as a PDF. When I view the image through Adobe Acrobat, it is covered with cross-hatched ...
7
votes
4answers
112 views

Defining a command to generate a sequence

I'm trying to define a command to make a list of subscripted \varphi characters. Let's call it \phiseq. I want to be able to use \phiseq{1,2,3} in the body of my document to expand to ...
3
votes
3answers
784 views

What is the name of this symbol and what is the command to display it in LaTeX? [duplicate]

Below is an image that I took of a symbol in "Logic for Philosophy" by Theodore Sider. The symbol is used to represent a function whose domain is Sentence letters of propositional logic and whose ...
2
votes
1answer
173 views

ipe-7.1.4 pdflatex conversion error

I am trying to write A (so as to label a point in my figure) in ipe-7.1.4. Apparently, it is done through the following .tex file which I have managed to find in the conversion directory. Note the ...
0
votes
2answers
123 views

What's a good way to insert very few lines of code?

I know about the listings package, but it seems that it can't be put where I want it to be (h in float). And since I just maybe want to insert exactly one line of code, I really want it to be where I ...
8
votes
1answer
314 views

a tikzpicture on pages without chapter and index

I would get the result of the output below \documentclass[11pt, a4paper]{book} \usepackage{geometry} \geometry{% papersize={19.7cm,27cm}, centering, textwidth=380pt, textheight=650pt} ...
8
votes
1answer
709 views

Change text color in table, preserve ability

I'm having difficulty creating a new command for \rowstyle that allows me to color the text of different rows in a table and preserve my ability to space out the columns and not induce space between ...
7
votes
2answers
269 views

title of a colored box

In an another post, beamer style text box, I've seen a box that I'm interested in making it. However, I would like to use it in a book, and I would like before the title to write: Definition (or ...
6
votes
3answers
854 views

Overlapping nodes in tikz

I used to make a chain diagram in tikz, like described in the manual p. 59 ff, but in contrast to the manual, my nodes are overlapping. I tried to use the "node distance" option but i doesn't seem to ...
14
votes
1answer
901 views

Why can't TeX Live's size be reduced?

I understand that the following question has been answered Why is the MacTeX distribution so large? Is there anything smaller for OS X? but my question differs from it. I just installed MacTeX and ...
11
votes
2answers
277 views

Why does \everypar not work?

I tried to put a \P (¶ sign) after each paragraph. Therefore, I chose the \everypar={\P} command. First of all, I figured out that LaTeX redefines it internally after \begin{document} Hence, I ...
2
votes
0answers
81 views

Custom environment splitting between pages [closed]

I created a custom environment for theorems using mdframed package: \newtheorem{theorem}{Theorem} \newtheorem{twierdz}[theorem]{Twierdzenie} \newenvironment{twierdzenie} ...
2
votes
1answer
329 views

Make every first line of table look the same

I've been struggling recently with tables. And I've finally managed to get past it. However, I'm now trying to make every first line of my tables look the same (bold white on blue background color). ...
9
votes
2answers
200 views

Adding jitter to a straight line

I have found a post about: How to add a jitter to a scatter plot with pgfplots. I'd like to add jitter to a straight green line to recreate this graph.. Would this be the best way do you think? Also ...
1
vote
2answers
73 views

centering the table with tabular*

How can I centre the table content? \begin{table}[h] \centering \renewcommand{\arraystretch}{1} \caption{The Vehicle types} \label{tab:table3} ...
0
votes
1answer
131 views

problem with xepersian referencing

I'm writing my MSc thesis using LaTeX in Persian. When I use the XePersian package all the references including the number of sections, figures, equations, references disappear. Only the numbers of ...
1
vote
0answers
96 views

How to show only first author for one bibtex entry [closed]

How to show only first author for one particular bibtex entry? I am using scrbook if that info is of any value for this.
3
votes
0answers
33 views

Special Characters and autonum [duplicate]

I tried to get special characters with the package autonum to work and installed the new version according to cleveref, autonum and labeling only referenced equations. I downloaded and copied the ...
31
votes
2answers
262 views

What are the best practices for programmatic interaction between LaTeX3 and LaTeX2e?

I'm thoroughly enjoying using LaTeX3 for programming my LaTeX stuff and the more I use it, the easier it gets and the more I shudder at returning to LaTeX2e or even pure TeX! But every now and again ...
13
votes
1answer
117 views

How do I remove the next token from the stream in LaTeX3?

I want to remove a token from the stream from within a command (ignoring spaces). The next token will be a { (actually, I've just thought that it might not be ... but I'll continue as if it were). ...
4
votes
2answers
1k views

How is cropping for EPS-files done in XeLaTeX?

When trying to crop an EPS-figure with trim=<left> <bottom> <right> <top>, clip, ... it results in strange behavior. Please find a MWE and a image of the result below. It ...
2
votes
1answer
215 views

Page numbering starts too early

As the title already indicates, I have a problem with the page numbering. At first I am in roman numbering mode and then I switch to arabic. But even though my \pagenumbering{arabic} statement is ...
11
votes
1answer
242 views

Global scope or permanent length or savebox

I am trying to save a minipage width and height in one environment, and use these dimensions in a subsequent environment of mine, to make a picture environment. The idea is to create a picture on the ...
8
votes
1answer
181 views

what's the difference between Boundingbox and hiresBoundingbox?

What's the difference between Boudingbox and hiresBoundingbox in an eps figure?
0
votes
1answer
233 views

Embedding HTML code in beamer

I want to embed html code like latex in beamer, like follows: \begin{frame}{HTML Code}[fragile] \begin{lstlisting}[language=html] <html> <head> </head> ...
3
votes
2answers
261 views

Horizontal margins for margin notes in the tufte classes

From the picture underneath you can see that the tufte class does not provide horizontal margins for the margin notes. Thus the margin notes can go beyond the \textheigth. Is that normal or is it a ...
2
votes
0answers
76 views

Inconsistent margins using columns in beamer

Compare the two slides generated by the following code. \documentclass[t]{beamer} \usepackage{lipsum} \begin{document} \begin{frame} \lipsum \end{frame} \begin{frame} \begin{columns}[T] ...
3
votes
1answer
135 views

Indicating the beginning of a paragraph with a ¶ just inside the margin

How does one most easily typeset a paragraph marker inside the margin, at the beginning of every paragraph? There are different practices regarding the indication of paragraph boundaries. ...
1
vote
1answer
100 views

Solving underfull and overfull warnings

Always when I want to prepare a document with LaTeX I receive different warnings including underfull and overfull but I don't know how I can handle these warnings. As you can see here i have two ...
1
vote
0answers
99 views

Removing overfull and underfull box warnings [closed]

Always when I want to prepare a document with LaTeX I receive different warnings including underfull and overfull but I don't know how I can handle these warnings. As you can see here I have two ...
5
votes
1answer
3k views

Add an item in the table of contents

I am using tufte-book document class. I would like to add a part at the end of the document which is neither a chapter nor a section. How can I do for making this part visible in the tableofcontents?
16
votes
2answers
739 views

Usage of LaTeX macro \space (compared with \␣)

Occasionally I find that internal package code contains the macro \space (defined as \def\space{ } by LaTeX). The most-taught way to produce "explicit" spaces in paragraph text is to use \␣, and I ...

15 30 50 per page