0
votes
0answers
55 views

Add keyword to a lstlisting language [duplicate]

Possible Duplicate: Extend a language with additional keywords? I'm using the package listings to write some Scheme code. I setted: \lstset{language=Lisp} since "Lisp" is the most ...
6
votes
1answer
629 views

Does anyone know what a cmap file has to look like

This may be an off-topic fringe case, but I need it for pdftex... I made an encoding QS7 for ASCII+Greek and now the only thing missing is a CMAP file to enable copying text from acroread. I made ...
6
votes
1answer
768 views

How can LaTeX code in a data file be read by pgfplotstable?

I would like to place some LaTeX math code in the columns of a file to be read by pgfplotstable. Unlike How to use underscores with pgfplotstable?, I would like the columns to be formatted so LaTeX ...
12
votes
1answer
3k views

Reduce space after \includegraphics

I do not know how to reduce the vertical space between a figure and the following text or line. LaTeX code: \begin{document} \centering \includegraphics[width = 5.0cm]{logo.png} \HRule ...
11
votes
2answers
6k views

How do I make a bibtex style file compatible with natbib author citations

I'm trying to convert my manuscript to PloS Comp Bio style. They provide a BibTeX style file. This works fine for inline citations with \usepackage[numbers,sort&compress]{natbib} (i.e. ...
6
votes
2answers
498 views

Keeping the same style inside a scaled plot

I have a graph with three different curves, two of which are very small compared to the other. I therefore decided to add a magnification of such curves inside my graph, in the following way: ...
10
votes
3answers
5k views

How to use the command \autoref to implement the same effect when use the command \eqref?

For example, the first equation of Section 1 in a tex file is numbered in the form (1.1), When we use the commands \autoref and \eqref for referring it, the compiled pdf file will show Equation 1.1 ...
6
votes
2answers
1k views

Insert a separate mark inside a pgfplots graph

First of all, let me apologize if the title is not enough clear, but I didn't know how to explain myself better. I have a graph consisting in three different curves that are covering almost the same ...
7
votes
1answer
1k views

starred version of \DeclareMathOperator not working

I am using Kile as my LaTeX editor. I have defined a star for DeclareMathOperator but it does show the behavior of \limits, the subscript appears only in the sides rather than below. But using maptop ...
6
votes
1answer
2k views

beamerarticle - problem with commands in sections

I encountered the following problem with the beamerarticle package. If I use commands like \textit{} I get the following error massage: ./test.tex:7: Argument of \@sect has an extra }. <inserted ...
2
votes
1answer
779 views

The whitespace character in listings [duplicate]

Possible Duplicate: Explicit space character? The listings package by default replaces spaces in (for example) strings with a strange underscore style thing, almost like a square bracket ...
10
votes
1answer
752 views

Label automatically positioned so that it doesn't overlap anything

I produce automatically generated LaTeX-files with nodes and links. Is it possible to put the label of the node outside of the node and it is automatically positioned somewhere, such that there is no ...
0
votes
0answers
43 views

I need to change the font to computer modern for one word [duplicate]

Possible Duplicate: change font of certain part of the text My problem is exactly that. I need to change the font to computer modern for one word.
12
votes
3answers
4k views

How can numbering of specific headings be disabled in Org-mode's LaTeX export?

By default Org-mode exports to numbered LaTeX headings. For example, the following #+title: Test * Introduction * Heading * Heading * References exports to \section{Introduction} \label{sec-1} ...
14
votes
4answers
4k views

High level macros and environments based on Tikz

I was browsing the tikz examples that I found this wonderful example. The example uses tikz to create a tex environment to produce a framed text. The result looks like this: The underlying process ...
7
votes
4answers
1k views

Drawing a Zero Pole plot

I'm trying to draw a zero-pole plot for use with some filter design. Since i couldn't find any standard way to go about this, I tried using the polar library of PGFPlots. I'm having some trouble, ...
2
votes
0answers
358 views

How can I add automatic consistency tests for formulas in my paper? [closed]

Let me start with an analogy: In test driven software development, you craft a couple of tests that describe what your program is supposed to do. When introducing a new feature, you start with a test ...
4
votes
1answer
6k views

