0
votes
1answer
2k views

beamer class on MikTex2.9

I'm having a hard time getting MikTex ready to produce \documentclass{beamer} Documents. The MikTex-package-manager says that "beamer" is already installed. I de-installed and installed it again, ...
0
votes
1answer
967 views

Place a grid of pictures (2x2) with captions

I have 4 photos that I would like to place in in grid on my pages and add a caption to each photo. Does anyone know how to do this?
0
votes
1answer
749 views

display algorithms side by side

This is what i tried, but i can get the algorithms to display side by side. \begin{minipage}{\textwidth} \centering \begin{minipage}{0.48\textwidth} \centering %\begin{algorithm} ...
0
votes
1answer
5k views

Can't find “kpsewhich” on PATH. Textmate+mactex [duplicate]

Possible Duplicate: "kpsewhich" error when trying to build from Textmate Most manuals I have seen on textmate claims that command+B is compiling LaTeX documents, however this ...
0
votes
1answer
176 views

Hyperref levels are embedded, aren't being reset

I'm using the hyperref package with a custom class, and I'm having a problem with hyperref not creating the tree correctly. What I expect to see is this: + Section 1 ++ Section 1.1 ++ Section 1.2 +++ ...
0
votes
1answer
1k views

Need Header Example - For Mirror page (two side print)

Can anyone send example for this code? \fancyhead[LE]{\leftmark} \fancyhead[RO]{\rightmark} \fancyhead[CE,CO]{\thepage} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0pt}
0
votes
2answers
556 views

How to denote a logical matrix (mask) as used in image processing?

Updated Below In my thesis, I am discussing an image processing mask, which is a matrix of the same size as some image but with ones where that image meets some criteria and zeroes elsewhere. I am ...
0
votes
1answer
6k views

Restore the accidentally replaced file [closed]

My .tex file in TeXMaker was replaced by a blank file when I changed the name of the chapter to another name. Is there any way that I can retrieve the old file back? It has much content in it.
0
votes
1answer
165 views

How to align the top frame edges of source and formatted text with the same horizontal line? [closed]

The following code will be referred multiple times in my questions later. Patching is needed to make the frames of both source code and formatted text inside the text width. \documentclass{article} ...
0
votes
1answer
825 views

PGFplot Dimension too large/TeX Capacity Exceeded after reduction in domain and range

In trying to graph the intersection of 3^x and x^3, I was shrinking the domain to properly show one of the intersections. However, once I reduce the domain, I get either Dimension too large, or TeX ...
0
votes
3answers
788 views

Use new fonts in MiKTeX

I'm using MiKTeX and TeXnicCenter and I'm trying to change the font for some parameters in mathematical formulas. Specifically, I would like to use capital letters of font "Libris". Is this possible? ...
0
votes
1answer
500 views

Big table with cells spanning more than one page

I have a huge table that spans across multiple pages. I am using the \longtable to create these tables. Not only is the table huge, there are cells in the table that are more than one page long. For ...
0
votes
1answer
230 views

How should I express my length calculation to minimize rounding errors?

I have an input file as follows. % Test.tex \documentclass{article} \usepackage{pstricks} \psset { linewidth=0.01 } \newcommand\All{0.1} \newcommand\Left{-\All} \newcommand\Right{\All} ...
0
votes
1answer
165 views

Is there a built-in PSTricks macro to get the value of \pslinewidth in the current unit?

I need the value (without trailing unit) of \pslinewidth in \psunit. I have done as follows but I am disappointed with the accuracy. \documentclass{article} \parindent=0pt \usepackage{pstricks} ...
0
votes
2answers
455 views

ntheorem + autoref + aliascnt cause TeX to exceed grouplimit capacity

I'm using MikTeX 2.9. When processing the following: \documentclass{article} \usepackage{hyperref} \usepackage[hyperref]{ntheorem} \usepackage{aliascnt} \newtheorem{lemma}{Lemma} ...
0
votes
1answer
450 views

How to automate a job of changing tags in a bunch of EPS images and convert them to PDF

This post is a continuation to my earlier post here: Creating standalone eps files and using batch files to automate the process Xport gave good answers that work! One goal of this whole process ...
0
votes
1answer
479 views

How to express 72.27pt in terms of \oddsidemargin, \textwidth, … that are subtracted from \paperwidth?

