All Questions

2 views

Copying latex from PDF

Is there a program that takes as input either a pdf file of equations of a screenshot of some equations and outputs latex that reproduces it? Ideally I just want to mark some equations in a pdf file ...
6 views

How to preserve space when using an Overlay command in Beamer?

Into Beamer, I want to preserve the space when I replace an expression by another in a mathematics formula with the help of an Overlay command. For example, if we have in slide number 1 this formula: ...
13 views

\vphantom and superscripts

The superscripts position is exactly the same for these two statements: \vphantom{\int}^S and {}^S How can I get the superscript higher up?
12 views

Custom Compilation Messages

Is there a way to create custom compilation messages? For example \msg{Compiling Chapter 1} \input{chapter1.tex} \msg{Finished chapter compilation}
22 views

Inclusion of TikZ package changes page dimensions

For some reason, inclusion of the TikZ package in a document seems to change the page size: the bottom of the page is slightly shorter if TikZ is included. A minimal example is ...
15 views

My bibliography has 2 parts. How to get the name right?

I'm using the basic class article/scrartcl. I have a (manually created) bibliography which consists of 2 parts. I am able to add the different parts under different names into the TOC by ...
26 views

Enumerating inside a proposition and inside a proof

I have one problem with enumerating. The symbols for items look differently when the enumerating is done ''inside'' propositions from the enumerating done ''inside'' a proof. The code ...
18 views

Biblatex: Last name only in \footcite

How can I drop the authors first name in the following MWE? I have already suppressed the volume and pages of the entry. I just want this to read: Brav and Heaton (2002). Competing Theories of ...
18 views

Bibliography in the TOC of a book class without numbering

I'm using a template for a thesis, and it's a book class document. I'm adding bibliography with those two commands: \bibliography{bibliografia} \bibliographystyle{apalike} and it reads the ...
12 views

biblatex defernumbers per refsection

In one refsection of my document the references are grouped into categories by their keywords. Now I want to print the bibliography for every section based on the category of the citation, e.g. one ...
31 views

Makeindex without sorting

Can I use makeindex but without sorting? This question looks peculiar but I would like to use index while the index entries (for example \index{Peace} in the document) are already sorted correctly ...
67 views

Figure next to text in beamer

I can't get my code to do what I want. I'm working in beamer and I want to position my figure on the left side of the frame and the text next to it, but I would like to work with alineas in my text. ...
53 views

Fill the area under minimum of two functions using tikz and pgfplots

I am loading two curves from a file and plot them with \addplot table [...] {the table.txt}; I have managed to fill the area under a single curve, but I want the minimum of the two curves filled. What ...
25 views

How to modify \AtBeginLecture?

I am using beamer to pepare my lectures. I am using command \AtBeginLecture{\frame{some text... \insertlecture}} to insert a tile at the beginning of the lectures. This put the desidered text at ...
23 views

After changing Kate's LaTeX syntax highlighting file, syntax highlighting for LaTeX can not be selected anymore in Kile

I wanted to adapt the Kate LaTeX Syntax Highlighting file (in my case: /usr/share/kde4/apps/katepart/syntax/latex.xml), to have a different highlighting in Kile, as in the answer to disable syntax ...
21 views

Flowing environment alone without static content interaction

I see this My tex \documentclass{article} \usepackage[framemethod=tikz]{mdframed} \mdfdefinestyle{ans}{ linecolor=cyan, backgroundcolor=yellow!20, frametitlebackgroundcolor=green!40, ...
30 views

How to make a change the reference style?

Now, I am using \bibliographystyle{aer}, but the editor asked me to change reference style to fit their journal, which is as follows. Before (based on AER style): Bastos, Paulo and Joana Silva, ...
17 views

How to let hidden line be displayed as dash style in pst-solides3d

I want to draw a tetrahedron and an arrow, and part of the arrow is inside of the tetrahedron. However, I'd like the inside part is displayed as dash line. How to do that? My code does not work. ...
28 views

First of all, sorry about the poor title, but I searched for ten minutes and couldn't find a better one.. I'm using fancyhdr to set some custom headers and footer in my LaTeX document. I'd like to ...
25 views

Aligned and \left \right [duplicate]

The following aligned equation gives an error 'Extra }, or forgotten \right.': \begin{aligned} U&=\mathbb{R}^{M N}\\ V&=\mathbb{R}^{2 M N}\\ W&=\mathbb{R}^{4 M N}\\ ...
22 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 ...
99 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 ...
49 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} ...
34 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 ...
71 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 ...
41 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 ...
70 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: ...
67 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: ...
37 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 ...
123 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 ...
23 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 ...
24 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} ...
50 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 ...
27 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} ...
27 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 ...
42 views

How do I make the paragraph's font-size equal to the default subsubsection font-size?

How do I to make the paragraph's font-size equal to the default subsubsection font-size? \documentclass[12pt,french]{report} \usepackage{babel} ...
15 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 ...
46 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> ...
38 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 ...
27 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. ...
13 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 ...
17 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 ...
89 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} ...
25 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 ...
47 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 ...
164 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 ...
19 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 ...
32 views

How to change font in cm-super?

In our company there are quite crazy rules about document design. I need to use Times New Roman, and when I try to change default font on someone from The LaTeX Font Catalogue, the only change in the ...