5
votes
2answers
11k views

pdfpages & includepdf not working

I compiled the following file (through MiKTeX which I have just updated all files), and I do not get the junk.pdf file inserted. \documentclass{report} \usepackage{pdfpages} \begin{document} qwe ...
9
votes
2answers
5k views

Table of Figures

Is there a nice way to include multiple figures in the format of a table? I want it to look something like the following mock-up (pardon my terrible MS Paint skills), and am willing to include any ...
5
votes
1answer
354 views

Why doesn't latexmk handle errors in the preamble?

Today I discovered that if I have an error in the preamble of my tex file then Latexmk produce an error only once. Precisely, for example if my file looks like this \documentclass{article} ...
3
votes
1answer
2k views

Manually installed TexLive on Fedora 16

I manually installed TexLive on Fedora 16 because I need to use tlmgr and install some packages. Now I want to get Texmaker, which I installed with yum, to work with the manually installed TexLive ...
7
votes
1answer
1k views

Remove the header of List of Listings

I'm using classichtesis and I would like to remove the header of List of Listings. Before posting here, I tried the following strategies: The command \renewcommand\lstlistlistingname{}, suggested ...
7
votes
3answers
414 views

unicode-math and braces scaling

I am trying to create a minimal lualatex distribution, and hence try to eliminate as much non OTF fonts as possible (I try to get rid of the .afm, .pfb, .map, etc files to save space). Everything is ...
10
votes
1answer
984 views

How to create a 'fact box' or pull quote that is tied to the margins of your page?

I'd like to accomplish the following: Ut convallis libero in ------------------- urna ultrices accumsan. | | Donec sed odio eros. | "an important | Donec viverra mi quis ...
48
votes
7answers
10k views

What is your favorite Emacs and/or AUCTeX command/trick?

What is your favorite Emacs and/or AUCTeX command/trick? The point here is that I don't know what I don't know. I'm an Emacs and AUCTeX user looking to improve my Emacs & AUCTeX use, especially ...
7
votes
2answers
39k views

Inline equation in latex with text

Hi I want to write an inline equation with some texts like Amplitude = 0.3 * Max_Amp_Of_Signal How can I do it with LaTeX?
7
votes
1answer
829 views

TikZ Region bounded by points

I have a set of points. I would like to "enclose" the points by a region. Since a picture is worth a thousand words: The dots are the points I want to enclose. I want the ability to control the ...
6
votes
1answer
285 views

What is a suitable package for drawing term algebra style trees

I want to be able to draw something like nested triangles that are arranged in a tree-like fashion. Or explicitly, a node of a tree is represented as an isosceles triangle pointed upward. Each ...
9
votes
1answer
2k views

unicode-math and amsmath incompatible

When I compile the following mwe with xelatex, I am told: ERROR: LaTeX Error: Command \dddot already defined. --- TeX said --- Or name \end... illegal, see p.192 of the manual. l.571 ...
4
votes
3answers
3k views

SumatraPDF Inverse Search

I wanted to set the SumatraPDF Inverse-Search option on Inlage, according to instructions on this page. For some reason, my "options" menu ends at "Make SumatraPDF my default PDF reader" and doesn't ...
5
votes
2answers
1k views

Vertical centred alignment of text in table cell

I would like to know how to put vertical centered text inside a table cell. The problem with m column type is that i'm actually using tabularx to auto detect the width of the columns ...
13
votes
5answers
7k views

TikZ Automata Make An Arrow To Nowhere

