2
votes
1answer
141 views

Add a brace on the left side of a group [duplicate]

I can't figure out how to place the brace on the opposite side, that is on the left of the group of equations, when following the answer in this link: How to put a brace on the right, not left, to ...
10
votes
1answer
114 views

Creating Command with environments

So I repeatedly use this format for embedding a picture and some text beside it, \begin{tabular}{l l} \begin{minipage}{0.3\textwidth} \includegraphics[SCALE]{NAME} \end{minipage} & \begin{...
27
votes
2answers
2k views

Mouseover events in beamer: hovering on \eqref and a comment containing the original equation popping up

This idea came into my mind while I was listening to a speaker presenting his results in a seminar, he used lots of equation references in his later slides, however I can't remember which equation he ...
6
votes
1answer
104 views

Extracting source from pgfplotstable

I like using pgfplotstable because I can feed data in tables directly to it and generate a latex table. However, not all of my coauthors have the right packages to compile pgf-enabled latex. Since ...
61
votes
6answers
2k views

How bad for TeX is omitting braces {}, even if the result is the same?

Sometimes writing braces and omitting them produces the same result: \tilde{\psi} \mathrm{e}^{\mathrm{i} \pi} vs \tilde \psi \mathrm e^{\mathrm i \pi} Or (taken from Werner's comment below) ...
13
votes
1answer
1k views

Creating a new environment with referencing

I'm trying to create a referenceable "system" environment that basically displays an equation with a custom counter. Then I want to reference the environment with autoref, so as to have "System (S1)" ...
7
votes
2answers
621 views

Odd behaviour with arrows and multipart rectangles

I recently posted a question Display issues drawing DNA sequences with TikZ. The issues I described were for the most part resolved, but one remains. I managed to simplify my example down to show the ...
0
votes
0answers
38 views

Image is not in the right position [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned Why does the image is not at the point where I included it in the code, but at the end of the part? \documentclass[...
1
vote
1answer
52 views

Remove un-numbered section names [duplicate]

Possible Duplicate: How do I make the sections un-numbered? I'm using \documentclass[12pt]{article}. All my section titles get numbered. How can I make them un-numbered?
5
votes
1answer
173 views

redeclare an arrow in TikZ

As you know, I'm adding more arrows to the code in this answer (maybe tomorrow). At this point, I'd like to overwrite the arrows declarations so that one can simply write -latex instead of -latex new, ...
8
votes
1answer
7k views

Insert code or text file in latex as is?

Question : How can I insert a txt file ( a source code) as such in latex without any change in indentation, tabs, formatting etc? Scenario : Consider I have a text file as below ( It is a part of a ...
18
votes
1answer
1k views

Comma at the end of last BibTeX field

A BibTeX entry looks like @entry_type{internal_key, field_1 = "value_1", field_2 = "value_2", ... field_n = "value_n" } I've seen examples that put a comma after "value_n". Is there any ...
4
votes
3answers
245 views

Shorthand for variables lead to name clash

In formulas I need often the same constants and variables with lot of "make-up". I want to have readable and maintainable LaTeX code, so I thought about writing \newcommands like \newcommand*{\Cref}...
4
votes
2answers
646 views

Replacement for \curveto in the tikz library - Inkscape export svg to tikz

I need to draw a complex curve and I wanted to help a vector program Inkscape. In first step I tried to use Inkscape to TikZ exporter (http://code.google.com/p/inkscape2tikz/)to convert curve to tikz, ...
7
votes
2answers
4k views

List of figures as a section with number

How can I get the list of figures as a section in an article document, so it will be listed in the table of contents? At the moment it's listed in the ToC, but without number.
4
votes
2answers
328 views

Footnote inside stackrel

I am writing an equation and I'd like to put above the equal sign $(=)$ a footnote describing shortly the reason for that equality. I tried \[x^2\stackrel{\footnote{foo}}{=}x\ast x\] but this ...
7
votes
1answer
1k views

Dashing one edge from parent in a tree: why does it work

This is related to the question How to make a connection in a tree with a dashed line?. Therein, it is asked how one can make one connection between a parent node and a child dashed. The final ...
1
vote
0answers
363 views

License in LaTeX document, packages and answers [closed]

A serie of questions related themselves. Context: I'm writting a LaTeX document and I want to license it under a GPL v3 license. I have a own package with some macros, the great majority ...
5
votes
1answer
429 views

Pgf plot square not positive

I am using pgfplot to draw a node and a cusp but it seems to be that the squares \x^2 are returning negative numbers to the coordinates. This is strange. I was using the same code before and getting ...
3
votes
1answer
249 views

Align text and logo

I'm trying to find a way to place a logo at the top left of the page, with at the same height and right aligned my information (eg name, adress). The rest of the text has to be placed below that. I ...
5
votes
1answer
503 views

matlab2tikz and bar3 function

If I use the function hist3() it perfectly works with matlab2tikz. But if I use the function bar3 I find this in my matrix.tikz: % This file was created by matlab2tikz v0.2.3. % Copyright (c) 2008--...
10
votes
2answers
3k views

How to generate multiple, numeric-style citation call-outs?

In my kile documents, I want to add multiple citations. For this I use the command \cite{cristo,taylor,polgar,phillips,speirs,simoes,roberto} The names in this command give numeric references, ...
10
votes
1answer
295 views

querying whether a font feature has been activated via a fontspec command

A LaTeX package I'm currently writing makes use of -- and definitely requires -- some of the power of LuaLaTeX. I would like to make my package's user interface -- in particular, the options that need ...
6
votes
0answers
6k views

Arrow end type stealth unknown [closed]

This is the first time I approach at drawing diagrams with latex. I have included the tkz library and the tkz library shapes.multipart. As my code is processed I get back a bunch of nasty errors, on ...
17
votes
4answers
3k views

Symbol for encoding error: black diamond with white question mark �

I would like to add this symbol: � to a beamer presentation. It is shown when something went wrong with the encoding. Sadly, I can't simply include this symol: [53] ! Package inputenc Error: ...
1
vote
0answers
36 views

Error in installing packages [duplicate]

Possible Duplicate: How can I fix the error “GUI framework cannot be initialized” with TeXnicCenter and MiKTeX? I am using window7 and MiKTeX2.9. I want to install new packages which is not ...
12
votes
2answers
2k views

Cut one side of a rectangle node in TikZ

I would like to draw two consecutive rectangle nodes (one is next to the other with an intersected edge). How to cut one side of a rectangle node in TikZ so that the intersected side looks like others?...
8
votes
1answer
106 views

Without changing the shape of the figure, how I can decrease the size?

\begin{figure} { \begin{center} \begin{tikzpicture}[scale=2.00] \node [draw, thick, minimum size=3cm, circle] at (0.5,1.3) {}; \node [draw, thick, minimum size=3cm, circle] at (0.0,0) {}; \node [...
5
votes
1answer
83 views

align environment according to *first* character, rather than last

\begin{align*} abcd &= abcd &(abcdefghijk)\\ &= ab &(ab) \end{align*} After the first ampersand the equal signs are aligned. However, after the second ampersand, the ...
7
votes
2answers
6k views

multiple algorithm2e algorithms in two column documents

I tried this example Place four algorithms (algorithm2e) in a subfigure and arrange them in two rows and two columns on two column documents. It doesn't work. The error message is ! LaTeX Error: [H] ...
0
votes
1answer
289 views

Turning off all colors and background images in beamer

Is there a command to turn off all colors in beamer ? I have a tex file (beamer) where I have used a lot of colors. Just in case, the colors don't show well on the projector, I wanted to turn off all ...
3
votes
1answer
1k views

How to create long underscore before the text? [duplicate]

Possible Duplicate: Long underscore in LaTeX a sample output would be like: __________ hello __________ hello
1
vote
2answers
508 views

Setup SyncTeX with Emacs on debian stable (squeeze)

Is it possible to setup SyncTeX with Emacs on debian stable (squeeze)? Emacs24 is available from http://emacs.naquadah.org/ but squeeze is at its end of cycle and most other tools are outdated. $ ...
2
votes
1answer
93 views

Centering equation on a line

I am trying to center my equation on the line using this code: \[ \ l_{12} = \frac {m_{c} c_{c} \frac {dT_{c}}{dt} + m_{s} c_{s} \frac {dT_{s}}{dt}}{m_{s}} Delta t \] but I keep getting this ...
18
votes
1answer
2k views

Drawing timeline

I have a dataset which consists of repeating events over time. Each event takes an arbitrary amount of time. I could plot this using gnuplot but am unable to produce correct keys because of the ...
7
votes
3answers
976 views

parse variable length comma separated list into command

I've been trying to modify the solution here into a LaTeX3 command that takes a variable length comma separated list of numbers and an optional argument (a unit) and prints the square root of the sum ...
9
votes
2answers
201 views

Is it possible to remove (or otherwise nullify) a whatsit node from a box?

I am aware that it is not generally possible to modify the contents of a box (as per http://tex.stackexchange.com/a/49903/17427), though I believe it is sometimes possible to "unbox" material and hack ...
3
votes
2answers
485 views

Genogram with LaTeX [duplicate]

Possible Duplicate: Genogram or family tree with PGF/TikZ I want to draw a genogram with LaTeX. I tried to do this with tikz, but since you need to model at least 3 different relations ...
4
votes
3answers
2k views

Bold one cell in table using CSV reader

Is it possible to bold a single desired cell (or number of cells) using csvreader (besides the head)? Here is an example of making the table. \documentclass{article} \usepackage{csvsimple} % Make ...
4
votes
1answer
1k views

Typesetting time

I want to typeset time so it looks beautiful. Here's my first attempt: \documentclass[a5paper,11pt,landscape,parskip]{scrartcl} \usepackage[top=1cm, bottom=1cm, left=1cm, right=1cm]{geometry} \...
2
votes
2answers
1k views

Unwanted space before flalign

Why is there so much vertical space between the subsection heading and the equation in the following example. How do I get rid of it? \documentclass{article} \usepackage{mathtools} \begin{document} \...
4
votes
1answer
1k views

Installing fonts for yhmath on MiKTeX 2.9

I'd like to use the yhmath package (pdf documentation), but it requires the installation of new fonts. This is beyond my knowledge level, and I'd really appreciate some help. I downloaded the CTAN ...
7
votes
2answers
3k views

Adding text to the section numbering

I wish to add some text prior to the number given to a subsection, e.g.: Task 1.1 Blablabla ... Task 1.2 Blablabla How?
9
votes
1answer
301 views

How to raise a LaTeX warning from within Lua code?

I want to raise a warning from within Lua code. With advice from the LuaTeX wiki and LaTeX 2𝜀 for class and package writers, I arrived at the following (working) solution: \documentclass{article} \...
1
vote
1answer
592 views

How to remove the caption and the figure x in the figure but to add the caption in the list of figures?

I would like to remove figure 1 from the caption under my figure but to have it in my list of figures. Is it possible? With \caption[Entry for the List of Figures (LoF)]{}\label{fig:without} I can ...
8
votes
5answers
873 views

How to create this image (graphing)

I want to create a graph with only the first quadrant. The values of x can only go from 0 to 9 and the values of y can only go from 0 to 9. In this graph, I want dots for (2,5), (3,3), (5,2) and (7,1)....
4
votes
0answers
208 views

Why does \let\oldindex not work in this code?

This is a follow-up question to: How to make indexed words clickable in the text? I'm having two problems with the code given by @Stephen. If I use the following code to redefine the \index ...
4
votes
2answers
2k views

Change caption in table from Table 2 to Table 1A

I have this code: \documentclass[12pt]{article} \begin {document} \begin{table}[h!b!p!] \caption{This caption describes contents of Table 1, gives the big picture.} \caption {Describe contents of ...
0
votes
1answer
140 views

A way of handling \left and \right brackets [duplicate]

I'm looking a way of making something like this: \underbrace{ \left[\nabla\times \left[\nabla\times \left[\ldots\nabla\times }_{ \infty\text{-times taking curl operator} } \mathbf{...
6
votes
1answer
2k views

Display top border of table using csvreader

I am using csvreader from the csvsimple package to generate a table in my document. I am struggling to get a top border on the table. Here is the code, including writing the .csv \documentclass{...

15 30 50 per page