All Questions

15 views

Customize a single book citation with bibtex

I'm using LaTeX from some years now and it comes the time to write some Theology papers. So, I'm working with a specific book that I'd like to cite differently inside my document. The first time I ...
35 views

page layout for function description

I write an SDK manual in which I would like describe function using the following layout, but I have a carriage return I don't want. Parameters * unsigned int * string Return Value ...
88 views

Simple list of abbreviations manually

I have written my whole document without using any packages like nomencl or acronym because it wasn't necessary in my case, that means I only have a few abbreviations which should fit on one page ...
74 views

It doesn't hyphenate words ending with “—”

I'writing a paper, and XeLaTeX doesn't hyphenate words which end with – (traditional Latex ---). After reading the comments, I realized this is a common problem also in Latex (not only Xelatex). Here ...
133 views

Labelling tikz nodes AND edges

The following is a snippet of the original. It works.., \documentclass[12pt]{article} \usepackage{tikz} % drawing support \usetikzlibrary{trees,arrows,decorations.markings} ...
95 views

Layered diagram with empty spaces

I am trying to achieve something like the following: +---------------------+ +---------------+ | A | | B | +---------------------+ +---------------+ ...
21 views

Reference to pgfplot with margincap

I was using references to parts of a pgfplots plot, which worked perfectly. However, when I changed the document to use margincaps, this breaks: I get a warning that one reference is undefined, and ...
47 views

Comparing the arguments passed to a macro

I want to write a command which makes a norm of a vector, with following syntax: \xnorm{v}. I want the norm delimiters to adapt to the size of the expression contained in \xnorm{}, BUT I want also an ...
38 views

How can I reduce the size of listoffigures and listoftables titles?

I had the section titles the way I wanted at one time, but then had to add some code for various reasons. At this time, all the chapter and section titles in my document are the correct size, with the ...
21 views

How to setup CJK package?

Recently,I want to use Chinese,But the LaTex lacks CJK Package.However,I don't where is the CJK package,I use the texlive 2012 manage to add CJK package.Unfortunately,I failed! So myquestion is ...
9 views

\printglossary does not produce any content

I am having some trouble using glossaries in LateX (TeXnicCenter) and hope someone could give me some advice. I am using the package \usepackage[toc, acronym, section=section]{glossaries} to get a ...
23 views

How to avoid uppercase function name while using Function?

In LaTeX, I want to define a function in my algorithm, following is my code in case: \begin{algorithm}[h] \begin{algorithmic}[1] \Function{BuildPolicySet}{PolicySet PS, CCR ccr} ...
39 views

How not to skip a page with begin{figure}

I have this code. \section{Anhang} \begin{figure} \includegraphics{anderegraphen5,6-1.png} \end{figure} Right now I skip the page after "Anhang" can someone please tell me how I keep the ...
27 views

Limit backrefs to each chapter in per-chapter bibliography

If I cite a source in both Chapter 1 and Chapter 2 the back-ref list of the Chapter 1 bibliography will also contain the entry for the respective page in Chapter 2 (and viceversa). Is there a way to ...
24 views

Prevent floats on a single page OR change page margins for a single page

I've got a particular problem with a custom chapter style. Essentially my chapter title is on the left page, then there is a picture on top of the right page (waves, see below) and below the picture, ...
29 views

can I make apacite citation always use et al. for more than two authors?

The apacite package documentation here: http://anorien.csc.warwick.ac.uk/mirrors/CTAN/biblio/bibtex/contrib/apacite/apacite.pdf states that whenever citing more than two authors (but less than six), ...
28 views

insert author name in table of content

I am using latex editor LyX. I write a book with many authors. I want to list each author name in each chapter in table of content. How can I list author name in table of content?
43 views

DVI to PDF Convertor

I am converting dvi file to pdf but in that process my figures are misplaced. i used \FloatBarrier command to fix figures in dvi. but facing the same problems in pdf. Can any one help?
30 views

Only show \NAME in \listoftheorems

I am using the thmtools package, and I want to modify \listoftheorems to only print the name of the theorem. For example, my document might look something like the one shown below. When I compile this ...
468 views

How to split the bibliography alphabetically?

I am using biblatex (with biber) and I am currently writing a book class document. I will have a long bibliography at the end of the document. Inside this bibliography I would like to have ...
43 views

missing $inserted Error when not putting$ before and after array environment

Considering this answer I added $before and after the array, i. e. before \begin{array} and after \end{array} in the following code. Then the former missing$ inserted Error was gone. ...
22 views

List with wrapped figures

I am trying to define a list to describe a series of images. I would like each list element to have the image aligned with the first line of the description text and have the text wrap around the ...
22 views

Latexproblem: font installed but cannot be mapped

When I am compiling some latex, I get the following error: kpathsea: Running mktexpk --mfmode cx --bdpi 300 --mag 1+84/300 --dpi 384 zptmcm7y mktexpk: don't know how to create bitmap font for ...
133 views

Double arrow for inline diagram

I want to make a diagram like A--->B, but there are two arrows, one written f_1 and another with f_2. I tried \stackrel, but this gives arrows with different sizes. If using ...
27 views

Using braces in verbatim environment