By default, LaTeX appends one inch (72.27pt) to the left (and top) of document. Here I want to prove it as follows. But I missed some other page layout macros to subtract from \paperwidth. % the ...
0
votes
1answer
402 views

Problems with error message when using listings-package and inputenc.

I want to include the code of some script in my LaTeX document. In a "minimal" example, it works perfectly well - but only if I leave out the line \usepackage[latin1]{inputenc}: ...
0
votes
1answer
211 views

How can I shift individual cells in XY-pic without shifting the corresponding row/column?

I'd like to create a figure using XY-pic in which one cell actually spans two rows (like \multirow). Should look something like: 1,1 1,3 BIG 2,1 3,3 With arrows from 1,1 and 2,1 to ...
0
votes
1answer
101 views

Space for generated text

Throughout my PDF document, generated text on the end of the line is spilled out to the margin. That is, if I use, e.g., \ref{} or \cite{}, then LaTeX does not consider the actual size of the ...
0
votes
1answer
567 views

Why does my EPS header have % Produced by xpdf/pdftops 3.02pl4?

I have a simple input file contains PSTricks code as follows. % sample.tex \documentclass[cmyk]{minimal} \usepackage{pstricks} \usepackage[paperwidth=144bp,paperheight=108bp,margin=0bp]{geometry} ...
0
votes
1answer
113 views

How to prevent my PSTricks codes from interfering the imported EPS files?

My main input file not only contains PSTricks codes but also imports EPS images produced by epstool from standalone PSTricks input files compiled with dvips input.dvi -E -o output.eps. I am worried ...
0
votes
1answer
358 views

Prevent a paragraph break before a section heading

How can I prevent a paragraph break before a section heading? To prevent it after, I know that I can use runin like \titleformat{\section}[runin]{\Large\bf}{\thesection\quad}{0pt}{} However, how ...
0
votes
1answer
125 views

Subsection destroys ToC in PDF

in my thesis I have an abstract, the toc and then the content. The content sections start again with 1. When I add a subsection at the content section, the toc of the PDF is destroyed and shows ...
0
votes
1answer
485 views

Removing the borders from algorithm listings [duplicate]

Possible Duplicate: Removing the borders from algorithm listings I am relatively new to Latex. If I use standard algorithm and algorithmic for my algorithm listings I'm getting the borders ...
0
votes
1answer
912 views

the new template doesn't work well

I was going crazy with the LyX and MikTeX configuration for a new class,I think I have done it matching the step! but None I get here what i've done: Get a copy of the class file, and copy it ...
0
votes
1answer
338 views

revtex reporting underfull hbox at every newline

So I'm working on a seminar, and I was wondering, why revtex, every time I make newline after a paragraph (\), reports underfull hbox warning? I mean, everything looks fine once in pdf (I would expect ...
0
votes
1answer
1k views

How to padding the content of a block in beamer presentation

I search the internet and get a nice redefinition of the block environment of beamer. It has the ability to set the width of the block, instead of always spanning the whole page. ...
0
votes
1answer
500 views

'fi' or 'fl' result in big “S”-like symbol

I use LyX with XeTeX, and the output font is DejaVu Sans. When I write in the input text 'fi' or 'fl', the output text displays a strange big "S"-like symbol. I don't know why is that. Any help would ...
0
votes
1answer
756 views

Creating multiple columns of different width

I'm pretty new to LaTeX and am using it to write an exam. I'm using the geometry package to create two columns. I'd like one column to be 5" and the second column to be 1" with 0.5" separating the ...
0
votes
1answer
1k views

BBL file withTeXlive 2010 not generating

I just installed the TexLive 2010 package on Win XP and using the TexnicCenter editor. I linked the executables to the BIN directories. Compiling with latex.exe and with pdflatex.exe works well, but ...
0
votes
1answer
177 views

How can I replace parts of an included PDF file?

I'm using pdflatex and \epsfig{file=img.pdf}. I'd like to replace some text in img.pdf. It seems that psfrag can do this with latex, and there is mention of pstools doing this with pdflatex, but it ...
0
votes
1answer
287 views

Error with article(Noweb) in LyX 2.0.0

When I tried to include an R plot with the following code into article(Noweb) in LyX 2.0.0 <<fig=TRUE>>= library(graphics) pairs(iris) @ I got the following error message: ...
0
votes
1answer
799 views

