# All Questions

2k views

### Missing font on compile

I have been given a latex template to use for my school thesis, however when I try to compile the demo to pdf: pdflatex thesis.tex I get the following error: kpathsea: Running mktexpk --mfmode / ...
1k views

### Landscape forces premature pagebreak

After some trouble I have managed to make a table in landscape orientation that breaks over three pages. I used tabularx and the landscape package. Now my problem is that the thing won't float like ...
485 views

### Beamerposter and fonts with xelatex/fontspec [closed]

Has anyone had success with using beamerposter and xelatex/fontspec? I am able to use fontspec for normal documents, but when I try with beamerposter I keep getting warnings such as LaTeX Font ...
2k views

### ! No room for a new \count . with showidx package

I'm getting an error when I try to \usepackage{showidx}: ! No room for a new \count . \ch@ck ...\else \errmessage {No room for a new #3} \fi l.41 ...
2k views

### Are there any input assist tools in TexShop like the one in WinEdt?

By "input assist tools", I mean the graphical interface in WinEdt with tabs like 'symbols','Greeks','maths'.
1k views

### How to write properly an accent in a web address?

I'm trying to write a hyperlink for a DjVu document that includes Latin accent, but for some reason, it only displays properly for the PDF one. Specifically, on my list of references (bibliography), I ...
1k views

### No indentation after empty line

Indentation can be selectively suppressed using \noindent or completely with the option parindent=full to the KOMA document classes. Books (fiction) are usually structured using paragraphs, indented ...
318 views

### indent some first-column words in a table using PGFplots

I'm trying to indent some of the words in the first column of a table using PGFplotstable. I can't figure out any other way to do this other than to put 4 spaces in front of the word. Unfortunately, ...
720 views

### Minitoc with two column content

I have a question regarding \minitoc, I want to change the layout for \minitoc inside my MSc thesis. The document is written using a single column, but I want to have the content within the \minitoc ...
1k views

### How can I force LyX to rebuild intermediate files for clean PDF display?

I am working on a multi-file document in LyX (my thesis) and occasionally have problems where LyX seems to rely on old version of intermediate files when updating the PDF output. Is there an easy way ...
1k views

In my thesis, I have a table of contents, list of figures, list of tables and a list of symbols and nomenclature generated with nomencl (in that order). The lists of figures and tables do not appear ...
717 views

### bibnewpage option using apacite not working

I am having difficulty with getting the references to show on a new page using apacite. According to the documentation the bibnewpage option should do it, but it is not happening. It is displaying ...
1k views

### figure between date and bottom of the title page [duplicate]

Possible Duplicate: How to insert an image in the front cover of a report? I want to insert a .eps figure on the title page of a report. This figure has to be placed after date and then ...
1k views

### TeX as the basis for data driven document generation system?

I am in the early stages of trying to replace an existing document generation system based on Microsoft Office apps (Word and Excel). The system runs once a year to generate over 300,000 individual ...
549 views

### The printing of biblatex' [prenote] in citation commands

As per the biblatex documentation page 92: All citation commands generally take one mandatory and two optional arguments. The [prenote] is text to be printed at the beginning of the citation. ...
667 views

### Subfig package and tufte class

I am using the subfig package in combination with the tufte latex class. Unfortunately I did not manage to make it work error free. As discussed in other forums (see here), the subfig package alters ...
327 views

### TeX Syntax In Mathematica [closed]

Why cant I write Tex syntax directly in Mathematica however, I can paste it in from another editor and it is converted to pretty syntax?
30k views

### How to vertically align 3 images with subfigure?

This code: \begin{figure*}[t] \begin{center} \begin{subfigure}[a]{0.3\textwidth} \label{im:device_front} \includegraphics[width=\textwidth]{images/bsn_side} ...
489 views

### Arithmetic in arguments to the geometry package

I'd like to use the geometry package to auto-crop the output of my LaTeX (so that it looks bigger on-screen as I'm editing). I have found a way to remove the margins completely and brutally: ...
2k views

### Reset the counter of references in each chapter

I am currently busy with writing my PhD book in LaTeX. I want to have separate references list at the end of each chapter. Thanks to my colleague, we have added some line for this purpose and it ...
5k views

### File name with underscore as figure caption [duplicate]

Possible Duplicate: Escaping from the escaping hell I did scour the internet for solution but I found no satisfactory answer for this problem. I have a bash script that searches my folder ...
150 views

### ^^M garbles my terminal output

Contrarily to pdfTeX and XeTeX, which send ^^M to the terminal for the character 13, LuaTeX sends the character 13 itself. This garbles the output of my terminal (bash under Ubuntu 10.04). ...
514 views

### Pass parameter to texlua script

Calling texlua file.lua on the command line runs the file through a Lua interpreter. Is it possible to give arguments to the script? For instance, in -- file.lua io.write(3.4 + 5.6) io.write("\n") ...
1k views

### Add new field to biblatex entries

Many of the books I use are parts of series. biblatex gives you more fields to add bibliographic information to than BibTeX does, but it has no fields appropriate for the editor of a series. If I use ...
498 views

### How to create numbered examples potentially with letter suffixes, e.g. using enumitem?

