# All Questions

37 views

### TexMaker not producing pdf output

I have tried everything I can find to do in the various answers to similar problems including changing the pdflatex path to my Miktex2.9 location here: "C:/Program Files (x86)/MiKTeX ...
148 views

### Fill rectangle with custom image file

I found a piece of tikz code for drawing pyramids of rectangles taken from here. In my document I need to fill sloped rectangles with a specific image file. Here is the code: % Using signed distance ...
62 views

With this preamble : \documentclass[12pt,a4paper,twoside]{book} \usepackage[top=2.5cm,bottom=2.5cm,right=2.5cm,left=2.5cm]{geometry} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} ...
54 views

### how to put odd number subfigures in multiple rows

There are five figures. Basically, I'd like them to displayed as following: |figure 1|figure 2| |figure 3|figure 4|figure 5| The first two figures are in the first row and the last three are ...
76 views

### TeX causing run-on italicized sentences that break formatting

Total neophyte to TeX, trying to type up a term paper due tonight and I keep getting really weird errors during compile. I'm not sure if this question has been asked before, but I don't really know ...
52 views

### Using URL in a LaTeX bibtex file

I'm using bibtex for my bibliography in LaTeX. I would like to use URL's and I need to cite. How do I add URLs into the .bib file. Also, I am using chicago as a bibliographystyle. I wrote the ...
90 views

### How to insert lines between text on Tikz

I am new to Tikz I just started working with it today and I came across with some difficulties that I can not find solution to them. I am producing a block diagram based on the example from Example: ...
101 views

### Problem with csname macro expansion

I want to dynamically define some macros that essentially create a list of \refs. I seem to be able to define these macros but then I am unable to print them. Here is my M(non)WE: ...
40 views

### How to seprate words into two lines in one cell? [duplicate]

The table is too wide, and I want to make it narrower by wrapping the Second under the First, how should I achieve this? The latex code looks like this currently: \begin{table*}[t] \centering ...
163 views

### why does something disappear in the aligned environment?