Enumerate within a longtable

I have been looking through a couple questions, but cant seem to find the answer to my question. I am trying to create a two column table that spans several pages consisting of two enumerate ...
0
votes
1answer
159 views

Setting the text of a small chapter more compact

Is there any way to force latex to put text on the same page, but not spreading it over more than one page? I have a chapter which is about 1 1/4 pages long. Latex sets it very sparsly. I would ...
0
votes
2answers
6k views

Latexmk: Citation 'XXX' on page YY undefined [closed]

When I compile my document using latexmk.pl I get warning for every citation: Latexmk: Citation 'XXX' on page YY undefined The citation appears in the References at the end of the document, but at ...
0
votes
1answer
97 views

Hints wanted on scanning pictures from books

I am writing a book proposal in LaTeX. It will have a lot of graphics, most of which I will create, and I know how to deal with those. But I have gotten permission to reproduce some pictures from ...
0
votes
1answer
515 views

How to mod a counter's value? [closed]

I think Custom calendar using TikZ is useful!
0
votes
1answer
929 views

Matrix equation and \notag

My problem is related to the following "equation": \begin{align} \left( \begin{matrix} \shat{X} \notag \\ \shat{X}' \notag \\ \shat{Y} \notag \\ \shat{Y}' \\ \end{matrix} ...
0
votes
1answer
377 views

Layout drawing in XeLaTeX

Could somebody help me, please, is it possible to make this layout drawing in XeLaTeX?
0
votes
2answers
2k views

generate a PDF containing R output inside latex table

I wrote a script that generates 4 variables from 2 for loops, each one of them contain a big number of data. I want to place these variables inside a data frame and then create a latex table so I can ...
0
votes
1answer
349 views

What functions does 3dplot support for parametricfill input

I used 3dplot for tikz-pgf to draw an ellipsoid. Now I'd like to color the surface in dependence of it's mean curvature (I have calcuated this function.) But 3dplot does not seem to support sin and ...
0
votes
1answer
381 views

On Windows 7 install mktexpk places fonts under \users\userid…

I have an installation of Texlive on a Windows 7 system. TEXMFHOME is set to C:/texlive/whb/texmf. When I run mktexpk --mfmode cx --bdpi 300 --mag 1+180/300 --dpi 480 cmr12 it finds the fonts in the ...
0
votes
1answer
2k views

currvita, multibib & scrbook - multibib does not work

I need a list of own publications inside a c.v. which is an appendix to my actual document. I'm using currvita for a simple c.v. and I'm trying to employ multibib as suggested in the currvita manual ...
0
votes
1answer
411 views

setspace kill the \flushbottom, how to make the sep between footnote item equal that in normal text

I want double spacing, but then sep between footnote item is strange. I use setspace package, but it kill the \flushbottom mechanism. Is there a method after I set \linespread{2}, the footnote text ...
0
votes
1answer
392 views

Slanted curly brace to upshape, and \dagger, and so on

Imported from http://www.tug.dk/FontCatalogue/anttor/ \documentclass{article} \usepackage[T1]{fontenc} \usepackage[math]{anttor} \begin{document} $\{\sin x\mid 0<x<\pi\}$, $A\dagger B=C$. ...
0
votes
1answer
950 views

Table works for one page, but not for multiple

I have a longtable, that is inputted to the main-file using LTXTable, but it does not work, when the longtable is more than one page long. The latex-code for the table can be found here: ...
0
votes
3answers
4k views

BiBTeX in WinEdt

I have a problem. Using WinEdt try to make my bibliography with the bibtex file. But get the following message This is BibTeX, Version 0.99c (MiKTeX 2.8) The top-level auxiliary file: ...
0
votes
1answer
217 views

Which one should be chosen for making a transposition of matrices: `fourIdx`, `leftidx`, `tensor`, `subsupscripts`, `mathtools`?

I want to get a transposition symbol of matrices like ^t(1 2 3), as title. I used the macro \prescript (in mathtools) at present. There is no any problem occured, these packages' macros work well. I ...
0
votes
1answer
332 views

Query on the \pageref command

I am trying to use the \pageref command and although it seems to work appropriately and finds the correct page number, for some reason (unknown to me..) it causes big spaces before and after the page ...

15 30 50 per page