3
votes
1answer
375 views

TikZ. Is there a way to alternate path to be drawn basing on some condition?

What I want is to connect nodes by stepped (horizontal-vertical-horizontal, hvh) path if they have different y-coordinate, and by straight line if they are on the same level. Costruction of the only ...
3
votes
1answer
290 views

pgfplotstable as pmatrix

The content of the file matrix.dat is: 11 12 13 14 21 22 23 24 31 32 33 34 What I want is a rendering in LaTeX like this: / 11 12 13 14 \ | 21 22 23 24 | \ 31 32 33 34 / I can load the file ...
1
vote
3answers
2k views

Using predefined constants with TikZ

I can't seem to get definitions of constants working in TikZ. I looked at this related question question and that too did not work for me. This example works, but not if the swap the \coordinate ...
4
votes
1answer
1k views

Installing tabu.sty with MacTeX 2010.

I use MacTeX 2010, and I need to install tabu.sty. I run tlmgr to install the package, but without luck. > sudo tlmgr install tabu.sty tlmgr: package repository ...
3
votes
1answer
333 views

Strange interaction between natbib and algorithm2e

Here's a minimal example. \documentclass{article} \usepackage{titlesec} \usepackage{algorithm2e} \usepackage{natbib} \begin{document} \bibliographystyle{plainnat} \begin{thebibliography}{1} ...
37
votes
2answers
7k views

“Single ampersand used with wrong catcode” error using tikz matrix in beamer

I am having trouble getting a basic example of a matrix of notes to show up in my beamer presentation. I am using the code copied from the pgf manual. Here is a complete working example. The error I ...
18
votes
3answers
5k views

Replace Type 3 with Type 1 fonts in a PDF

Is there any way to directly manipulate a PDF file with Type 3 embedded fonts (yes, those PDF generated from old tex/dvips and CM fonts), and replace them by decent Type 1 fonts? I know that once ...
4
votes
3answers
5k views

Bipartite graphs

I want to draw something similar to this in latex. How can I do it? I want it to be a directed graph and want to be able to label the vertices.
2
votes
1answer
324 views

Biblatex and Chicago - leading space before location in footnotes

I'm having a problem eliminating a leading space which has appeared between the opening bracket and the location of a publisher in Chicago style footnote references created with Biblatex. For ...
3
votes
2answers
4k views

How to force text and figures to be on the same page when minipage, samepage, nopagebreak do not work

I'm trying to get four figures (centered on a page in a 2x2 grid) to show up on the same page as the section heading ("Appendix"). The following puts the word "Appendix" on one page (all by itself) ...
8
votes
3answers
5k views

beamer's \only command, equation counter increment does not get retained outside of \only

