12
votes
4answers
6k views

Include < (fewer than) and > (greater than) inequality symbols

I'd like to include the < and > symbols into my document. First I tried to just type it in. But after generating the document I saw only an inverted ? instead of the > symbol. That's why I ...
5
votes
2answers
846 views

Vertical Text Alignment in Title

I'm trying to make a title format with a large chapter number, and then smaller text with the name of the title. The following code mostly does what I want: \documentclass[12pt]{book} ...
9
votes
2answers
3k views

German Umlauts in BibTeX

I have the following BibTeX source @INPROCEEDINGS{Lincke2008, author = {Rüdiger Lincke and Jonas Lundberg and Welf Löwe}, title = {Comparing software metrics tools.}, booktitle = {ISSTA}, ...
9
votes
1answer
3k views

LaTeX template for use cases

Currently I am trying to create a template in LaTeX for my team members in order to create a set of use cases. I thought of using tabular to create something like the picture below 2 (without colors). ...
11
votes
1answer
1k views

\addtocontents at end of document not getting written to .toc file?

I'm trying to find a more elegant solution for ToC, LoT, and LoF formatting for my university's thesis/dissertation style. The short form of their requirements means I need one page style for the ...
5
votes
1answer
2k views

How to draw lines between nodes that point at the node center, but stop at the nodes edge

I'm drawing nodes on a circle and switched from drawing lines based on coordinates to drawing them based on named nodes. The problem now is, that with the following code the lines stop at the edges ...
7
votes
4answers
547 views

is it possible to change the depth of subscripts?

I have the following formula: $ F_{\!\bm{H}} F_{\overline{\!\!\bm{H}\!}} $ In this case both subscripts end at different depths (but start at the same height). I'd like them to end at the same ...
2
votes
1answer
1k views

Bar plot legend not displaying correctly

In the legend for a bar plot that I'm building, I'm only getting a small tick next to the name, not a block of color. I'm not defining any special cycle lists. The code for the plot is: ...
9
votes
1answer
1k views

Multiple Files input to one pgfplotstable

I have several data files that I would like to combine into one table using pgfplots table. Specifically, I would like to use one file to set the first three columns and then have each data file fill ...
4
votes
1answer
1k views

A clean letter class for office use, including serial letters

I'm using LaTeX for writing corporate letters, including serials letters. To incorporate our organization's logo, back address and so on I put a single A4-sized PDF containing all this information ...
7
votes
3answers
835 views

Move the page number to the very bottom of the page

I need to move the page number to the very bottom of the page, so it scrapes the bottom edge of the actual sheet (US letter). How do we do that?
9
votes
3answers
13k views

Tabular, parbox, vertical alignment

What i want to achieve is really simple: I want to be able to align cell content at the top (which is the default behavior of tabular) while being able to manually break lines (and anything you could ...
2
votes
1answer
1k views

Colored chapter titles with the quotchap package

I already changed the chapter numbers using \definecolor{chaptergrey}{} But there must be some way to change the chapter titles also. Someone knows how?
7
votes
1answer
577 views

Drawing a chord net with TikZ

I have a problem drawing a chord network with TikZ. This is my code so far: \begin{tikzpicture} \xdef\N{16} \xdef\deltadegree{360/\N} \draw[thick] (0,0) circle (6); \foreach \i in ...
26
votes
5answers
22k views

XML syntax highlighting

I use the following code to include some XML code: \lstset{language=XML} \begin{lstlisting} <?xml version="1.0" encoding="utf-8"?> <xs:schema attributeFormDefault="unqualified" ...
22
votes
3answers
31k views

How do I add a .sty file to my MacTeX/TeXShop installation?

I've searched online, but I have not found any clear instructions how to permanently add .sty files to my TeXShop installation. I'm using a Mac with OSX (TeXShop is a mac only program). What is the ...
6
votes
2answers
989 views

Font selection in XeTeX for specific characters

I just ran into another issue, I like to use gill sans very much but the number 1, lower case L and upper case I are almost indistinguisable. On the other hand I like Helvetica numbers. Is there a way ...
13
votes
3answers
22k views

How to order 3 images horizontally?

I use the following code to include three images: \begin{figure}[h] \includegraphics{delete_gesture.png} \caption{Awesome Image} \label{fig:awesome_image} \end{figure} \begin{figure}[h] ...
8
votes
2answers
17k views

Table Border Options

\begin{tabular}{|c|c|c|} Column 1 & Column 2 & column3 \\ \hline second row & & \\ \hline \end{tabular} Please help me with table border options. Using | I can draw thin solid ...
5
votes
3answers
1k views

Problem drawing Kiviat diagram

From this post, I started to play with TikZ/PGF to draw a Kiviat Diagram froma a file .dat Suppose to have two file table1.dat and table2.dat live these %table1 column1 column2 8.109115e-001 ...
10
votes
2answers
2k views

Breaking long lines using latex with minted and pygments

Since Acrobat obviously isn't able to convert XML to PDF from command line, I'm trying to achieve it using LaTeX. I found the minted package doing a quite good (and simple) job since it uses pygments ...
0
votes
1answer
145 views

Help with a custom-command: Space should not be inserted

I have a problem with a command i make for a specific glossary: \newcommand{\term}[4]{\glslink{term:#1}{#2}} \makeatletter \def\term#1{\def\tempa{#1}\futurelet\next\term@i}% Save first argument ...
8
votes
1answer
4k views

Best practice to peer-review a LaTeX document?

I'm currently writing a big document in LaTeX. The language is English and since I'm not a native English speaker, I've found a friend who will review and correct the document for me as soon as I have ...
6
votes
1answer
1k views

Is there a way to automatically generate \bibitem entries from a bibtex file?

I have a LaTeX document with bibliography done using bibtex (so I have a .bib file). However, looks like my current collaborator is not familiar with bibtex and doesn't want to get familiar (as he is ...
4
votes
2answers
806 views

TeXworks: How to store spell checker settings?

I'm using TeXworks to write my documents. TeXworks provides the ability to spell check the document, chosing a specific language (english, german or french in my case). But I noticed that every time ...
11
votes
2answers
614 views

How can I achieve dictionary headers for two page spreads in LaTeX

I would like to produce a document where I can display the first and last items of each two page spread in the headers of both the left and right pages. I know I can use \markboth{}{} to collect the ...
6
votes
4answers
2k views

Table with rounded corners?

This table I can create with this code: \begin{tabular}{|l|l|} \hline \multicolumn{2}{|c|}{Team sheet} \\ \hline GK & Paul Robinson \\ LB & Lucus Radebe \\ DC & Michael ...
3
votes
1answer
305 views

Maximizing page usage for a table

I'm printing a table enclosing 4 other data tables, one per page, and would like to maximize the space available by reducing the margins as much as possible. I still need the page number, but wonder ...
7
votes
4answers
1k views

listings in a footnote

This code won't compile: \documentclass{article} \usepackage{listings} \lstset{ language=C, basicstyle=\small } \begin{document} lorem ipsum\footnote{% \begin{lstlisting} // some C code or ...
3
votes
1answer
421 views

How do we do hierarchical includes with local paths?

I need to generate an appendix with hundreds of tables. I put several tables on a page, as an earlier question established. The first level consists of pure tables, created as ...
2
votes
1answer
203 views

The cross-reference boxes in TeX: the program

You know those boxes at the bottom of the right-hand pages in Volume B? Well, I managed to weave mf.web by stealing the weave binary from a distribution where it actually works (it doesn't in ...
5
votes
1answer
341 views

Removing and storing the head of a token list/\toks

I am given a token list (parameter-less macro) \myTokenList, defined, e.g. by \def\myTokenList{$(x + y)^2$, \ie, \(x^2+y^2+2xy\)} and I want to split it as the first token, and the rest, obtaining ...
2
votes
2answers
1k views

Stable alternative for http://docs.latexlab.org/

I'm looking for an alternative for http://docs.latexlab.org/ which is stable. Is there any?
5
votes
5answers
458 views

Counting tokens

Is it possible to count the tokens/macro parameters. For example: \def\foo#1{...} $ \foo{\alpha\beta} $ % => \somecounter = 2
5
votes
3answers
3k views

Last step in moving to XeTeX: Font shape problems

I am trying to move to the XeTeX distribution. My current problem is the following: If I leave these packages I have no problems with the Helvetica. \usepackage[portuges,english]{babel} ...
17
votes
3answers
2k views

biblatex: Putting thin spaces between initials

This question led to a new feature in a package: biblatex Robert Bringhurst, The Elements of Typographic Style, rule 2.1.5 states "Add little or no space within strings of initials." If ...
7
votes
2answers
521 views

Inlining BibTeX bibliography in LaTeX file

I am collaborating with another author using email to exchange latest version of the document. Is it possible to include the bibliography in the LaTeX file, so that we don't have to keep two files in ...
21
votes
3answers
11k views

In beamer slide, view notes on computer only while presenting with a projector? [duplicate]

Is is possible to make a PDF in Beamer such that notes are visible only on computer and not on the projector?
21
votes
3answers
28k views

How to define a list with custom symbols?

I'd like to define a list like the following: The nearest I found while googling was this: \begin{itemize} \item[-] foo \item[*] bar \end{itemize} But how can I now use a cross or a check ...
25
votes
1answer
1k views

Table of Contents with additional description of entries

I would like to achieve table of contents with additional description for chapters/sections (see screenshot). What way would you go to achieve this? I'm wondering if it is possible to wrap the ...
3
votes
1answer
229 views

Brown paper strip on page 125 of The METAFONTbook

I've borrowed a copy of The METAFONTbook from my school's library, and I'm wondering why there is a brown paper strip glued to page 125 between the text and the rings. I couldn't help but wonder if ...
8
votes
1answer
2k views

Weekday captions with the TikZ library “calendar”

I use the TikZ library calendar to produce a week list. The code looks like this: \documentclass{article} \usepackage{pgf,tikz} \usetikzlibrary{calendar} \begin{document} ...
2
votes
1answer
1k views

Change font colour of bringhurst chapterstyle in memoir

I would like to change the colour of chapter titles in bringhurst chapterstyle. The following should work, but apparantly I have misunderstood something and am not able to get it to work, and would ...
63
votes
10answers
43k views

Using \footnote in a figure's \caption

Maybe this is an easy one, but I struggled with this now too long :) I want to have a footnote in a caption of a figure, see the example. \begin{figure}[!ht] \caption{a figure ...
7
votes
1answer
842 views

How to include font into document?

I have a template that use Frutiger Font. But I think the font is not correctly included because while generating the document I get various font errors and the last one: LaTeX Font Warning: Some ...
6
votes
6answers
4k views

How to avoid link higlighting when using package hyperref?

I'd like to include some http links in my document. So i Included the hyperref package so that i can use the command \url{} Microsoft Surface\footnote{\url{http://www.microsoft.com/surface}} This ...
6
votes
2answers
4k views

How to use parameter numbers and \foreach

Is there a way to use the TikZ \foreach command to do operations with parameters? E.g. I would like to be able to write (just a silly example): \newcommand{\foo}[9]{ \foreach \x in{1,2,...,9}{ ...
7
votes
5answers
1k views

How do I position pairs of arrows in TikZ to make 'harpoons'?

I wish to use left-right 'harpoons' to show a reversible reaction in a kinetic scheme. I can get part of the way, but how can I vertically shift the horizontal arrows so that I have them separated (to ...
7
votes
2answers
1k views

Grouping the list of listings by chapter

I am using the listings package. I want to print out a list of listings, which I can do. The thing is that in the other listings the typesetter "groups" figures/tables by chapter. Is it possible to ...
15
votes
2answers
9k views

Syllabus in LaTeX

I need to produce a syllabus for a course I'm going to teach at the University. Could you suggest me any example (or template) of a well-designed syllabus in LaTeX? Are there any useful packages? ...

15 30 50 per page