I want to put some code in a verbatim environment: \begin{verbatim} data _≥_ : Nat → Nat → Set where ge0 : {y : Nat} → y ≥ zero geS : {x : Nat} {y : Nat} → x ≥ y → suc x ≥ ...
22 views

Is it possible to make AUCTeX preview of equations work with beamer?

When I generate preview images (using C-c C-p C-p) for the following document, the images are correctly generated but they are placed in wrong places in the buffer. Is it just me or MS Windows users? ...
61 views

How to fix the beamer and amsthm conflict?

I want to have a style of Theorem 1, and the next one is Theorem 1' with the help of Amsthm package. The following code seems alright, but can't be compiled: \documentclass{beamer} ...
22 views

Changing in-text cite

\documentclass[twoside, a4paper, 10pt]{article} \usepackage{natbib} \begin{document} we follow the selection criteria proposed by \cite{feem} \bibliographystyle{apa-good} \bibliography{bibliography} ...
380 views

\addtolength{\leftskip}{2em} does not apply to equations in the paragraph

I have a paragraph which should be emphasized using left and right skips. Thereby I recognized that it simply ignores equations in this paragraph. Is this reasonable? \documentclass{article} ...
5k views

How to highlight table rows by colors in Beamer

I would like to highlight rows in tables, in rowwise, that is I would like to highlight row 1 in red, then make row 1 in black but row 2 in red, etc. How can I manage to do so in Beamer?
34 views

How to number all pages in fancyhdr

I don't know why, but the following code numbers only the first page and I'd need all the pages to be numbered. Is there anybody that can help me out? \documentclass[10pt]{article} ...
26 views

Troubles with suftesi and itemize

A while ago I was experimenting with suftesi and chapters of my thesis, adapting the preamble that had been created using the standard class book and it works. I want to try the layout of sufitesi, ...
13 views

Extra space in natbib bookstyle

I am trying to create citations using natbib for my dissertation. In my papers I always used \usepackage[authoryear]{natbib} in the pre-amble and everything came out great. Now I am using the book ...
22k views

How to influence the position of float environments like figure and table in LaTeX?

How to influence the position of float environments like figure and table in LaTeX? This is a general question and should collect useful answers for all users. I hope we can use this as a reference
146 views

How you can put an image in a footnote on page?

How you can put an image in a footnote on page? try this, but does not work \footnote {bla bla \begin {figure} .... \end{figure} }
36 views

XeLaTeX and microtype protusion problems at hyphens

I was excited to learn that XeLaTeX finally has microtype support (I had asked about that earlier). However, after adding microtype to my document, I noticed that line breaks at hyphens now go wrong. ...
37 views

Why xeCJK cannot work？

Recently,I use the LaTex to write Chinese,I use the package "xeCJK" My trial: \documentclass{article} \usepackage{xeCJK} \begin{document} 开始使用中文 \end{document} However,It cannot work! Log ...
155 views

Set math fonts to predefined color

I am trying to define math text is some predefined color as in my preamble: \setbeamercolor{math text}{pmsGreen} \everymath{\color{pmsGreen}} \everydisplay{\relax \ifx \\\@eqncr \else ...
131 views

Creating radial trees in TikZ

I am fairly new TikZ user and I am looking for a way to generate a radial tree similar this: or this: So far, I have two methods of doing this: 1) Program it manually - This involves quite a ...
81 views

Troubles with column width in the tables headings

Well, we all know that compose tables in LaTeX is not easy, however, despite the large number of existing packages and options to facilitate this, I still have some problems I could not solve, and I ...
82 views

Tikzpicture in table

I would like to center the tikzpicture in first column. In the output, the graph alignment is different for rows. \documentclass[12pt]{report} \renewcommand{\baselinestretch}{1.5} \usepackage{tikz} ...
78 views

Unwanted separation in an equation

I have an equation with an intersection which has multiple limit levels, like this, $\langle H, H'\rangle = \bigcap_{\substack{ L \leq G, \\ H \cup H' \subseteq L. }}L$ It compiles nicely, ...
50 views

ProvidesPackage and usepackage

I have seen papers containing a command \ProvidesPackage. Is it different than \usepackage? What is the difference between \ProvidesPackage and \usepackage?
140 views

Allow source code to wrap around a figure

I would like to be able to wrap source code around a figure. Here's a MWE that should make it clear what I have in mind: \documentclass{article} \usepackage{wrapfig} \usepackage{listings} ...
384 views

package arabxetex produces only blank pages

I've installed the arabxetex package, but whenever I run xelatex example.tex the resulting dvi is blank (i.e., xdvi example.dvi displays a blank page). The log file has lines: Package fontspec Info: ...
17 views

How to make hyperref link boxes in XeLaTeX as big as they are in pdfLaTeX

When typesetting the following sample using xelatex, the various clickable link-boxes produced using \ref, \cite, \footnote, \href, etc. are small and ugly, and sometimes make it hard to read the ...
95 views

How to type specific things on the hat of expression?

I have problem typing this on the hat of max in the following example:
20 views

lstlistoflistings entry in table of contents name is always 'Contents'

I'm trying to add a list of code listings to my document, with a reference to it in the TOC. By simply calling \lstlistoflistings I end up getting everything I need (the list of listings, an entry ...