vertical text orientation (multiple rows) in tabular environment

I would like to create a table that is labelled like the axis of a plot, i.e. a vertical orientation of the y-axis' label. This is what I have \begin{tabular}{rc|c|c|c|} ...
3
votes
1answer
2k views

Installing Texlive on Debian x86-64 Platform

I had previously worked with the texlive distribution provided in the Debian repository, but I came across many inconveniences as a result of it being outdated (no tlmgr; forced to manually update and ...
9
votes
1answer
4k views

PDF bookmarks for sections and subsections with the llncs class

The following code is in the preamble of my LaTeX document: \documentclass{llncs} \usepackage{amsmath,amssymb} \usepackage{url} \usepackage[algoruled,vlined]{algorithm2e} ...
2
votes
1answer
500 views

Frame breaks inside mdframed environment with beamer class

The mdframed environment fails to break into several pages (slides) when used in a frame environment from the beamer class. In the other hand, the boitecoloriee environment from the boites package ...
1
vote
1answer
249 views

Does Windows version of TeX contain patgen?

I know two Windows versions of TeX -- MiKTeX and proTeXt. Do they contain patgen package? If not, what Windows version of TeX contain the package? Can MiKTeX or proTeXt import such package from TeX ...
5
votes
1answer
694 views

“nodes near coords” shows y value instead of x

I am pretty new to LaTeX and have the following problem. From the pgfplots manual I found the example: % Preamble: \pgfplotsset{width=7cm,compat=1.5.1} \begin{tikzpicture} \begin{axis}[ ...
5
votes
1answer
518 views

Shrinking text in a node, such that the minimum width and minimum height are the actual width and height of the node

I want to shrink the text in a node such that the minimum height and width are the actual width and height of the node. I found this Shrinking text to the width of a node within a tikzpicture, but I ...
7
votes
1answer
1k views

Multiple TIKZ-UML usecase not showing correctly when included in document

I'm using TIKZ-UML to create four simple usecase diagrams. I have made them individually in seperate files to make sure that they all compile as they should. I include the required packages in my ...
114
votes
2answers
26k views

Should \tikzset or \tikzstyle be used to define TikZ styles?

The PGF/TikZ manual states in section 12.4 Using Graphic Options, page 120 (v2.10), that TikZ styles can be set using: \tikzset{my style/.style={<tikz options>},...} However, in several ...
10
votes
2answers
910 views

Show only the last two year digits in Biblatex citation

I'm writing a piece where I'm citing several standards, for example @STANDARD{en1990, title = {EN 1990: Eurocode: Basis of Structural Design}, organization = {Comit\'e Europ\'een de Normalisation ...
1
vote
2answers
3k views

How to put a quotation box wrapped in text?

What is the easiest way to put a box for quotation wrapped within text as we do for figure with wrapfig. Like half-sized box of text in magazines. I am trying float, but I am not sure if it is the ...
6
votes
1answer
935 views

Book style used in Concrete Mathematics

Does anyone know what style is used in Dr. Knuth's Concrete Mathematics? I'm hoping to use it for my dissertation. I know that they use the concrete and Euler fonts, but with regards Chapter ...
1
vote
1answer
457 views

LaTeX installation query

I have just installed TeX Live 2011 using the install-tl Perl script on my extenal hard drive. What do I have to do next in order to get LaTeX up and running? EDIT: i am using ubuntu 11.10. Terribly ...
8
votes
1answer
433 views

Why does biblatex-chicago print accessed twice in bibliography?

I am using biblatex-chicago to manage my bibliography but whenever I try to set a bibliography entry with the urldate field, it prints the word 'accessed' twice. I have created a minimal example to ...
31
votes
2answers
76k views

Quote marks are backwards (using texmaker/PDFLatex) [duplicate]

Possible Duplicate: What is the best way to use quotation mark glyphs Automatically convert quotations in the form of “abc” to become ``abc" I am (obviously) new to LaTeX and ...
8
votes
2answers
13k views

“For” loop without “do”; “if” statement without “then”

How can I get rid of the do in a for loop and the then in an if statement when typesetting algorithms using the algorithm and algorithmicx packages?
10
votes
1answer
1k views

Aligning sub-equations within align

Update: How do I align both the \sum signs and the = signs in the last two equations? I have updated the picture. Original Question: When I use the following code: \begin{equation} \begin{split} ...
0
votes
0answers
41 views

Multi-line brackets in align [duplicate]

Possible Duplicate: How to make \left, \right pairs of delimiter work over multiple lines? The following code (from the official User's Guide for the amsmath Package) works: ...
6
votes
2answers
850 views

Biber broken on debian wheezy/sid texlive 2011

After an update of texlive 2011 (two days ago), biber (version 0.9.9) is completely broken. The solution found via google (deleting directory /tmp/par-.....) does not work. The Error is: ~/Git/DISS$ ...
4
votes
1answer
788 views

2 SCfigure next to each other

I want to place 2 SideCaption Figures next to each other but having real trouble with it. I tried to place them in a minipage and tabular environment but nothing worked. Always got a while bunch of ...
4
votes
0answers
480 views

List of abbreviations/acronyms packages for non-English languages [closed]

Is there any LaTeX package for acronyms/abbreviations that specifically targets Cyrillic (Russian/Ukrainian) users, with all that different cases (Dative, Accusative, etc.) they have in their ...
2
votes
1answer
732 views

Unwanted spaces

The code given just after produces extra unwanted spaces indicated in the following picture. How can I fix it ? Sorry for the colors, this choices will be changed later when technical issues will be ...
-1
votes
1answer
989 views

table breaks spanning multiple pages

i'm having an issue with a table that spans multiple pages and breaks across columns that span several rows. my code is listed below. the problem is that on page 1, row 1 shows up with foo1, bar1 ...
3
votes
1answer
1k views

Why is this syntax to generate parentheses in math mode awry?

I am trying to wrap values in parentheses with $\frac{\left (7-2)^8 \right \left (32-3)^5 \right}{5}$ However, pdflatex issues this error: ! Missing delimiter (. inserted). Why? Taking out the ...
7
votes
1answer
94 views

Detect markers in macro arguments

I'd like to find a way to define a command which would work like this \mycommand{This +is+ a +simple example+.} and give This is a simple example. i.e a command which looks for words ...
8
votes
1answer
1k views

Table specific questions

I use report class and I have just started working with tables. I have created one: \begin{table} [ht] \centering \caption{Ut convallis pharetra augue at aliquet} \label{table1_disc_log} \small ...
5
votes
1answer
534 views

longtable spanning multicolumns

How to use make a longtable span across a two-column document? I'm working on a twocolumn class, and I'd like to make the longtable be centralized in the page, as well as to make the orphan items, ...
22
votes
1answer
6k views

pdfTeX warning: “version allowed”

After including some figures (saved as .pdfs) in my LaTeX document with \includegraphics, I got the following warning: pdfTeX warning: pdflatex.exe (file ./figure/figure_1.pdf): PDF inclusion: ...
13
votes
1answer
171 views

Does tex know its own command line arguments?

Is it possible to test within the document what commandline arguments were passed to tex? The particular case that prompts this is the question Tabs in output file written by xelatex and pdflatex are ...
10
votes
2answers
1k views

Properly align numbers with units in table

I need to typeset a table comparing, among other things, the temporal resolution of certain datasets. Ordinarily, I would put the common unit into the table header, and only list the values in the ...
5
votes
1answer
471 views

Hiding a part of a plot

Is there a way to hide a part of a plot, possibly by specifying the interval numerically? I have a plot with xmin, xmax, ymin and ymax defined and I need to move it from the y axis without using ...
8
votes
1answer
529 views

How can I make a table like the type in this image in LaTeX?

I'm trying to make a table like the one in following image in LaTeX but I'm unsure how to go about it. I've been using the tabular environment from the booktabs package, but the following code ...
5
votes
2answers
468 views

Some questions about pgfkeys code

(1) In the expression \def\pgfkeysgetvalue#1#2{\expandafter\let\expandafter#2\csname pgfk@#1\endcsname} #2 will be let to \relax whenever pgfk@#1 is undefined. Is this harmless in pgf? Even if it ...

15 30 50 per page