4
votes
1answer
525 views

Why is the left column of this table vertically-aligned to the bottom, no matter how I specify the column?

This document produces a table that mostly looks like I want it to look... except that I can't get the text in the left-hand column to be aligned in the vertical center. What I would really like is ...
2
votes
2answers
393 views

How to automatically separate words in inference from semantic package?

I'm trying to use inference from semantic package to describe static semantics of a language. I would like to separate nonterminals in inference rules with spaces without inserting them by hand. Is ...
5
votes
1answer
3k views

Supertabular problem with \input

Consider a simple supertabular example: \documentclass{article} \usepackage{supertabular} \begin{document} \begin{supertabular} a & b \\ \end{supertabular} \end{document} Suppose I wanted to ...
3
votes
1answer
297 views

How does spreadtab know it is a number?

Using spreadtab with glossaries I define a glossary entry A with a field user1=12. Now, if I call this field in a spreadtab table with \glsentryuseri{A}, spreadtab does not recognize it as a number. ...
3
votes
3answers
837 views

Reduce Space Between Characters in New Command

I'm not satisfied with the new command I've made. My code: \newcommand{\ps}[2]{\mbox{P}_{#1}\left(#2\right)} $\ps{Y}{y}$ %example My problem is that there's too much space between the subscripted Y ...
5
votes
1answer
19k views

How do you download packages for TeXworks on Windows 7?

I am using TeXworks on Windows 7 and I want to use the algorithmic package. However, when I try to include it it just says I need to download that package, but I can't figure out how to download it ...
2
votes
1answer
902 views

Chemstyle xkeyval error

I recently installed texlive-science from the Ubuntu repos and received the following error when I compile: ! Package xkeyval Error: `load-configurations' undefined in families `key'. LaTeX works ...
5
votes
1answer
1k views

How to produce a longer \sim with a small letter on top

I am able to produce a standard length \sim with a tiny S above it, but I would like the \sim tilde to be longer (maybe one and half times as wide as a capital letter). Any tips on how to change the ...
4
votes
0answers
392 views

Footnote with fancyfoot [duplicate]

Possible Duplicate: Footnote separator I'm using fancyhdr as a package and have defined the following: \fancyfoot[LE]{\psboxit{box 0.8 setgray fill} ...
10
votes
1answer
3k views

How to draw a line passing through a point and parallel to another?

How to draw a line passing through a point and parallel to another? \draw (0,0) -- (1,0); \node (A) at (1,1); I need \draw (0,1) -- (1,1); parallel to first line.
6
votes
2answers
15k views

Set table position to top [duplicate]

some content \begin{table}[t] \begin{tabular}{c c c} tabular content \end{tabular} \end{table} \chapter{new chapter} The output is: First page: some content Second page: table centered ...
3
votes
2answers
916 views

How to avoid section title at the top of the page overlap the section title in the page itself (screenshot attached)

I am having a problem where a longer \section title overlaps itself. I am using the memoir class and it's printed both at the beginning of the page and in the page itself (see screenshot), and in my ...
2
votes
1answer
334 views

Running the animate package documentation

I downloaded the tex file for the documentation of animate package by Alexander Grahn and tried to run it on MikTeX instead of giving me the PDF output it generate the following error: ! LaTeX Error: ...
1
vote
2answers
158 views

Custom figure insertion in tex document

I have a report of 3 pages - the first page and the quarter of the second page have texts. I have to include a figure which needs another page. The problem: Figure is appearing only on the 3rd page ...
1
vote
1answer
236 views

What are the possible positions can be used with the background package?

I can't find the possible positions documented anywhere. I am looking for positions like current page.south west, etc. Anyone knows where I can find complete list of the possible positions? The ...
3
votes
1answer
2k views

Appendix after bibliography

I am using \includefile{} to add a preliminary literature review to a thesis proposal. The specifications require that "Appendix" be printed in the upper right hand corner. I tried ending my proposal ...
6
votes
1answer
538 views

Why there is no output when invoking \usebox{\mybox} outside the minipage in which \sbox{\mybox}{contents} is invoked?

\documentclass{article} \newsavebox{\mybox} \begin{document} \fbox{% \begin{minipage}{5cm} \sbox{\mybox}{from first minipage} \usebox{\mybox} \end{minipage}% } %nothing rendered ...
5
votes
1answer
856 views

reference amsthm theorem with item list inside

Here is my minimum example. Click from right to left 2-1-1 and notice that it jumps correctly to item 2 then item 1. But then it doesn't jump to remark 1, but instead to the entire first page, as it ...
5
votes
2answers
352 views

Format the date from vc bundle as \today

I'm using the vc bundle to feed \date with the date from the latest git commit. Is there a way to format this date in the same format as the output from \today? I know of the different date formats in ...
9
votes
2answers
3k views

Numbered section hidden from the ToC

I'm writing a set of course notes that has an appendix containing many activities. I do not wish the activities to be shown in the Table of Contents, but I do wish them to be numbered. Here is the ...
5
votes
1answer
683 views

Multi-line column labels in a table

In a table a long label for a column often needs to be split into two parts. I usually do this manually by putting each part in a row of its own but it feels wrong because it splits a semantic entity. ...
1
vote
1answer
408 views

Using \jot crashes \intertext’s spacing

As mentioned in Intertext vertical spacing, there seems to be some inconsistencies in spacing around AMS’ macro \intertext, even without changing the length of \jot. But if I’m using a longer \jot to ...
12
votes
2answers
1k views

Where is the left-hand margin?

I'm working on the TikZ-from-TeX-SX package, specifically developing the code for putting equation numbering at places within a tikzpicture environment. To do this, I need to know where the text ...
7
votes
2answers
881 views

Macro for typesetting acronyms

All-caps acronyms and brand names like IBM look better when typeset a little smaller than usual. My simple solution is the following macro: \def\<#1>{{\small #1}} It's used like here ...
2
votes
1answer
9k views

Format chapter's heading

I want all my headings to have these characteristics: 12pt Center aligned Bold Times new roman font But when I write \chapter{Introduction}, I can only manipulate the name of the chapter, not the ...
3
votes
1answer
2k views

Reference to figures in appendix is not printed properly

When citing a figure in a section in my report body, the reference prints the correct number: Figure\ref{fig:UML} illustrates complexity arising from the non-modularity of the existing design: ...
7
votes
2answers
2k views

Can I specify that I only want the .sty file from a .dtx?

I've been trying to be good and make my proto-packages .dtx files (in particular, the files in the TeX-SX Package but that's not particularly relevant). My workflow goes a bit like this: Hack a few ...
8
votes
2answers
539 views

Is it worth defining \ensuretext ?

We already have \ensuremath to make sure the argument get enclosed in math mode. Is it worth defining \ensuretext ?
2
votes
1answer
379 views

Changing the style of index levels

I would like to change the style of the levels in an index. For example, let's say I have an index like: Foo bar, 1 barbar, 2 Bar foo, 5 and I would like the first level to be ...
9
votes
2answers
677 views

footnotes - on the bottom except on last page of chapter

My school requires that dissertations follow a set of sometimes odd formatting requirements. We have a latex class file which does a reasonable job at bringing documents into compliance with their ...
4
votes
3answers
1k views

Hyphenation of bibliographies with multiple languages using xelatex,xgreek and biblatex

I am trying to use XeLaTeX to produce a document written in Greek that includes both English and Greek bibliography. i am using for this purpose a combination of xgreek, biblatex packages and biber. ...
1
vote
1answer
570 views

How to edit the properties of chapter and section headings (size of font, positions, indents)? [duplicate]

Possible Duplicate: How to set the font for a \section title (and chapter etc) How to edit the properties of chapters' and sections' headings (size of font, positions, indents) in report ...
1
vote
1answer
148 views

Hyphens and minuses are MIA.

I am experiencing a strange bug involving the omission of hyphens in the .dvi file. % This is a sample LaTeX input file. (Version of 12 August 2004.) % % A '%' character causes TeX to ignore all ...
3
votes
1answer
7k views

Insert text at the bottom of beamer title page

I want to insert some text (like collaboration information) at the bottom of the title page. I can insert the logo by using \pgfdeclareimage, I also want to insert some text. How can I do that?
5
votes
1answer
424 views

svn-multi: committed PDF always has an offset in revision number?

I'm using the svn-multi package to keep track of different versions of my PhD thesis. One problem (I did not find anything about it in the manual or in the web, but maybe I overlooked it): I have ...
2
votes
1answer
407 views

Redefining ordering in index

I'm generating an index of Bible references (using the bibleref) package. Bible references are usually not sorted by alphabetical order of book, but rather by order of appearance in the Bible ...
2
votes
1answer
419 views

Problem when drawing an axis-aligned bounding box around a tilted rectangle.

I need to draw an axis-aligned bounding box containing a tilted rectangle for a report about physic engines. My initial idea was to simply insert a rectangular node, apply a rotational transformation ...
2
votes
2answers
251 views

How to better combine several PDF files with DVI and PS available?

I got 5 pdf files with their original dvi and ps, but i don't have the tex files which created them. Now I would like to combine them to a single pdf. I know I can easily do it using Adobe acrobat. ...
10
votes
1answer
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 ...
6
votes
2answers
1k views

How can I inhibit LaTeX to float a table across a section boundary? [duplicate]

Possible Duplicates: How to avoid splitting tables between sections. How do I ensure that figures appear in the section they're associated with? I have a couple of tables that ...
6
votes
4answers
520 views

(Commutative) diagram with long labels on vertices

I am trying to draw a diagram that looks something similar to the following: ############## ---------> ############## \ / \ / ...
5
votes
2answers
219 views

Charclass/Interchartokes for Umlauts and „“

How can I define a charclass for umlauts, german quotes „“ (and other special characters which are not A–Z/a–z)? I’d like to use this for extra kerning in some cases. \documentclass{minimal} ...
4
votes
2answers
5k views

Biblatex @ONLINE reference not printing all information [closed]

I'm using Biblatex and having trouble getting an @ONLINE to cite correctly in the bibliography. Here's the preamble: \documentclass[a4paper,12pt]{scrartcl} \usepackage[style=authoryear]{biblatex} ...
9
votes
1answer
1k views

Using \DeclareMathVersion

It is my understanding that \DeclareMathVersion can be used to switch between math font variants. I am wondering how this can be used in a document that leverages two fonts: Times Roman for body text ...
11
votes
1answer
2k views

\cancel draws under thing being canceled

I'm trying to use \cancel from the cancel package to strike out some colored text but it is apparent that the diagonal line is drawn first so it doesn't do a very good job of canceling. Minimal ...
5
votes
2answers
346 views

How to decorate a LaTeX command

I've been trying to change the numbering behavior of subsection to use a global counter. I first did: \newcounter{maincount} \renewcommand{\thesubsection}{\stepcounter{maincount}\arabic{maincount}} ...
7
votes
2answers
1k views

Please critique this “intermediate size” fraction macro.

I often write a lot of mathematics where I multiply various quantities/operators/etc. by fractions. The fractions are important for bookkeeping, but usually not the most important thing in the ...
3
votes
1answer
742 views

Changing the font of the numbers in the ToC in the memoir class

I found these rows of code in this thread: \renewcommand{\cftchapterfont}{\normalfont\sffamily} \renewcommand{\cftsectionfont}{\normalfont\sffamily} which changes the font for the listings but ...
5
votes
1answer
1k views

pgfplots, ybar-plot: how to mark a missing value?

I'm very, very happy with pgfplots and using the ybar-plot-function to create a lot of diagrams. At the moment I wonders if it is possible to mark a missing value, for example with an asterisk. As you ...
7
votes
4answers
6k views

How to change the formatting/font of page numbers?

So, I'm using the article class, and I'd like to make the page number smaller, and set it in a different font. I don't need to create a new pagestyle, necessarily, and I'm hesitant to do so without ...

15 30 50 per page