latex

Latex Dollar Sign \\ How do I signify Linux Environment Variables in latex?

Hi. I am aware to output dollar signs you escape it with \ such that: \$ % prints '$' However, I can't print something like \$ JAVA_HOME % prints '$ JAVA_HOME' The space in between the $ and JAVA_HOME is what's annoying. How can I make it so it's one word? ...

Alphabetical ToC counter

How do I change the counter in ToC to letters (A, B, C)? To illustrate: from 1. Section 2. Section 3. Section to A. Section B. Section C. Section Thanks ...

LaTex: Table is spilling over page on right.

How can I fix a \longtable to not spill over on the right? With \table I use \scalebox{0.9}, but scalebox does not seem to work with \longtable. \begin{longtable}{cccccccccc} \caption{This is a caption}\ TABLE TABLE TABLE \end{longtable} My table has 10 columns and therefore the margins are not even on both sides. Anyone know how to...

LaTeX align stacked summation

I am writing an elementary summation proof and would like to write that 1 + 2 + 3 + ... + n-2 + n-1 + n + n + n-1 + n-2 + ... + 3 + 2 + 1 = n+1 + n+1 + n+1 + ... and so on. I want the symbols to line up so that it's easy to see the vertical addition. How do I do this in LaTeX? The align environment doesn't do so well with multipl...

How to override LaTeX template's string constants

Hi, I'm typesetting my CV using the europecv LaTeX class. I don't actually need to conform to the EU's standardized CV form, but I like the general layout of it. One thing that bothers me about the class is how it sets certain headings, for instance Surname(s) / First name(s): Smith, John Where I'd rather have Name: John Smith I've f...

Latex error arising from non-existent parameter.

I have defined new commands within a document as follows: %--------------------------------------------------------- \newcommand{\thetmpone}{} \newcommand{\thetmptwo}{} \newcommand{\tmpone}[1]{\renewcommand{\thetmpone}{#1}} \newcommand{\tmptwo}[1]{\renewcommand{\thetmptwo}{#1}} %--------------------------------------------------------- ...

How do I include bibliography (.bbl file) in latex?

Hello, I am trying to write my CV, and I want to include a list of publications. To do that, I want to include a .bbl file directly (which was generated using bibtex). So, in my CV I do \input{publications.bbl} This seems to work fine, except for one thing: an asterisk (*) appears on the left to the lists of publications! I don't know...

Web page generator like LaTeX

Hi, forgive if this is dumb. I was wondering if there was any such thing like LaTeX, by which you could write in a markup and compile it to a whole web page (of course with CSS and other styling). I've heard of lightweight markup languages like Textile. But I don't think they serve my purpose. ...

Unicode characters in XeLatex

This is my LaTex script: \documentclass[a4paper]{article} \usepackage{fontspec} \usepackage{xunicode} \usepackage{xltxtra} \setmainfont[Mapping=tex-text]{Jenson Classico} \begin{document} ąęśćłó \end{document} I compile this using xelatex through eclipse plugin. As Jenson Classico has no polish characters I have edited this font to a...

Using footnotes with moderncv class in LaTeX

I have the following problem: I would like to use footnotes together with the moderncv documentclass. In my case it gives me an error if I try to compile the following example: \documentclass[12pt, a4paper]{moderncv} \moderncvtheme[grey]{classic} \firstname{First} \familyname{Last} \begin{document} \section{Start} Hello\footnote{this ...

LateX: Equation Like "box" for a block of text

Hi I'm using LateX. I have a block of text that I'd like to have a small box like space highlighting the are (just like a \begin{equation} but for text). Is there such a thing in LateX? ...

How to display my table "outside" an itemize structure so it will be centered in the page?

Hi all, I have a document with an itemize structure and some table to display inside it. It have 3 subitem and the table is in the third one. Here is an example: \documentclass{article}% \usepackage{amsmath}% \usepackage{amsfonts}% \usepackage{amssymb}% \usepackage{graphicx} \begin{document} \begin{itemize} \item Item1 \begin{ite...

Remove specific subsection from TOC in LaTeX

Appendix A Section 1 A.1 Subsection 1 A.2 Subsection 2 B Section 2 Is there a way to get rid of Subsection n, but still have the subsection numbered in the document (i.e. not using \subsection*)? I thought about limiting the TOC depth, but that does not seem to be possible for just the Appendix? ...

Removing the first blank page while using llncs class

When I am omitting the \institute tag, document begins from page1 itself, but after adding this tag, one blank page in prep-ended and the main body begins from page2. can anybody help? I am using llncs class. ...

Latex template for quickly writing summaries of courses.

For some courses I take, we are allowed to write a summary and to used it at the exam. The summary allowed is usually limited to something like ten A4 pages. I quickly googled for latex templatex, but I couldn't find anything useful so far. The template should allow to used the full space available on an A4 paper, by default latex docum...

Incorrect alignment of nodes in subpictures

I am using tikz to typeset a diagram in a latex document. I have a grid of 'grid-diagrams', with each grid-diagram drawn as a separate tikz picture and then arranged into the grid as nodes. I want to draw a circle node (which will eventually contain a label) in the bottom-right hand square of each grid-diagram. I use exactly the same...

insert images with no vertical distance in (la-)tex

I'm trying this, but I get a little distance. \documentclass{article} \usepackage{graphicx} \usepackage[a3paper,landscape]{geometry} \begin{document} \includegraphics[width=5cm, height=5cm]{1.png}\includegraphics[width=5cm, height=5cm]{1.png}\includegraphics[width=5cm, height=5cm]{1.png}\includegraphics[width=5cm, height=5cm]{1.png} ...

Prevent figures/listings from being inserted into specific parts of a LaTeX document

I have a part A in a document with some text and listings/figures in between. The figures and listings are positioned using htb. Following this part A, there is the bibliography. However a couple of figures do not fit and are therefore are offset to another page, which is fine. But: I do want to limit the offset space to part A and not ...

LyX AMS align environment multiple columns

When I choose to insert an AMS Align environment in LyX, I only get two columns. I am pretty sure it is possible to get multiple columns. Thanks! ...

Side-by-side institutes in latex beamer title page

On the title page of my Beamer presentation, I have three authors, from two institutes. The authors get listed side-by-side, which is fine. Less fine is that the institutes get listed one on top of another in an oddly bulky column down the center. In other words, I get this: My Talk Title John Foo (1) Sarah Bar (2)...