1
vote
1answer
353 views

On-Screen resolution deteriorates in pdflatex if figures are included

When I put a figure into my document (doesn't have to be bitmap, PS does the trick as well, I think the distinction is color vs no color), the on-screen resolution of the text changes at the default ...
4
votes
2answers
5k views

Spanning columns with `\documentclass[twocolumn]{article}`

I started writing an article with the multicol package, and I like the results. However, I'd like to know how to reproduce some of the effects using \documentclass[twocolumn]{article}. For ...
4
votes
1answer
3k views

How can I get capital Angstrom symbol to appear in bibliography (using .bib file and natbib)?

I have search all around but cannot seem to find the solution for getting a capital angstrom symbol (an "A" with a small circle above it) to appear in the bibliography of my dissertation. Instead, it ...
15
votes
2answers
4k views

Using Biber with latexmk

With version 4.22, latexmk claims to [s]upport the use of biber (with the biblatex package) as an alternative to bibtex for generating bibliographies, with automatic determination of whether to ...
5
votes
3answers
3k views

Submatrix in LaTeX

I would like to create something like this: i ( ) ( ) (______ ) j( | ) ( | ) The matrix including its submatrix can be created by using ...
38
votes
3answers
17k views

How to combine Acronym and Glossary

I'm using glossaries at LaTeX: I have a Acronyms (eg. API) that should be explained in the Glossary. It should be linked to the Glossary at occurrence but should be written out at first occurrence. ...
6
votes
1answer
425 views

Include another pdf in a box (and other details)

Some time ago I read a paper that was tightly based on another one. It was from the same authors so they included the previous papers as appendixes. I noticed (and liked) that these appendixes were ...
1
vote
0answers
41 views

How to combine Acronym and Glossary? [duplicate]

Possible Duplicate: How to combine Acronym and Glossary I'm using glossaries in LaTeX. I have an acronym (e.g. API) that should be explained in the glossary. Every occurrence of it should ...
7
votes
1answer
684 views

visualize code indentation

How can I visualize code indentation? What I want is to draw a vertical line along the indentation. Since an example is easier to show then to explain you can see one in this paper (on page 2)
71
votes
5answers
164k views

How to break a long equation?

I have a long equation but long enough to occupy two lines. I want to break it to improve readability. How can I break it? \begin{equation} F = \{F_{x} \in F_{c} : (|S| > |C|) \cap (minPixels ...
11
votes
2answers
391 views

Where's my backslash gone?

When I try to use one of the more "hacky" methods of getting a literal "special character" (such as backslash or a brace) then I get a different character: backslash seems to be an open quote, left ...
6
votes
2answers
572 views

What is the simplest way to draw the solution of a simultaneous inequalities using PSTricks?

Objective I want to draw a region in Cartesian coordinate system that satisfies a set of inequalities. How to do this in the simplest way? Minimal Code \documentclass{minimal} ...
5
votes
3answers
2k views

Can I get a shadowbox with rounded corners? (using `listings` package)

I'm using the listings package as below: \usepackage{listings} \lstnewenvironment{pythoncode}[1][] {\lstset{language=Python, basicstyle=\ttfamily\footnotesize, frame=shadowbox, ...
2
votes
1answer
650 views

vim on Rnw (sweave) files: how to indent <<>>== properly?

When I use vim-latexsuite to indent my .Rnw files, the Sweave blocks get indented, which causes them not to work properly. What I need is a way to ensure that the vim indent scheme puts these blocks ...
4
votes
2answers
9k views

Add a textbox overtop an image in a beamer slide

I have a slide with a figure in it. I want show a vertically and horizontally centered (relative to the image if possible) text box overtop of it as an overlay which will contain a few lines of text. ...
6
votes
1answer
2k views

Hello World in pdfLaTeX

After many years being silent, TeX can now talk! Almost minimal code below! It should be of particular interest to Physicists and Cosmologists. Need to have Adobe Reader installed. ...
4
votes
2answers
177 views

What is with the unsightly overlap at the top of the index pages in source2e.pdf?

I notice that in source2e.pdf, the Index section has a running header that intersects with the top of the main text on each page, like so: (Actually, this seems to happen with some other sections, ...
19
votes
3answers
9k views

In a beamer slide highlight a region of an image with a rectangle overlay

I have a slide with a figure in it. I want to draw a rounded corner rectangle overtop part of a figure to highlight that section. Bonus points if you can draw two rounded rectangles as overlays ...
1
vote
1answer
1k views

acroTeX and TeXLive 2010

this is a follow-up of the post: How do you say Happy New Year with LaTeX? How do you say Happy New Year with LaTeX? It sounds great to be able to use LaTeX for such greetings but however I have ...
0
votes
1answer
2k views

subfloats not processed well with Sciposter

I am making a poster and I saw that sciposter is a very good poster class with the ability to process eps figures. Also I found that sciposter can handle \psfrag commands used to add labels on ...
6
votes
2answers
9k views

Font installed, compiles to dvi, but fails compiling to pdf. “font at 600 not found”

After having answered this question I thought "hmm, maybe I should actually install that package and see if it's as good as it looks... So I tried. I downloaded ccicons.tds.zip from here and unzipped ...
4
votes
2answers
2k views

How to add indentation to all verbatim environment?

I have a style where all paragraphs have indentation of about 5cm. Verbatim environment does not have any indentation to the combination of paragraphs and verbatim environments does not look good. ...
1
vote
2answers
4k views

Label referring problem

I'm new here and new user of LaTeX I'm trying to write my PhD, intermediate reports with it and I am facing some problems. I tried to look on the internet for 2 weeks, but found no answer to my ...
4
votes
2answers
210 views

Get tokens between two commands

I'm trying to create a screenplay-like class that uses a very simple syntax to create the dialogue, and dumps it as a plain text file for use in subtitles. To divide the subtitle sections I use &, ...
12
votes
2answers
3k views

Color merged and regular cells in a table individually

In a LaTeX table with merged cells, how can I color each cell with a different color? %% LyX 1.6.7 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know ...
28
votes
3answers
18k views

Tikz - How to Draw Boxes Around Set of Nodes

How to draw the boxes as shown in the attached image? I could only manage to draw the chart but could not highlight the desired node / nodes with a rectangle box. Preferably dotted. I could not draw ...
10
votes
4answers
16k views

Good LaTeX Table Editor? [duplicate]

For LaTeX tables editor, I am using LaTable version 0.7.1 which is good to a large extent. The only problem I have (so far) with this editor is the ability of adding multi-lines in a cell. Can ...
3
votes
1answer
472 views

Make emacs speller work with accented/modified letters

In continuation to this question I was wondering, now that my document is full of \' and other accents, the emacs speller balks on all the words... Is there a way to get a spell-checker to understand ...
6
votes
2answers
1k views

Draw Image (Data flow)

I am newbie in this TEX world and I would like to draw something like this: But I don't know where to start. I tried using: \usepackage{pstricks,pst-node,pst-tree} but when I try to use it I got ...
3
votes
2answers
545 views

Is there package to create a “Problem-Solution” environment that is symmetric for “twoside” pages?

Background The following screenshot shows a Problem-Solution environment that is symmetric for twoside papers. NOTE: The problem heading is on the right side for odd-numbered pages. For ...
26
votes
3answers
17k views

Warning: There were multiply-defined labels

I got a "LaTeX Warning: There were multiply-defined labels", and I know what it means but my document is pretty big and it has various files. So, how can I find the multiply-defined label? I am ...
8
votes
1answer
3k views

Tikz, mindmap, and nodes - control over node radius

I'm trialling tikz mindmap as a tool for drawing network diagrams. Everything is great, however what I'd like is to be able to have some control over the node sizes. As an example, say my root note ...
0
votes
1answer
146 views

Is there a side effect if we use listings.sty with chained styles?

Even though I have not detected the side effect, I am still worrying I might do a bad practice here. Is there a hidden side effect when doing the following? \documentclass[cmyk]{article} ...
2
votes
1answer
196 views

Can `movie15.sty` work with Silverlight application?

Can movie15.sty work with Silverlight application?
4
votes
2answers
412 views

What is the most minimal code to work with ConTeXt?

What is the most minimal code to work with ConTeXt?
4
votes
1answer
738 views

How to fix error “ruby.exe seems not to be installed” in Windows 7 where both Miktex 2.9 and Ruby have been installed?

I have installed Miktex 2.9 with the latest update. I work with latex.exe successfully. I want to learn ConTeXt and I installed Ruby. To get better settings, I restart my computer. After restarting, ...
50
votes
4answers
84k views

How to type special/accented letters in LaTeX?

How to type these special letters from European languages in latex? ä, é, and L'?
4
votes
1answer
2k views

LaTeX fails to find my .sty file

! LaTeX Error: File `mypackage.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) I am getting the above error message in Ubuntu 10.10. I used ...
27
votes
3answers
8k views

How can I highlight some lines from source code?

I am preparing a presentation (using beamer) and I'll need to include many snippets of source-code. For including source code, I'll probably use listings package. (I know there is also minted package, ...
0
votes
1answer
589 views

framed-like boxes across pages [mathspec or biblatex packages]

I'm trying to find the code to get boxes like the ones we can enjoy in the mathspec or biblatex user guides. It seems to be based on the listings and framed packages. Here is a working minimal example ...
16
votes
2answers
22k views

How to move page number?

I want to change the position of the page number. I've read around here that some suggest to use the fancyhdr package, but I don't want to use it – I'm a beginner to LaTeX so I don't want to use a ...
12
votes
2answers
5k views

Tikz - How to connect nodes

\documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \begin{document} \begin{tikzpicture} \draw (0,2.5) node[minimum height=1cm,minimum width=3cm,draw] (A) {A}; \draw (5,0) ...
8
votes
4answers
799 views

The § character

I need information about § character. I have seen it used for numbering (equivalent to nº) and as a separator. Which is its name or code? Where can it be used?
42
votes
8answers
41k views

Producing doc/docx from LaTeX

Is there any way to produce doc/docx files from LaTeX?
0
votes
1answer
684 views

Colors that work well with beamer color scheme albatross

Is there a color scheme made using \definecolor that defines colors that work well with the beamer color scheme albatross?
2
votes
1answer
2k views

In beamer use colors that are already defined in a given color scheme

I'm using a table with alternating colors in beamer. Is there a way to base the colors I use on the palette that is already defined? In this way if I switch color themes the colors should still go ...
3
votes
2answers
732 views

How to eliminate the space between multiple numeric citations when using citep and natbib?

I have a document that is using natbib via the following usepackage command: \usepackage[numbers,square,comma,sort&compress]{natbib} When I cite multiple papers using the citep command, I get ...
30
votes
3answers
15k views

Preparing cheat sheets

Are there any templates, document classes for preparing cheat sheets? If not, what would make it easy to produce such documents?
22
votes
3answers
4k views

PDF version issue when including PDF figures

I keep getting the following line in my log file ** WARNING ** Version of PDF file (1.5) is newer than version limit specification. with reference to each image I'm trying to include in my ...
2
votes
2answers
1k views

Conflict between gantt.sty and \framebox{}

I've recently been using the Edward Tufte inspired style file (the handout option) for my documents and a Gantt chart package. However, if I put \usepackage{gantt} in my preamble it prevents some code ...

15 30 50 per page