# All Questions

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 ...
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 ...
3k 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 ...
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 ...
4k views

### Use \mathrm by default

How can I get roman font by default in math mode?
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 ...
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 ...
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{split} Very long equation \end{split}$$ Now, I have half a ...
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.
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 ...
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 ...
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 ...
592 views

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 ...
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
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 ...
451 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.
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 ...
805 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 = ... ...
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 ...
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 ...
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 ! ...
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 ...
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 ...
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 ...
844 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 ...
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} ...
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} ...
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 ...
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 ...
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 ...
760 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 ...
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 ...
619 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}, ...
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 ...
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 ...
4k views

### Horizontal line below figure caption

I would like to draw a horizontal line/rule beneath my multi-line caption to separate the caption more clearly from the rest of the text. A quick example: \begin{figure}[tb] \begin{center} ...
13k views

### Source code listing with frame around code?

I'd like to make my code listing looking more sexy. I found a good example on SO, but one problem is remaining: I would like to not only have a horizontal line at the bottom of the listing but also ...
2k views

### How to keep track of necessary changes (“todo”) for a large document?

Working on my Ph.D. thesis I use the fixme package to add notes and comments to my pdflatex document and I have defined several types of notes for easily seeing the difference between "substantial" ...
2k views

### Mirrored cylinder in TikZ

How can I draw the following mirrored cylinder, together with the mirrored “Muon”, in TikZ? Thanks in advance!
7k views

### How to get text above and below double harpoon (reversible reaction) symbols in an equation

I'm working on the Chemwiki Dynamic Textbook Project at UC Davis, California and I've run into a problem. I need to formulate a symbol containing double harpoons (as in a reversible reaction, e.g. ...
550 views

### Include images in TOC?

I've got a large document whose table of contents is being generated by the usual \tableofcontents command. I'd really like to include a small image next to each line in the TOC. How can I do that? ...
501 views

### Accessing the n-th coordinates of a plot

\begin{tikzpicture} \begin{axis} \addplot coordinates { (1,1) (2,4) (3,9) (4,16) }; \draw (axis cs:0,0) -- (axis cs:3,9); \end{axis} \end{tikzpicture} I can easily draw a line ...
233 views

### Nested expressions in equations

Is it possible to type something like this (in math mode): A = B and put something below the = sign (such as x\rightarrow\something)?
749 views

### Using a Local Font for a Few Maths Symbols

To be compatible with my publisher, I had to make my own font (using fontforge) for a few math symbols. However, I could not figure out how to get latex to use my font, so I ended up just making a ...
375 views

### Why does \jobname give asterisks/stars instead of spaces, and how do I fix this?

When I LaTeX a file named test 1.tex with the code \edef\temp{\jobname.txt}\show\temp, I get > \temp=macro: ->test*1.txt. This seems to work fine with LaTeX's internal commands, but if I then ...
3k views

### Section headers in Century Gothic, text in Garamond

I'm trying to comply with the following graphical profile in a LaTeX2e document. Ideally, I'd like to specify all these things in a package, which I can then import to instantly comply with the ...
632 views

### How to change citation style in amsrefs?

I want to use the alphabetic style of citation in amsrefs, e.g. I want [Kr03] instead of just [1]. The documentation says that there is an option to do this, but I couldn't figure out how to invoke ...
664 views

### Listings for Tikz code?

I am trying to quote (not compile!) LaTeX code (including TikZ code) within a LaTeX document. The verbatim package works, but it doesn't wrap text and doesn't look very nice. So I am trying to use ...