I've got a problem where I am using beamer's \only command, but within \only, the equation number incrementation doesn't survive. I.e., I'd like to do \only<1>{ \begin{align} equation 1 ...
8
votes
2answers
583 views

Is there a PlasTeX custom-renderer which can produce ePub (or nearly ePub)?

PlasTeX is an implementation of LaTeX in Python, which supports custom rendering classes - you can provide a new class on the output end of the function which transforms something a little like DOM ...
2
votes
1answer
2k views

Dealing with Long Table head entries ?

As seen below, my goal is to save some space. For example, Applied Model Logistic Model The code i'm using to generate the table is: ...
0
votes
0answers
189 views

Problems with xltxtra and footnote [duplicate]

Possible Duplicate: How to change parameters for \textsuperscript{} in french? I use fontspec to load the local fonts (ITC Esprit Std Book). Everything is fine (the only main problem may ...
64
votes
3answers
40k views

Nice custom beamer theme: how to do something like it?

So I found this totally awesome looking presentation that's made in LaTeX: pyprop.googlecode.com/files/disputas.pdf I love how there is custom header with university logo. I'd like to do something ...
15
votes
4answers
524 views

Why is LaTeX separated into many thousands of packages?

This question might belong elsewhere but I figured if I posted it here I might come across someone that deals behind the scenes of LaTeX. I'm an assistant Linux Admin at my school and we install LaTeX ...
6
votes
5answers
2k views

How to get a list of all the labels in a LaTeX document in WinEdt

I am writing a large document using LaTeX and WinEdt. I have labeled each chapter, section and so on. I would like to print out a list of just the labels (so that I don't duplicate one later on, and ...
2
votes
1answer
4k views

Centering Text using multirow that overflows onto multiple lines

I am trying to create a table where one column has multiple rows. This is very easy to do using the multirow package. However, if I specify a width for this \multirow and my text overflows, the second ...
5
votes
6answers
4k views

Use \mathrm by default

How can I get roman font by default in math mode?
23
votes
5answers
10k views

Draw true page border

Is there a way to draw a rectangle around every page? The problem is that my document (a Ph.D. thesis) is in a funny format (16x24cm). So to print it centered on A4 paper (for reviewing) I played ...
2
votes
2answers
2k views

How to typeset a multiline text in math environment?

I am using lhs2TeX to render Haskell code in LaTeX. It preprocesses the code into complex LaTeX code which is rendered (in one mode of operation) in math environment. Now, I have in this code also ...
12
votes
1answer
7k views

Span formula over multiple pages.

I've looked through the search but I couldn't find what I specifically want. I have the following \begin{equation} \begin{split} Very long equation \end{split} \end{equation} Now, I have half a ...
3
votes
1answer
886 views

Changing the alignment of chapter headings and quotes in quotchap

How can I change the alignment of chapter headings and quotes in quotchap without modifying the .sty file? More specifically, I would like left-align the chapter headings and right-align the quotes.
8
votes
2answers
4k views

LaTeX generated website with TikZ diagrams

I am trying to generate my static website with LaTeX to avoid tedious/verbose HTML and underpowered markdown languages. I know of latex2html and htlatex/TeX4ht for generating documents in the HTML ...
1
vote
1answer
218 views

Abstract takes its own column, pushes first section to second column

I am using the acm_proc_article-sp class to prepare a conference paper. It should not exceed the length of 4 pages. Unfortunately, the abstract will push the first chapter to the second column, even ...
4
votes
2answers
1k views

How to change parameters for \textsuperscript{} in french?

I try to put \textsuperscript{ère} with Roman digits everywhere in document but as I understood the command \textsuperscript{} in French makes effect for all symbols except of "è"? This solution ...
4
votes
1answer
591 views

Fatter arrowheads in xy-pic

I am formatting some diagrams using arrows in xy-pic. The "standard" arrow head that xy-pic produces with the command \ar is quite different (much smaller, thinner) than that produced by using the ...
6
votes
2answers
4k views

Url references in bibliography

I am using TexMaker. I would like to know how to include web site references in the .bib file. I am using bibliography style , alpha. How does the website reference appear in the bibliography
16
votes
7answers
2k views

Calculating right angle triangle side inside LaTeX

I'd like compute the width of a screen from it's diagonal and its aspect ratio inside a LaTeX document. The formula is easy to get from the Pythagorean theorem, but needs square roots. I currently ...
0
votes
2answers
450 views

Where can I find file latex.‎tex?

Where can I find file latex.‎tex?‎ I don't have it in my tex ‎distribution‎. I‎ ‎have ‎only ‎file ‎latex.ltx ‎on ‎my ‎system. By the way, I'm using Texlive 2010.
1
vote
1answer
216 views

Highlighting/Bolding Tcircle elements

So I am using PSTricks PSTree package to build a tree using TCircle ... now I want to bold out some branches by making the lines of the circle and the connecting lines thicker ... can I do this ...
4
votes
1answer
804 views

\fbox inside listings

I am trying to highlight a specific line inside a listing with listinline. The code I am currently using looks like this: \begin{lstlisting}[escapechar=!] class A { void m() { B b = ... ...
5
votes
2answers
898 views

Numbered paragraphs

I would like to write something with numbered paragraphs - for those who know it the style should be the same of EGA. So instead of having something like blah blah Theorem 2.1 blah blah ...
0
votes
2answers
2k views

generate a PDF containing R output inside latex table

I wrote a script that generates 4 variables from 2 for loops, each one of them contain a big number of data. I want to place these variables inside a data frame and then create a latex table so I can ...
6
votes
1answer
209 views

Expansion of command for language in otherlanguage environment

I wish to keep the language in a command \newcommand{\testlang}{english} \begin{otherlanguage}{\testlang} ... \end{otherlangauge} However, \testlang is not expanded, and i get the error ! ...
17
votes
5answers
6k views

\vec{x} but with arrow from right to left?

I have two variables: \vec{x} and another one which is somehow dual to the first. Therefore I would like to symbolize the second with something similar but a leftarrow on top of the x. I already tried ...
37
votes
2answers
4k views

Macros for common abbreviations

Common abbreviations are surprisingly tricky to format correctly. I'd like some simple macros for them, to be used like so: You should eat more fruit, \eg apples, bananas, oranges, \etc. There are ...
4
votes
2answers
258 views

Ending all pages with period/fullstop

I want to have LaTeX (LyX) make its pages end at a fullstop (.). In other words no broken sentences carried to next page. I hope to use \raggedbottom so that pages will be shortened by a few lines ...
5
votes
1answer
843 views

Wrap latex environment

I'm a beginning latex user. I have some programming code in my document which I format using the lstlisting environment from the package listings. However this still allows the code segments to be ...
12
votes
2answers
5k views

Getting length as number?

I have probably formulated the question wrong, as I don't know the Tex internals - but this is what I mean; consider this example: \newcommand{\myNum}{2} \newlength{\myLength} ...
1
vote
1answer
873 views

How to set rulecolor in a listings frame only for the top line?

I use the following lstlisting (listings package): \documentclass{thesis} \usepackage{ucs} \usepackage[utf8]{inputenc} \usepackage{url} \usepackage{bbding} \usepackage{listings} \usepackage{tikz} ...
11
votes
3answers
2k views

Replacing greek glyphs in math mode

I want to switch fonts, away from computer modern. I'm pretty sure that I will end up with a mixture of fonts. I can't provide a full list of required features, but Linux Libertine's feature set ...
1
vote
1answer
263 views

Local central figures repository [duplicate]

Possible Duplicate: Automatically Locate Included Figures and Graphics This question is related to the workflow with LaTeX, more then it actually related to LateX... However, I would be ...
3
votes
1answer
1k views

Create a publications and patents stand-alone list

I would like to create a document containing a list of publications and patents using LaTeX. This could be a companion to a CV/Resume. Ideally, I would like to use a bib file, but would also like to ...
3
votes
1answer
759 views

avoiding white spaces between consecutives minipages

I am using the list environment \begin{itemize}\end{itemize} in pdflatex with several \item inside. I want to make each line from inside the environment "itemize" longer so that the length is ...
7
votes
1answer
10k views

Which font should be used for diagrams/graphs/flow charts?

I'm using the standard serif fonts in KOMA script for typesetting my thesis, 11pt for normal text. What font and font size would be recommended for use in graphs, diagrams and flow charts? The same ...
23
votes
3answers
618 views

Should I include punctuation marks in \emph, or should I place those marks after the command?

I wonder if I should place punctuation marks directly after the \emph{} command, or should I include those marks within the curly brackets? Thus: The languages only differ in their \emph{grammar}, ...
11
votes
1answer
8k views

How to get sequential references in my paper?

I'm using TeXnicCenter to write my all document and generate my bib file by using JabRef. However I noticed that my references are out of order. It seems the addition order to JabRef file forces the ...
21
votes
3answers
3k views

Exporting all equations from a document as individual svg files

I'm currently a presentation based on a paper originally written in Latex. Currently, I use Kile and Ubuntu for my work. What I'm finding is that I need a large number of the equations from the ...

15 30 50 per page