I have the following TikZ code: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{arrows,automata} \begin{document} \begin{tikzpicture}[shorten >=1pt,node ...
14
votes
2answers
718 views

Error with \foreach in TikZ

In the MWE below \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \foreach \i in {0, 1, 2, 3} \draw (\i, 0) rectangle +(0.5, 0.5); % \draw (\i, 1) rectangle ...
4
votes
2answers
882 views

How to make onecolumn/twocolumn parts in a document class?

I have a simple document class adapted from article, but independent (.cls file). The document is twocolumn, but when I add a title with \newcommand\maketitle{\begin{titlepage}% \begin{center}% ...
6
votes
1answer
2k views

Greek characters in normal and sans serif math mode

Here's a simple demonstration program: \documentclass[12pt]{article} \usepackage[utf8x]{inputenc} \DeclareMathVersion{sans} \SetSymbolFont{letters}{sans}{OT1}{cmss}{m}{sl} \begin{document} \[ x ...
18
votes
1answer
2k views

Remove page number from index entries

My indexed terms are hyperlinks (to external files -- see question listed below), so the page numbers are really not useful information. Hece I would like to be able to remove the page number (and the ...
7
votes
1answer
166 views

How can I prevent a new paragraph between two \input commands?

I want to use the command \input{} to insert two textfiles, text1.tex and text2.tex, into my latex working file. I want these two textfiles to produce one single paragraph when I am compiling my ...
3
votes
2answers
2k views

About some shortcuts used in LyX

Please tell me how to use shortcuts in LyX to implement the codes below $\sum\limits_{\substack{0<k<p\\\gcd\left( k,p\right) =1}}$ Notice that do not use the function of inserting TeX code ...
11
votes
1answer
762 views

Convince employer to use TeX over MS Word [closed]

I would not be surprised if this was closed because it isn't considered constructive. So lets all dispense with the fanboi comments. I have read a few of the posts on this site. I am in a struggle ...
21
votes
2answers
5k views

Highlight a table row with a rectangular overlay

I am trying to highlight the row of a table by drawing a rectangle over that row. A wrinkle is that the code for the table is pre-written from external statistical software and then included in the ...
4
votes
1answer
1k views

Decreasing the outer margin

How can I decrease the outer margin for the pages of my memoir book, without decreasing the inner margin? I want to alter the settings I already have, given here: \documentclass[10pt]{memoir} ...
7
votes
3answers
1k views

Alignment of colorbar with colorbar to name

I am trying to make a group of plots with groupplots sharing the same colorbar and the same y axis. An example: \documentclass{standalone} \usepackage{pgfplots} \usepgfplotslibrary{groupplots} ...
5
votes
0answers
832 views

Problem to print a pdf [closed]

The problem appears with two Lexmark printers. A friend compiled this example of my package tkz-euclide: \documentclass[a4paper]{article} \usepackage[usenames,dvipsnames]{xcolor} ...
3
votes
3answers
954 views

setting section number, etc with counter

Originally, I have these types of numbering: \newtheorem{theorem}{Theorem}[section] \newtheorem{definition}[theorem]{Definition} \newtheorem{lemma}[theorem]{Lemma} ...
5
votes
1answer
2k views

Beamer: increase radius of circle in TOC and include subsection bullet

I am trying to increase the radius of the circle in the TOC of a beamer presentation and include a subsection bullet. The beamer manual states gives an example of \setbeamertemplate{some beamer ...
4
votes
1answer
697 views

How to use string.find from Lua in ConTeXt?

I am trying to make some conditionals with Lua, which check if some text is found within a string. Unfortunately, when I compile it, I get: ! LuaTeX error <main ctx instance>:4: bad argument #1 ...
6
votes
3answers
1k views

amsart.cls capitalizes the article title. How to disable it?

I am writing an article with amsart.cls. amsart.cls capitalizes the title of the article. I looked into amsart.cls and found that \MakeUppercase is used in \maketitle. I tried to turn off this, but I ...
7
votes
2answers
426 views

How to emulate a newline without a <return> char?

This works: a^^M% ^^M% b But a real newline is still needed after %. If I remove the newlines and use a^^M^^Mb The result is just a letter a. It seems that, everything after the first ^^M is ...
8
votes
2answers
531 views

Interaction between \hdotsfor and colortbl: Bug/Feature?

When using package colortbl, the command \hdotsfor fails (partially), leaving too much white space before and after the dotted part. The mwe \documentclass{book} \usepackage{colortbl} ...
4
votes
3answers
3k views

Alignment of the bar labels of ganttbar

The labels of \ganttbar in pgfgantt are right aligned by default (at the border of chart). Is it possible to have it left aligned?
2
votes
1answer
736 views

Hyperlink in Beamer [closed]

I have used hyperlink(say fig.pdf) for my presentation in main pdf. In the fig.pdf I have again used hyperlink to main document. But my problem is when I come back to main document its starting from ...
3
votes
1answer
317 views

How can I horizontally align an image created with psmatrix?

I've got an image created with psmatrix code and I would like to put it at 1/4 of the text width. Using \centering in the image environment it gets too far to the right. I'm sorry but my code is a ...
8
votes
1answer
3k views

longtable multirow problem with cline and nopagebreak

I have a problem using with the package lontable and multirow together. It seems that the \* is not avoiding the page breack, if I'm using \cline{i-j} just afterwards. Here the original code for ...
5
votes
1answer
6k views

How to customize a document class?

In LaTeX, we modify a predefined documentclass to fit our need. I wonder how we can edit the original documentclass (e.g. article) to have our customized properties? I mean which file is responsible ...
9
votes
1answer
535 views

xstring character comparison and \meaning

\documentclass[pdftex,a4paper,12pt,oneside]{book}% \usepackage{xstring} \begin{document} \newcommand{\tmpa}{} \newcommand{\tmpb}{} \newcommand{\tmpc}{} \renewcommand{\tmpc}{abcdefg} \noindent ...
6
votes
1answer
112 views

Macro assignment problem

\docuentclass[pdftex,a4paper,12pt,oneside]{book}% \begin{document} \newcommand{\tmpa}{} \newcommand{\tmpb}{} \newcommand{\tmpc}{} \renewcommand{\tmpc}{tmpc1} \renewcommand{\tmpa}{\tmpc} ...
4
votes
2answers
7k views

Drawing simple edge, no arrow

I have \begin{tikzpicture}[->,auto,node distance=3cm, thick,main node/.style={draw,font=\bfseries}] \node[main node] (111) at (0,1) {$X_{1,1}^{(1)}$}; \node[main node] (121) at (0,2) ...
2
votes
3answers
11k views

How do I embed vector graphics to LaTeX document

I have a vector grahpics file. Could someone please help me embed a image into my LaTeX document ? I have no clue.
5
votes
4answers
1k views

SumatraPDF with AucTeX and Foxit Reader as the default viewer

I like to use Foxit Reader to view PDF's but it locks the file so i cannot use synctex with it. So I'd like to use SumatraPDF with AuCTeX when making my PDF's but still have Foxit Reader as my default ...
2
votes
2answers
12k views

How to make a superscript on the upper left hand corner of a letter? [duplicate]

Possible Duplicate: Left and right subscript How can I make a superscript on the upper left hand corner of a letter?
12
votes
3answers
3k views

Hyperlinks in CV (Resume)

I am trying to write a CV (Resume) and a cover letter in LaTeX. I wish to add hyperlinks so that I can provide easy access to more information on areas I talk about. However, I feel that it might look ...
1
vote
1answer
405 views

Errors when using dot2texi in MikTeX

I receive errors in log file while trying to compile the following code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \usepackage{dot2texi} \begin{document} ...
10
votes
1answer
369 views

Storing and retrieving data in tuc file

I want to store some data in the .tuc file, which is being picked up in the next run. I suceeded in storing some values but I failed in retrieving them afterwards. Here is my attempt: \starttext ...
4
votes
1answer
995 views

How can i change the list of tables heading font

I have to make all the headings with 12 pt.s bold. How can i change predefined headings like list of tables generated with command \listoftables ? (and content page of course) Here is all packages ...
17
votes
2answers
3k views

Beamer: double uncover hides instead of watermarks

When I make a presentation with nested enumerations where each enumeration needs to be animated, the inner enumeration is completely hidden from the slide until its parent becomes visible, while the ...
3
votes
2answers
2k views

Breaking long equation after a certain left bracket

I am typing a long equation which needs to be broken just after the left bracket and three dots are placed at the end of the left bracket same line. Here is an example, in which, I need the third left ...
14
votes
3answers
576 views

The '.is if' handler of pgfkeys

Let us start with an example from the pgf manual, version 2.10, page 495: \pgfkeys{/flat world/.is if=theworldisflat} \pgfkeys{/flat world=false} \def\x#1{% code-A \iftheworldisflat Flat ...

15 30 50 per page