# All Questions

3answers
23k views

### Text wrap in tables (multirow package loaded)

I searched a bit, but I could not find a reliable way to wrap text in tables with columns spanning more than one row. Any ideas on how to fit this table in the page?: ...
2answers
2k views

### verbatim text inside italic block

I am trying the following: \begin{frame}[fragile]{OCP en Exceptions} If you throw a checked exception from a method in your code and the \verb!catch! is three levels above, \textit{you must declare ...
1answer
802 views

### pgfplots ticks are not applied

I am trying to create a 3D plot with custom z-ticks. However I can not create them with starting negative number. It works however as expected when the ticks start at 0. My code is this one ...
2answers
1k views

### In TeXnicCenter, click on error in output window does not show where error occured

I recently downloaded the most recent version of TeXnicCenter. In the past when I built my project, I could click on an error or warning message in the output window and a green arrow would appear to ...
1answer
358 views

### label in subcaption and customize cell size of an array

Using the following code \documentclass[11pt]{article} \usepackage{caption} \usepackage{subcaption} \DeclareCaptionSubType*[arabic]{table} \captionsetup[subtable]{labelformat=simple,labelsep=space} ...
1answer
397 views

### Use pgfplots and a custom length to define global width when inputing the plot

I'm trying to set the width for all my plots, that are defined in other files and imported into the main document, using a custom width, \sz. I'm trying to set this length because I want to change it ...
2answers
11k views

### automatic size adjustment for nested parentheses

As I prefer outer parentheses to grow larger in nested expressions, I happen to insert \bigl and \bigr and its larger cousins a lot. I have always wondered whether there is a way to do this ...
1answer
101 views

### Defining [keine Autorenangabe] so that it will be typeset in an author choosen place in the bibliography (biblatex)

badroit (supported by PLK) pointed out a way to create a makro to obtain an [ohne Autorenangabe] (english "no credits") output by using this (see Biblatex: Defining author = {} so that it leads to ...
2answers
298 views

### Setting a counter for sections

I prepare a document where there are questions as follows and the relevant content \section*{Question 1} ... \section*{Question 2} ... \section*{Question 3} ... ... I want a counter instead of ...
5answers
849 views

### Most efficient way to reverse a token list (tail recursion)

Goal: reverse a list of characters, going from \def\mylist{abcdefgh} to \def\mylist{hgfedcba}. This is easy using a marker which does not appear in the list, such as \relax: \def\mylist{abcdefgh} ...
3answers
217 views

### Table of contents exclusive to a particular section or chapter

I have a document with a short main-body but a huge appendix. The body just has a couple of short sections, so I wouldnt like to have any Table of Contents for them. The Appendix on the other hand ...
3answers
6k views

### How to make a single word look as some code?

I would like to be able to make a single word in a text look like a coded word. Is there any command such as \code{...} which allows me to do so? (basically, I want to produce something like above ...
2answers
5k views

### Multiple bibliographies (cited references + list of publications)

I am writing a book document in which I have to put a bibliography, containing all the references cited throughout the text, and a list of publications, that should appear after the bibliography, as ...
1answer
75k views

### How to type & in LaTeX? [duplicate]

Possible Duplicate: Escape character in LaTeX I'm trying to type the word & but I encounter with error : misplaced alignment tab character & And when I put it into verbatim it ...
2answers
529 views

### Redraw a kernel scheme diagram

I'm trying to redraw a kernel scheme diagram for a university lecture note. This is how far I got: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
1answer
2k views

### A layout for writing a budget?

I have to write the costs of a project in a budget. I would like to learn a fancy way to do it in LaTeX. Does anyone know where to find a layout for that? :)
3answers
2k views

### Stacking Text Arguments

I was wondering was is the best method in (general) I guess to stack text on top of text in very small areas as in this example: I used the \stackrel (which I think is for math more so) command ...
3answers
2k views

### How to change the page number from even to odd while keeping the page as verso?

I'm writing a two-sided document with a binding margin. For certain reasons, I need to change the page number at some point, so what used to be an even-numbered page is now odd-numbered. This makes ...
2answers
179 views

### Weird behaviour from graphicx - inserting PDF files

So I created some graphs in Excel, saved them as PDFs and used the following code to import them to LaTeX: \newpage \begin{figure}[htbp] \centering \includegraphics[width=0.95\textwidth]{white1.pdf} ...
1answer
2k views

### How can I use a symbol provided by a package without changing the entire mathematics font?

I wish to use a symbol provided by the package MnSymbol but if I have a \usepackage{MnSymbol} in my document then many other symbols change, including even the equals sign (=), which appears much ...
1answer
4k views

### PGFPLOTS: figure and table formatting

Just after an hour spending browsing through the pgfplots manual, I am trying to have a figure and a table side by side (both the figure and the table use the same data). So I still have lot to learn! ...
2answers
228 views

### N first words command for citation style

I need a way to get to display three first words of the title in citations and if some words did not get displayed add dots. I am using Biblatex. \nfirstwords[3]{I Like Apples and Oranges}{\dots} ...
1answer
777 views

### Complete example from LaTeX3 intro

I don't understand an example from section 6.1 of expl3-intro.tex from LATEX3 documentation. It is said there: Here are two equivalent ways of defining the function \foo:nn: \cs_set:Npn \foo:nn ...
1answer
1k views

### TikZ: connecting nodeparts

I'm new to TikZ. Last couple of hours in fact. I was wondering if there was a way of connecting nodeparts from different nodes. Here's an example \documentclass{article} \usepackage{tikz} ...
4answers
16k views

### scaling a table to fit an entire page

I used Excel2Latex to pump out some tables from my excel file. All works fine but heres the output picture: I want the table to be streched accross the entire page. Is this possible and if so how ...
1answer
90 views

### Interfaces package: quickprofile on changefont

I'm sorry but I do not understand much English, so I do not understand how to use the command \quickprofile in the 'interfaces' package. \documentclass[a4paper]{report} \usepackage[utf8]{inputenc} ...
4answers
1k views

### Anti-LaTeX…in LaTeX

LaTeX makes things more legible by following certain rules, and there is a strong emphasis among LaTeX users on obeying typographical conventions to make things more legible. What happens when we ...
2answers
10k views

### \leftarrow does not work

I am trying to write a document in which for some reason some of the things like \overleftarrow{example} works but \leftarrow and \rightarrow etc. does not work. Any suggestions?
1answer
579 views

### Transparency does not work correctly with alignment?

I would like to uncover a set of equations line by line with and the covered equations should be transparent. The problem occurs when I want to align those equations: somehow the transparency stops at ...
1answer
2k views

### How to format multiple algorithms so that they appear together

How can I have multiple algorithms be tied together so that they all appear next to each other. Currently LaTeX places the algorithms to far from each other.
1answer
565 views

### Footer: Typeset by AmS-TeX

How can I make a document display as a footer the text "Typeset by AmS-TeX"? I'm having trouble finding how to make this. Can you please help?
3answers
5k views

### undefining custom commands [duplicate]

Possible Duplicate: How to undo a \def (i.e., Need a \undef capability) After you define a command using \newcommand, is it possible to undefine it? My motivation is that I'm writing a ...
1answer
336 views

### Naming enumerated lists referencing the names

Currently I have the following TeX \begin{enumerate} \item First idea \item \label{idea:s} Second idea \end{enumerate} \begin{enumerate} \item Point about \ref{idea:s} \end{enumerate} I would like ...
1answer
22k views

### Merging different cells in a table with \multicolumn

I am having troubles with \multicolumn. In the second row the cells containing a 9 should have equal sizes. How can I achieve this? \documentclass{article} \begin{document} \begin{center} ...
1answer
779 views

### Running figure numbering

I want to use running figure numbering so I used a trick form this website http://www.tex.ac.uk/cgi-bin/texfaq2html?label=running-nos. \documentclass[a4paper, 11pt]{scrbook} \usepackage{chngcntr} ...
1answer
543 views

### Follow up question: TeX accents do not seem to work with fontspec and xe/lua/latex

This is a follow up to this question. How would the same look for the dot above? That is, what's the standard definition for \. ? Or does somebody in the meantime know a better solution to the whole ...
1answer
479 views

### Seeing figures inside a tex/latex buffer in emacs

Quite often while typing in emacs I will LaTeX a file just to see whether I am including the right figures in the right order. Is there an emacs package that will either: show the figure within the ...
1answer
2k views

### Best Practices for Using Enumerations Within Theorem Environments

Suppose one has a theorem/proof such as: \begin{theorem} The following are equivalent: \begin{enumerate} \item Statement 1 \item Statement 2 \item Statement 3 \end{enumerate} ...
3answers
5k views

### Numbering side-by-side equations or inline equations

Iamtryingtoproduceatwo-columntableofmathequations,whereeachcellcontainsitsownleft-justified,numberedequation. Itriedusinginsidethetabular... 
3answers
958 views

### How to find the length of a PGF array?

A few of my macros currently require the user to pass the length of an array along with the array itself. It would be nice if the length could be calculated for them, as the user in question (myself) ...
2answers
10k views

### How to create a signature, date page?

I need to create a signature page as shown in the image below in LaTeX. I have no clue on where to start and the commands that I would need. Could someone please help me.
7answers
48k views

### Indenting a whole paragraph

How do I indent a whole paragraph at the same distance from my left margin, with the simplest command or environment?
1answer
710 views

### What is the template for this slide?

I was wondering what it is the template for this slide? I guess it is written with beamer, but don't know how the slides are so fancy. So is there some tutorial on writing this particular slides among ...
3answers
1k views

### Creating an index with sub-sub-subentries

For my PhD thesis I need to make a list of works quoted. I thought that using the LaTeX index would be a good idea. But unfortunately I cannot have more than 3 levels in the index. BTW I am using the ...
1answer
16k views

### Using string variable with LaTeX

I would like to define one variable containing some text that can be changed locally. The following code gives one example of the featuring I'm looking for. \documentclass{article} ...
1answer
2k views

### How can I define a different style for edges and nodes?

Given this image (a simple edge between two nodes): \begin{tikzpicture}[>=latex,line join=bevel,] \node (a1) at (44bp,8bp) [draw,trapezium] {$A$}; \node (d1) at (44bp,82bp) [draw,trapezium, ...
2answers
482 views

### Can one pass a pgf array to a pgf math function?

I'd like to define: anglearray(\A,\I,\L) = array(\A,Mod(\I,\L)) + 360*floor((\I+0.1)/\L); but I get strange errors about "! Missing number, treated as zero." and the "array" part appears to ...
2answers
14k views

### Multiple subequation labels in one \ref

I'm trying to write a macro that puts subequations' labels in parentheses in a compact form. For example, if I have \begin{subequations} \begin{align} y - ax &= b \label{subeq1}\\ x^2 + ...
1answer
1k views

### Redefining the quote environment

Can somebody tell me what is wrong with this: %%Tweaked quote environment \let\origquote\quote \renewenvironment{\quote}{% \vspace{-0.5\parskip} \origquote }% {\endorigquote} My goal is to ...
1answer
2k views

### Fancy Theorem Environment and Colors

I'm trying to make a boxed theorem environment with colors. I thought I had done it, but I was mistaken--lists were the wrong colors. In the picture above, I would like the "list" to be the same ...

15 30 50 per page