9
votes
1answer
1k views

How to format an email conversation?

I am currently writing my thesis and need to include a bunch of email conversions. I am using classicthesis. I wonder, how you would format stacked conversions. Moreover, how would you deal with the ...
11
votes
2answers
2k views

3d axis and polyhedron with line segment towards origin

I would like to make a 3d plot containing the 3d axis and a convex polyhedron or better a Dodecahedron on the positive side for which one of its boundary edge points on its top is annotated e.g. ...
8
votes
1answer
1k views

Index ordering when using math symbols

I'm making an index where certain entries start with the math symbols $k$, $\mathcal{C}$, $\ast$-a.... In the first two cases, I want them to appear in the index as if they start with k and c ...
3
votes
1answer
2k views

Underline the title of a subsection [duplicate]

Possible Duplicate: Changing the section title style for an article document type I'm trying to undeline the title of a set of subsections in my document. In order to achieve it, I have ...
1
vote
1answer
770 views

Multicolumn width in longtable

How do I set the multicolumn width in longtable cells? If you run my MWE, you'll see that the first row of my longtable exceeds page limits. \documentclass[11pt,a4paper,oneside]{report} ...
5
votes
1answer
227 views

Border on top of paragraph

I am trying to put a line over a paragraph in LaTeX. I tried this code: \noindent\makebox[\linewidth]{\rule{\textwidth}{2pt}} ...
2
votes
2answers
2k views

Fancyhdr layout of “Contents” and “Chapter 0”?

The attached latex produces header of page 2 and page 4 to look like where I would have liked "CONTENTS" to be "Contents" and "Chapter 0: Rresumé" to be "Rresumé". All the following chapter ...
10
votes
1answer
583 views

How to split and align equations when they are inside an enumerate environment?

How to make the first line of aligned equations sit in the same baseline as the bullet and make the equation left justified? \documentclass{article} \usepackage{amsmath} \begin{document} ...
6
votes
2answers
2k views

unwanted pagebreak in footnote

