2
votes
1answer
287 views

Second Font dedicated for tables

How to put second font in table. First is Utopia Regular with Math Design as a main font. Second - TeX Gyre Heros, for tables. \documentclass{beamer} \mode<presentation> { \usetheme{...
6
votes
1answer
1k views

Shrink tikz trees

How can I reduce the overall size of trees drawn by tikz-qtree? I've got a huge parse tree that doesn't even try to fit on one page. I'd like to either resize the full tree or tweak the placing ...
8
votes
2answers
982 views

How can I define a custom listing environment?

I am trying to define an enviroment for a specific programming language, F#. Here's my code: \definecolor{bluekeywords}{rgb}{0.13,0.13,1} \definecolor{greencomments}{rgb}{0,0.5,0} \definecolor{...
11
votes
3answers
762 views

\rand inside \forloop creates identical values

I try to create a table with random entries... By browsing the random tag, I found some help on random number generators and I tried using lcg. Surprisingly I seem to create the same random number ...
7
votes
3answers
224 views

Defining commands using two loops

I would like to define a series of command using two loops. For instance I want to create a series of variables that can have YY or NN as subscripts. I would like to define commands \yy and \nn that ...
7
votes
1answer
714 views

How to emulate titletoc with tocloft

I was using titletoc until I realized that it has some incompatibilities with hyperref. The thing is, that titletoc can do the same thing in a easier way, less one. \titlecontents*{subsection}[5.4em] ...
39
votes
1answer
4k views

How can I put real notes in the margin?

I'm looking to write a fictional description/discussion by a 'scholar' of an alien race for an RPG, but I can see this being handy elsewhere. I'd like to put his 'notes' in the margins of some text ...
10
votes
2answers
6k views

\midrule dashed and colored in booktabs — two kinds of midrules in one booktab

Is it possible to make two \midrules in one booktab? The first one should be colored, the second one colored and dashed, as it is shown in the picture. Before each entry is a horizontal space - how to ...
5
votes
2answers
937 views

Best option to create vector graphics with LaTeX labels

I would like to create some vector graphics for my LaTeX documents. The graphics would often contain mathematical expressions that would should be typeset using LaTeX. As far as I know, my best ...
3
votes
1answer
2k views

MiKTeX update: a too old babel/frenchb

This question deals with the version of a babel language available after a MiKTeX update (the french one, namely frenchb.dtx). I've just made an update of my (complete) MiKTeX 2.9, especially ...
13
votes
1answer
1k views

Why are empty and non empty TikZ matrix cells not equally placed?

I wanted to draw an almost empty matrix of nodes with TikZ similar to the left most one below. All nodes would have same size (through minimum width and minimum height) and no separation between ...
5
votes
1answer
262 views

Changing the font of Eprint fields in biblatex

I would like to have Eprint information displayed in my bibliography, but in the same font as the surrounding text. Changing the verbatim font for the document apparently does not accomplish this. ...
5
votes
1answer
2k views

Table in cvline using moderncv

I would like to create in my CV, using moderncv, a table with two columns. It should look like: -------- Experience * Item 1 x x ...
9
votes
2answers
2k views

why does newtxmath fail to work with pdflatex and libertine

There seems to be some sort of incompatibility between the newtxmath package and libertine-legacy; the following code fails to compile: \documentclass{article} \usepackage[libertine]{newtxmath} \...
20
votes
2answers
2k views

Use tikz external feature with beamer \only

I would like to use the beamer \only with tikz while external is activated. The problem is, that the \only get ignored. (see also the MWE). I would love to cache the tikz pictures, because it would ...
5
votes
1answer
3k views

Automatic horizontal centering of beamer frame content

I would like to set some global option so that the content of all beamer frames is horizontally centered with respect to the page. In other words, I want to achieve the effect of wrapping all frame ...
5
votes
1answer
1k views

How to cite a multi-volume book of collected works with BibTeX?

I would like to cite a particular volume within a multi-volume book that is the collected works of some author. The collected works were edited by an editor. I am using a custom .bst file that I ...
5
votes
1answer
459 views

Table alignment with inner table and hline

There are 3 issues with this table. After much experimenting, I can sort of resolve 1 or 2 of them but never all 3 at the same time. I have a very picky customer (aren't they all) and I have to get ...
5
votes
2answers
834 views

How to write the preamble into a file

Can one define a bunch of macros, include them in a LaTeX source file main.tex and after issuing $ latex main.tex find the preamble of main.tex in a file, say main.nem ? It is a requirement, that ...
7
votes
1answer
270 views

Does TeXlive 2012 come with TrueType or OpenType equivalents to common fonts used with latex?

I'm using the package helvet in a document and would like to use the same font in a figure I'm making. Does TeXlive 2012 come with the TrueType or OpenType fonts that correspond to the helvetica clone ...
0
votes
0answers
44 views

Bibtex and scrlttr2 [duplicate]

Possible Duplicate: Using BibTeX with letter class My goal is to write a letter using the scrlttr2 package including some references using the \cite{} and the \bibliography{} commands. For ...
11
votes
2answers
1k views

Nested enumerate labels with parent label appended plus a single set of enclosing parentheses

I want to have a list like (1) foo (1.1) foo (1.2) foo (2) foo I am using the package enumitem and \begin{enumerate}[label=(\arabic*)] \item foo \end{enumerate} I know that i can append ...
11
votes
1answer
899 views

Tables in Latex with diagonal first row

I'm trying to create a table with a diagonal first row, like in how-to-draw-diagonal-table-borders-in-latex-like-in-excel I've looked through the documentation for PGF-TiKZ, but am still unsure as to ...
2
votes
1answer
845 views

Footnotes with no superscript but indent [duplicate]

Possible Duplicate: How to set superscript footnote mark in the text body but normalsized in the foot? I cannot find a way to have footnotes with no superscript number in the footnotes, but ...
8
votes
2answers
3k views

Underlining an equation in an align block

I'm trying to set up a system of equations and want to underline the last equation, but can't figure it out. Here's what I have: \begin{alignat*}{4} &F_n &- mg &- F_a\sin 32^\circ &= ...
1
vote
1answer
328 views

Drawing chamber or container in tikz

I want to make the following diagram. I know the basics of tikz but here I'm struggling. Can you advise me how to make the container with seedlings? Thanks for your help.
7
votes
1answer
14k views

How to divide a single table cell in two columns? [duplicate]

Possible Duplicate: How to divide a table row into several columns? I want to make a table. This is my code \documentclass{article} \usepackage{multirow} \begin{document} \begin{tabular}{| ...
3
votes
1answer
1k views

Undefined control sequence when adding math comment to \WHILE

I'm pretty new to (La)TeX so please forgive me if this question is stupid :) I have an algorithm that is typeset with the algorithm and algorithmic packages. Then I have this in the algorithm: \...
1
vote
1answer
330 views

How to use Bibtex with G-Brief [duplicate]

Possible Duplicate: Using BibTeX with letter class My goal is to write a letter using the g-brief package including some references using the \cite{} and the \bibliography{} commands. For this,...
67
votes
6answers
10k views

Generating smartphone-readable pdf

Often my students want to look at my lecture notes on their phones. Obviously no one wants to do that routinely, but it is often convenient if you do not have a paper copy to hand and you just want ...
2
votes
1answer
193 views

Where do I find the license terms for fonts included in LaTeX?

Although an answer to the question in the header is desirable, my actual needs are a little more specific: An organization I'm involved in has adopted as one of its logotypes a capital F set in the ...
5
votes
3answers
113 views

Having inside delimiters same size as outside ones [duplicate]

I want to define a set $S= \left\{ \left[\matrix{ a &b \cr a^2 & b^2\cr }\right] \left| \right. a, b {\rm \ real \ numbers} \right\} $ How do I make the separating bar | same size ...
19
votes
3answers
878 views

How to insert a non-stretching but line-breaking thin space?

How do I insert a small space that looks like the space I get with \, but allows a line break like a normal space does? I.e., I'm looking for a non-stretching, non-non-breaking space whose width is ...
1
vote
1answer
2k views

“Missing Delimiter” in Beamer-class [closed]

I got a problem when trying to change the fontsize within a beamer-class frame. \documentclass{beamer} \begin{document} \begin{frame}{First frame} {\big Just some content} \end{frame} \end{document} ...
5
votes
1answer
584 views

footnote, hyperref, tabular

I have many tables with footnotes inside and I need hyperref in my document. Now, the problem is that footnote in my tables does not point to the notes at the end of the page. It points to the first ...
0
votes
2answers
2k views

Winedt 7.0 + MiKTeX 2.9 compile Problem

I keep getting the following error and have no idea what to do! Does anybody know how to fix this? Command Line: `bibtex.exe "PA1_A2"` This is BibTeX, Version 0.99d (MiKTeX 2.9 64-bit); The top-...
6
votes
1answer
5k views

Is there a way to change the font color of a piece of text ONLY on beamer mode?

I'm building a beamer presentation and would like to have some parts of the text shown as red on specific slides, but ONLY on beamer mode (as opposed to handout mode). I have tried the following: \...
7
votes
2answers
639 views

Oldstyle numerals or lining numerals with units of measurement?

What is considered proper typography regarding which set of numerals to use with units of measurement? A real-life example: In the experiment, shown schematically in figure 2.2, we illuminate an ...
7
votes
2answers
339 views

Question about zref bundle (changing the behaviour of footnote rule)

In bidi package, we have three footnote commands \footnote (typesetting RTL footnotes in RTL mode and typesetting LTR footnotes in LTR modes), \RTLfootnote (always typeset RTL footnote), and \...
1
vote
1answer
319 views

How to set title and main matter pages independently, with memoir

I am setting up the page layout using memoir commands: \documentclass[12pt,a4paper]{memoir} \usepackage{lipsum} \usepackage[charter]{mathdesign} \begin{document} \setlrmarginsandblock{20mm}{10mm}{*} ...
1
vote
2answers
1k views

Forward/Inverse Search Does Not work on certain tex files

I have this weird issue with forward and inverse searches. I am using WinEdt + Sumatra combination. The forward and inverse search works perfectly on certain some .tex files, but fails on some others. ...
0
votes
1answer
468 views

texlive using installed fonts, incomplete ifx

I have a problem with using a font in LaTeX. I installed the font via the installfont-tl script but cant use it to create the document. When I add the \usepackage{$fontname} I get an error which I ...
11
votes
2answers
1k views

Fractions in superscripts are placed too low

I have noticed that "tall" superscripts seem to be placed awkwardly low in math mode; their baseline is so close to the main baseline that confusion has happened. \documentclass{article} \begin{...
3
votes
2answers
135 views

How to include a long underscore before the \question command?

i am working with a simple question but i can't include underline before the \question. Code documentclass{myclass} \newcommand{\line}{\begin{tabular}{p{2cm}} \\[-.35em] \hline \end{tabular} } \...
9
votes
1answer
815 views

Write a class with language dependent strings

I am unable to make my class strings language dependent using babel. I have the following minimal example: file test-babel.cls \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{test-babel}[2012/...
0
votes
1answer
154 views

How to fix the alignment of table cells?

While trying to improve the answer for another question, I am stuck at getting proper horizontal alignment. The alignment problem is evident in second column. It also shows up as difference in spacing ...
2
votes
1answer
787 views

How Can I Draw a Horizontal Rule on a Beamer Handout?

I have a beamer handout with a 16-on-1 layout via \pgfpagesuselayout{16 on 1}. I would like to draw a horizontal rule beneath each row of slides so that the viewer is more easily led to read left to ...
1
vote
1answer
198 views

Preamble vs. external style file - same code doesn't work in the later

I'm experiencing the following issue when using todonotes along with TikZ and its externalize library. If my document contains no \todo's then it compiles just fine and seems like the externalization ...
4
votes
1answer
627 views

How can I have Beamer number slides in a frame title?

More or less what it says on the tin: I want something like: \frame{\somecounterforpagenumbers : My Title} I assume there is a built in counter that I can reference here, but I'm not sure what it ...
5
votes
2answers
455 views

Fix for CJK punctuation kerning in xetex?

When using xelatex with xeCJK to typeset a document in English with Japanese quotations, I get rather unsightly kerning with Japanese punctuation. In general, punctuation is shifted to the left, so ...

15 30 50 per page