I noticed a strange behaviour with the aligned environment: \label{eq:direct_limit} \begin{aligned} [x] + [y] & := [\eta_{ik}(x) + \eta_{jk}(y)],\\ [x] \cdot r & := [x \cdot ...
36 views

### Glossaries package: smallcaps and uppercase in index does not work

I am using the glossaries package in pdfLaTeX. I am trying to use the acronyms written in small caps in the body text and for the index, make the first letter of each entry name in the glossary ...
25 views

### Prevent page break after first line of example

I would like to find a way to prevent a page break between the first line of the example in following code. \documentclass{article} \usepackage{lipsum} \usepackage{gb4e} \begin{document} ...
61 views

### How to type Greek Letter inside an itemise

I'm trying to write an algorithm in a simple list format in latex. In the first point, I need an 'alpha' symbol followed by a subscript 'out'. This is what I did, but it doesn't seem to like it and ...
32 views

### How to get a cell colored in \bordermatrix?

I tried to use \cellcolor as suggested in color only a cell of a table but it didn't work. Can it be done? That's my code: \documentclass{beamer} \usepackage{colortbl,xcolor} ...
51 views

### Font installation in LaTeX: otftotfm mktexupd failed

I'm using otftotfm tools with a Windows/MiKTeX 2.8 installation, when I run something like otftotfm -a --verbose -e ec -fkern -fliga Ubuntu-R.ttf T1--Ubuntu--Regular I receive an error message ...
17 views

### Natbib Article format: Omit volume and pages

How can I omit the volume number and page numbers from the citations in the footnotes of the following MWE Beamer example? \documentclass{beamer} \usetheme{Boadilla} \begingroup\newif\ifmy ...
53 views

### Why does LaTeX tell me that a { is missing?

Whenever I compile my document including the following code, it produces satisfactory output on the pdf, but gives me an error: 43 Missing { inserted. <to be read again> ...
43 views

### LaTex Error message: !Missing \endcsname inserted

I'm getting this error message when compliling my .tex file: ! Missing \endcsname inserted. \relax l.34 ... Preamble of my code is following: \documentclass ...
34 views

### How to reduce indentation size within loop of an algorithm

For the following algorithm, I get four spaces for each text line inside the loop. How can I get only two or three spaces? Some of my text lines go to next line. I want to save some horizontal spaces. ...
17 views

### Conditionally Hiding Parts of Bibtex Fields Depending on Language Field Value

I would like to create a document with a bibliography using XeLaTeX with Biber. In the bibliography, there are Chinese books and articles, as well as English or German ones. Some of the authors have ...
20 views

### apacite error - The style file: apacite.bst Database file #1: … is a string literal, not a function

I am trying to use the apacite package for referencing however I am having some problems getting it to work. I am using Ubuntu and the Tex Live distribution so I installed the texlive-bibtex-extra ...
107 views

### An application of \foreach command in TikZ to generate labels

I would like ask you to help me solve the following application of foreach of TikZ package. By means of the following code: \documentclass{article} \usepackage{tikz} \begin{document} ...
27 views

### Bibliography not changing according to style

I am having trouble formatting my bibliography to the ASA style. I would like to use the bibliography style asa.bst. I saved this .bst file within the same folder as my .tex file but do not see ...
53 views

### Lots of tables, no go [on hold]

I have a file with +30 tables that I would really like LaTex to parse but of course it gets all floaty and can't decide where to place them and so goes belly up. Any suggestions on on how to get this ...
174 views

### To make one environment flow into another without empty space

I have this design at the moment. However, when you have many of those, they distract much. I propose to have Answer just on the same line with Question like Question 41 Lorem ipsun. Answer 38 ...
20 views

### achemso problems

I had a horrible time trying to get achemso to work using TeXShop on my mac (OS X 10.8.5). I found that I could make it work by first commenting out the following line: \usepackage{achemso} then ...
61 views

### How to use \newline after an item list?

Concretely, this is what I am trying to do: \documentclass{article} \begin{document} \begin{itemize} \item This \item That \item Where \end{itemize} %if I put \newline or \\ here it ...
64 views

### biblatex prints an unwanted star (*)

I am using biblatex in an article document class which has been turned into a resume manually. The \section and \subsection have been redefined. Now If I use bibtex or biblatex, I get an unwanted ...
99 views

### Removing spaces placed by \Set command around curly braces

The \Set command (from the braket package) is useful for set builder notation, but it adds spaces before and after the brackets. Compare \Set{1, 2, 3}: To \{1, 2, 3\}: Looking through the ...
65 views

### define manually the position of a pgfplots plot inside the TikZ picture

I just started using matlab2tikz for the graphics in my thesis and got stuck with a probably simple problem: I have a plot of a function and an inset (zoom-in) on it. Both the main plot and the inset ...
38 views

### How to eliminate a annoying amount of white space between bars in bar plot?

I have removed one row of data from a file, but I cannot find way to get rid of the white space in the center of the plot. Reducing the width moves the bars outside of the graph, and the only way to ...
76 views

22 views

### Invalid or undefined BibTeX entry key in file

Today I had a sudden error with a file I have been working on for weeks. I added a new bibliography entry and when trying to generate the bibliography with the new entry included (I use Biblatex and ...
430 views

### LaTeXTools: you need to migrate your preferences. See the README file for instructions

I was given the following error in sublime text during the build process: LaTeXTools: you need to migrate your preferences. See the README file for instructions. What do I need to do to fix it?
51 views

### \bibliographystyle{plain} and \citet

I want to use \citet since it is convenient (I do not type the author's name myself). But I found the conference ask to use \bibliographystyle{plain} and this conference likes to number the ...
60 views

### align nested in cases

Code \documentclass[a4paper,twoside,12pt]{book} \usepackage{amstext} \usepackage[utf8]{inputenc} \usepackage{cases} \usepackage{amsmath} \begin{document} ...
36 views

### Creating a table within a longtable

I have created a longtable by using information from the question asked here. Now I want to create a table with two columns with 3 rows each within the right part of this long table. A pictorial ...
26 views

### Accessing protected member function ! Segmentation fault (core dumped) [migrated]

I am trying to use OGDF C++ library for a project and want to use a protected member function of a class of this library. As can't access protected members directly outside class or derived class; to ...
57 views

### Random selection of file issues

I have tried to create an exam with random questions selected from different files as shown here Accessing randomly selected problems via the probsoln package The code I used works but is only ...
64 views

### Make the footnote in a table at the bottom of current page

Finally, I add footnote in a table. But it does not locate in the bottom of the page. It is below the table. And, \usepackage[bottom]{footmisc} does not work in my case. How could I make the footnote ...
32 views

### Texmaker: Switch forth and back between Bibtex and Biber

I have to work on multiple documents, some of which are under my control and I want to use Biblatex with Biber, others which require to use Bibtex. I use Texmaker on Linux. I find it very annoying ...