I'm trying to reference a long URL in a footnote. I'm usig hyperref-package (which loads automatically the url-package). \usepackage[unicode=true, ...
5
votes
1answer
917 views

Shading a block of my text

I would like to surround some source code in my beamer presentation with a lightly shaded box. More specifically in the C++ source code given below, I would like to shade the code block of the ...
3
votes
1answer
6k views

Functions with no parameters in algorithmicx

I am trying to write an algorithm using algorithmicxand I need to put a function with no parameters. I use \Function {foo}{} latex produces: function FOO However I need: function FOO() ...
10
votes
1answer
8k views

Define abstract environment in book

I want to define an abstract environment for \documentclass{book}. Therefore, I copied the relevant definitions from report.cls from here into my preamble. But it doesn't work. Where's the problem? ...
5
votes
5answers
442 views

one character macros

I would like to define a macro that has at most one token in length. \w is the macro and anything after w is not treated as part of the macro name. \wTest is same as \w Test. I don't care if no other ...
1
vote
1answer
236 views

“File `realcalc.tex' not found” - after texlive-generic-extra installed?

Disclosure: my knowledge of LaTeX is extremely limited I am trying to use pdflatex to convert foo.tex to foo.pdf. When I first tried this I got error messages saying I was missing calc.sty so I ...
3
votes
2answers
337 views

autonum does not work with eqnarray?

I always wanted to have a package like autonum. Well, it is finally here and its development is still under way, but I already have two problems: It does not work with eqnarray. When referencing to ...
1
vote
1answer
358 views

pgffor map elements

pgffor's foreach can take an "array" of elements. I need to map those elements using another array(a lookup table) because I need both the elements and there mapped value. e.g., suppose I an doing ...
5
votes
3answers
224 views

macro names with special characters

Is it possible to create macro names with special characters in it? I would like to creates some macro's that have names like \s1.4 and also to be able to use them like \s1.4Test where Test is not ...
7
votes
2answers
2k views

Two figures side by side with text wrapping

I have a problem with text wrapping around two figures side by side, each of which has a different height. Look at the required template below. Currently I placed two pictures with minipage ...
8
votes
2answers
14k views

Force page numbering on every page

I have a LaTeX report with title, abstract and the main part. I want to have numbers on every single page starting from the first. How do I do that? The way it is now is that the first page is not ...
2
votes
1answer
859 views

question marks instead of citations / extended problem

I am having trouble with generating references. For some citations instead of authors names the file generates question marks. I tried the suggested found in this forum and already I am aware for the ...
2
votes
1answer
167 views

Customize horizontal positon of table within page

I am using memoir package and I want to generally left align tables (In contrast to figures that should be centered). I am using the hmisc latex function which generates this float table code, but I ...
9
votes
2answers
593 views

How do I typeset continued fractions in Pringsheim's concise notation?

I would like to obtain the following formatting so as to write continued fractions in my equations without wasting vertical space. What I need is one command named \cFrac which writes one fraction ...
2
votes
1answer
244 views

Equation labels in the block environment of beamer class are too close to the right boder

I am using bearmer to write a poster. In the block environment, I have same labeled equations. The problem is the labels are too close to the block border. Is it possible to move the label a little ...
3
votes
2answers
2k views

Tangent plot on tikz [closed]

\documentclass[12pt,a4paper]{article} \usepackage{graphicx} \usepackage{amsmath,amssymb} \usepackage{tikz} \begin{figure}[H] \begin{center} \begin{tikzpicture}[scale=1.2,smooth,domain=-2*pi:2*pi]; ...
0
votes
0answers
60 views

how to change the style of the block environment in beamer? [duplicate]

Possible Duplicate: What are alternatives to block? I am using Beamer to write a poster. I wish to have various kind of blocks to contain different contents, like theorem, example, ...
7
votes
1answer
441 views

Using A-B style page numbering in beamer+pdf

My question is in a sense the reverse of this question on overlays. Here's what I'd like to do. I have a beamer presentation that includes two frames, each with some overlays. Each frame looks like ...
6
votes
1answer
443 views

Biblatex \autocite in case of would-be nested footnotes

I have the same situation as the following user: biblatex: Enhancing \autocite in case of would-be nested footnotes I want to use \autocite within a \footnote. This results in the citation being ...
0
votes
0answers
37 views

How can I use different font color for h1 h2 h3 in latex template [duplicate]

Possible Duplicate: Section and subsection colors using titlesec In latex template, what i need to do to display different font color for h1 h2 and h3 specificly?
5
votes
1answer
8k views

Vertical align at center in beamer slides using the [allowframebreaks] option and \newpage

I'm writing my thesis slides in beamer. I need to align vertically at center the slide's contents when I use the [allowframebreaks] option in the frame environment and the \newpage to start a new ...
9
votes
1answer
4k views

How to create Bullet-List with Fancy Bullet Shapes?

Can somebody please provide some hint on how to achieve the following 2 types of bullet-lists? Type-1: [Diamond Shaped Bullets] Type-2: [Round Shaped Bullets]
5
votes
1answer
752 views

Hyperref, \noappendicestocpagenum appendix option, and table of contents

In my thesis, I am using both the appendix package and the hyperref package. When I get to the appendix, I use the following commands: \appendix \noappendicestocpagenum \addappheadtotoc \appendixpage ...
6
votes
2answers
217 views

Style/macros for outlines in Plain TeX

I'm seeking a style file or other macros for creating an outline in Plain TeX, of the traditional indented style, eg. I. Big Idea A. Sub idea B. Sub idea 1. Thought ...
3
votes
2answers
432 views

Tokenize and apply command

I have a string separated with commas. On that I want to get each element and apply a command. I have the following, which works. \documentclass[12pt]{article} \usepackage[trim]{tokenizer} ...
2
votes
2answers
158 views

Reserve the place for further overlays

I have 3 parts in a tabular, I want onslide1- to be always displayed. After 1 clic, I want only2 to be shown; after another clic, at the position of only2, I want only3- to replace only2 forever; ...
2
votes
1answer
429 views

How to show tabular environment in a fixed-width font in AUCTeX?

I would like Emacs/AUCTeX to show the contents of tabular environments in a fixed-width font, so table boundaries line up. Is it possible to set the font face of specific environments like this? The ...
2
votes
1answer
213 views

texi2dvi does not run biber/bibtex

I use biblatex for references. When I run `PDFLATEX='pdflatex --shell-escape -synctex=1 -file-line-error' texi2dvi -p foo.tex', I receive: Package biblatex Warning: Please (re)run Biber on the file: ...
9
votes
1answer
2k views

Citing a Reprint of an Article in BibTeX

How do I cite a reprint of a given article? I want to cite the postscript of Lewis's Counterpart Theory & QML which only appears in his Philosophical Paper vol. 1. I have the info in my bibtex ...
18
votes
2answers
37k views

Decrease font size in a listing

Hi I am trying to include a short code snippet into one of my beamer slides However one of the lines is not fitting into the slides. Please let me know how to decrease the font size to make the ...
2
votes
1answer
190 views

Position of \only within a \tabular

I have the following code: \documentclass{beamer} \usetheme{Boadilla} \usepackage[frenchb]{babel} \begin{document} \begin{frame} \begin{tabular}{ll|ll} \only<1>{only 1} ...
3
votes
1answer
2k views

Don't split words in section title [duplicate]

Possible Duplicate: How to disable hyphenation in all section and subsection titles? No hyphen for a word How to I tell LaTeX not to split words in section title? For example: ...
1
vote
1answer
807 views

Multicolumn doesn't work well with onslide

I have the following code which works without error: \documentclass{beamer} \usetheme{Boadilla} \usepackage[frenchb]{babel} \begin{document} \begin{frame} \begin{tabular}{ll|ll} ...
5
votes
1answer
1k views

Tabular with arrows or lines between some cells

I have a table like the one below and want to write this in Latex. what would be the best aproach? I have tried it with Tikz where i can nest a Table but failed with the lines wich connect the ...
2
votes
1answer
492 views

(Vim+latex) How to compile a single tex file in a project directory using \ll

I am using Vim+latex. In my project directory, I have another separate tex file (for example a tikz/PGF file to draw a figure). When I input \ll, instead of compiling my current file, the system ...
5
votes
1answer
2k views

Grouped multi-column nomenclature

I'd like to print a multicolumn nomenclature list that consists of several groups. At the moment, using the grouping approach described in the manual and with a code snippet from ...
3
votes
2answers
192 views

Why does using Greek break em-dashes?

I know the conversion of --- to an em-dash is an on-going problem with lualatex. But I don't understand why using Greek in one font should (afterwards) break conversion of 3 hyphens to an em-dash in ...
6
votes
1answer
267 views

Unique counter for all foot, side and end notes

When used together, as in the MWE, the text might be plagued of identical numbered marks, that is rather confusing. I want to have marks in this MWE ordered from 1 to 9 instead of three ...
7
votes
2answers
653 views

Macro for the average width of a character

How can i made a macro similar to \averagecharwidth of ConTeX in LaTeX, that calculates the average width of a character based on the frequency of that character into my document ? that macro is show ...
6
votes
1answer
2k views

\includegraphics clipping and trim is squishing image

Clipping keeps squishing my image. My command is: \includegraphics[keepaspectratio=false,clip=true,trim=90px 0 0 0]{blue.jpg} But I'm getting: Where the original image is: Why can't I clip ...
22
votes
2answers
623 views

Can citation numbers be stored as variables, then used in my tex file?

I'm trying to create a "flow chart" of papers that shows the progression of key ideas over time. A very basic example is this: \documentclass{article} \usepackage{tikz} \begin{document} ...
5
votes
1answer
102 views

Problem setting lengths in an environment (spilling outside of the environment)

I am having with spacing between paragraphs in my document, and I think I have been able to trace back to a custom environment I have defined. \makeatletter \def\remarkname{Remark} ...

15 30 50 per page