I have a weird numbering problem in a manuscript that uses sequentially numbered text examples. When an example demonstrates something which is e.g. wrong and later to be corrected they have suffixes ...
309 views

### What does 'parent=structure' do?

I came across this code. \setbeamerfont{foo}{size=\huge,parent=structure} What does parent=structure do exactly?
589 views

### Why is the psframe not including the right end?

I am working on a poster, the code is given below, but how do I make the blue box even on both sides? Why is it not including the right end? It's the first time I'm doing a poster and psframe, so ...
648 views

### New ideas for writing a thesis [closed]

As many of us, I am willing to write a thesis full of maths, fancy environments and all that. Each time I investigate the internet for ideas I find myself ending on the same websites with boring ...
15k views

### \flushbottom vs \raggedbottom

I use \documentclass{book}. If I use \flushbottom, I get messages of the sort Underfull \vbox (badness 10000) has occurred while \output is active []. See question. These messages disappear when I ...
549 views

### number separator formatting with ragged right positioning using siunitx, R, Hmisc::latex

I found Boris's suggestion to use siunitx to achieve number formatting in Hmisc::latex tables to almost be exactly what I was looking for: R, Sweave, Hmisc: pretty-print numbers However, if you look ...
550 views

### Prevent biblatex from printing a header

When using biblatex together with myheadings, biblatex adds a header REFERENCES on the pages where the bibliography is. How do I prevent that? \documentclass{article} \pagestyle{myheadings} % page ...
476 views

### badness messages when changing from report to book class

When I change the documentclass from report to book I suddenly get a lot of messages like this: Underfull \vbox (badness 10000) has occurred while \output is active [] Does anyone have an ...
361 views

### suppress lot/lof entry in memoir

Using the caption package, one can suppress lot/lof entry with an empty optional argument for \caption. But the caption package is incompatible with memoir. How can I suppress lot/lof entries in ...
3k views

### Clash between bibentry and hyperref with bibstyle elsart-harv

I'm using the bibentry package for inserting my bibitems into a CV without printing the bibliography. This works just fine until I load hyperref. Then I get the error message Lonely \item--perhaps a ...
529 views

### LaTeX, dvipng and pipes

I am trying to create PNG images for each page in a LaTeX document on the fly. Since the startup time of LaTeX is the limiting factor for speed I tried the following approach using names pipes: Bash ...
489 views

### Extracting the basename from a filepath argument

I have a function which takes a filepath as an argument. How can I extract the basename (file.c in the example below) from the argument? \mycommand{path/to/file.c} ... \def\@mycommand#1{ ... ...
208 views

### Adding condition to \DTLplot (dataplot package)

I'm working with the package datatool for a while now, and I'd like to make graphs of my created databases. But I do not want to plot all rows in my database so I'd like to use the condition. This is ...
1k views

### Compilation error with media9 package

While using media9 package, I'm getting the following error : Argument of \bool_if:nTF has an extra } I'm unable to figure out where does the error come from. Here is the minimal example: ...
274 views

### Subfigure Alignment [closed]

I am trying to show a set of pictures using subfigure. The first line seems OK, but the second line has a different alignment than the first line, even though the two lines are exactly the same. How ...
3k views

### Put formulas on the left position in LateX [duplicate]

Possible Duplicate: Left align (to the page) displayed math As you know the following equation will be in the center: $$\sum_{\substack{a\leq1/2\\0<b\leq T}}\frac{2+a}{2|b|}$$ And ...
1k views

### Journal Abbreviations in achemso

I am submitting a paper to ACS Nano using the achemso package. However, even after using ancac3 document class optiion the bibliography always shows the full journal name. ACS Nano would like to have ...
736 views

### tikzpictures give huge pdf files when processed via dvips and ps2pdf

I have written a paper that includes a couple of TikZ pictures and submitted it to a (Springer) journal. I was quite shocked when I got the pdf file they produced from my source file, since it was ...
6k views

### Handling quotes inside quotes in a bibliographic field

I have an entry in my bib file of the form @conference{abc, author = "Some name", title = ""This is inside quote" and outside quote content", . . . } when I check this entry through jabref, I get ...
334 views

### page number in top right intersects with the page text

My text and the top right page number seem to intersect when using fancyhdr: \documentclass[a4paper,oneside,12pt]{report} \usepackage{amsmath} \usepackage{amssymb} \usepackage{bm} ...
654 views

### Citation with Harvard as an argument throws error

I'm trying to include the source citation everytime I use an image in my thesis. I have a self-written command to ease that process (code at the end of the post): \bild[citation]{label for ...
923 views

### Define command that returns true/false (multiple conditions)

While using the datatool-package I encountered something strange. I have a loop, and each iteration it defines some variables that are later used by the command \DTLforeach from the datatool-package. ...
3k views

### How to use vlc as an `externalviewer' in Beamer? [closed]

I have generated an avi file with matlab and it turned out that QuickTime was not able to play it. VLC was able to play it. My objective is to include this avi file in my presentation using beamer. ...
2k views

### I need a customized verbatim environment

I would need a verbatim environment with the following behaviour: It is centered (left and right distance to the page edge should be equal). It can be much wider than the regular text, almost using ...