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
288 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
975 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
484 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
300 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
590 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
872 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{...
3
votes
1answer
655 views

Tick numbers on x and y axis

How can I draw the x and y axis so that latex displays the tick numbers on it? (1 unit) I try: \begin{center} \begin{tikzpicture}[scale=0.5] \draw[very thick,blue] (3,-4) ellipse ({4} and {3}); \end{...
16
votes
1answer
5k views

Background color gradient for entire document

Is anyone aware if it's possible to change an entire document's background to a fading color? In other words, can you take silver and slowly fade it to white from left to right and have this same ...
4
votes
1answer
136 views

Why does pgffor not calculate correctly?

I have the following problem: I want to draw some moiree effects in tikz. This seems to be no problem. I did it without any error (two circles of trapezia). Now the two rings should be moved a bit. I ...
15
votes
5answers
53k views

Center table on page

I would like to center a table on the page, not only the content. But I can't find the right keyparameter or command. I have follwing table \documentclass[11pt]{scrartcl} \usepackage{multirow} \...
0
votes
1answer
5k views

You can't use `\eqno' in math mode [closed]

Pls help me! I got some error message in TeXniCenter about this equation. I tried to look for errors in parentheses, but could not find. \begin{equation} P=\frac{\hat{U}\hat{I}}{2T}\int\limits^{T}_{0}...
7
votes
1answer
2k views

How does \footnotesize map to \fontsize{size}{baselineskip}

We can change font size using {\fontsize{size}{baselineskip} \selectfont .....} with the anyfontsize package. I want to know what size and baselineskip values the following commands result in: \...
3
votes
1answer
171 views

Wrong page numbering(ToC-LoT)-Empty pages before ToC-

First of all I am sorry for my not minimum WE. I will explain why it's not... I am creating a ToC in a book-class document. ToC starts at page iii(I am using roman numbering) and ends at iv. The ToC ...
1
vote
1answer
1k views

How can I number theorems by section in LyX?

The theorem count doesn't update when I move to another section. I.e. I'm currently in section 6, and LyX has already in theorem 30, when theorem 1 is in section 1. How can I make LyX start counting ...
0
votes
1answer
845 views

While using Literature references in LyX provided by BibDesk on Mac OS 10.8 capital letters are getting confused

On my Mac I am working with BibDesk to manage my literature references in LyX. Everything works just fine. Except for the following. In BibDesk I added a certain book with a german title in which ...
4
votes
1answer
144 views

The \not rendering and the line over sigma symbol

I am writing a paper and I need to use the \not command on \sigma which stands for a order relation on a set. The issue is that the line over the sigma symbol is rendered poorly, is there any way I am ...
8
votes
2answers
843 views

Watermark on pictures only

I know how to use a watermark on a full page in LaTeX reports, using for instance this code: \usepackage{draftwatermark} \SetWatermarkText{Confidential} \SetWatermarkScale{5} However, on my report, ...
4
votes
1answer
2k views

How to use outertheme infolines with one color?

I want to use the outertheme infoline with one color. My style file beamerthemeTest.sty looks like this: \usetheme{CambridgeUS} \useinnertheme{rectangles} \setbeamertemplate{navigation symbols}{} \...
11
votes
2answers
2k views

How to adjust the kerning around a forward slash in text

In contrast to \texttt{typewriter} normal text is "connected". When using a forward slash, I get for y/. this: while I would like to get something like that: which can be accomplished by y$\!$/$...
2
votes
3answers
328 views

Why does the space have no effect in this line of my code?

Here is my code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{geometry} \geometry{a4paper} \usepackage{amsmath} \usepackage[frenchb]{babel} \begin{...
2
votes
1answer
482 views

Interrupt environment with command

At the moment I'm trying to figure out how I could interrupt an environment. What I did so far... \documentclass{article} \usepackage{amsmath} \newenvironment{envnew} { \begingroup \csname ...
7
votes
1answer
5k views

align names, data and picture in CV

I would like that the picture and the name, personal information and picture appear at the same height, instead of the picture above like here: \documentclass{moderncv} \usepackage{etoolbox} \...
3
votes
1answer
553 views

How to make indexed words clickable in the text?

I want to make the indexed words into hyperlinks to the entries in the "Index" (something similar to the glossaries package). I'm using xindy on TL2012 and here is my code: \documentclass{article} \...
0
votes
0answers
42 views

long table alignment in fixed size columns [duplicate]

Possible Duplicate: Fixed width column with text centered/raggedright/raggedleft in tabular? My longtable has a column with a fixed size, p{2cm}. How do I make that column align to the left? ...
6
votes
1answer
1k views

Citing author inline and year in footnote using biblatex

I've been looking around and note found an answer to this question, which surprises me given the style is somewhat common. I just switched over to biblatex because some journals in my field use ...
1
vote
2answers
5k views

Titles in my bibliography are lower-case [duplicate]

Possible Duplicate: BibTeX loses capitals when creating .bbl file Transforming the .bib file to get upper cases When using the LaTeX bibliography feature, all titles are in lower-case except ...
5
votes
1answer
209 views

Harsh corner on a shape drawn with rounded corners

I'm trying to create a custom shape surrounding some nodes. I have used a \path to draw the shape but I don't get a rounded corner where I begin drawing the shape. Here's my MWE: \begin{tikzpicture} ...

15 30 50 per page