5
votes
1answer
739 views

Tufte-LaTeX clobbers my list of theorems

when using the "article" document class I can make a "List of Theorems" like so: \documentclass{article} %\documentclass{tufte-book} \usepackage{thmtools} \newtheorem{theorem}{Theorem} ...
1
vote
1answer
1k views

How to align middle-align text in a parbox?

I am trying to add a frame around a text which would be centered and vertically aligned to the middle of the box but I can only center the text. What should I do to align the text to the middle of ...
1
vote
1answer
104 views

Title in tables with linebreaks and proper gaps

I want my table headers to be centered, aligned at the top & without any manual adjustments. After alot of searching i was able to achieve most of it. As u can see i still have the problem that ...
3
votes
1answer
1k views

Controlling placement of figures in text [duplicate]

Possible Duplicate: How to influence the position of float environments like figure and table in LaTeX? How does one manipulate the placement of figures within text? I can't seem to ...
4
votes
1answer
907 views

Linenumbers with lineno (edtable) breaks inside threeparttable because of caption

I'm trying to show linenumbers for tables using lineno, i.e. edtable. The table is set using threeparttable and linenumbers work fine, but compilation fails when including a caption. The error message ...
2
votes
1answer
1k views

knitr with TeXworks

There is a great piece on Yihui's site about using knitr with TeXShop. Taking some time for some self indulgent curiosity here. Is there a way to use knitr as an engine in TeXworks?
3
votes
0answers
38 views

first line of section/subsection has no indentation [duplicate]

Possible Duplicate: How can I indent the paragraphs which follow a heading? \tableofcontents \pagestyle{empty} \newpage \section{intro} ...
6
votes
1answer
3k views

Using the beamer style Berlin

This package makes my beamer presentation go all blue with those dots at the top which tell you which section and subsection I am on, right? Thing is, when I make my presentation, compile it and then ...
4
votes
1answer
652 views

Example figure placement

I am using the following code in an example file. \documentclass{book} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{figure}[h] ...
5
votes
1answer
638 views

TikZ callout pointing to nested nodes

In the following MWE I want to create a TikZ callout pointing to a node within a node. The outer node is for the highlighting environment \tikzMe the inner node is for the \tikzmark. Somehow I do not ...
4
votes
1answer
2k views

siunitx S column does not align numbers without dot

I have a table that uses the S column type provided by siunitx. Unfortunately, if a number does not have a . it is not aligned properly. Yes, i could write number. but then the table will list the ...
1
vote
0answers
154 views

Continue alignment to new page when using enumerate [closed]

I would like to keep the sentence starting in Let w to be inline with the (ii). It is a continuation of the (ii). However it gets aligned with 2(b) instead. I am using enumerate to get 2b and ...
0
votes
1answer
449 views

texlive using installed fonts, incomplete ifx

I have a problem with using a font in LaTeX. I installed the font via the installfont-tl script but cant use it to create the document. When I add the \usepackage{$fontname} I get an error which I ...
3
votes
1answer
650 views

Creating a circular shade with an intermediate color

I need to draw a circle that represents a density that's constant up to a certain value of radius, then begins to descend. What I mean, is something like this: \documentclass[12pt]{article} ...
3
votes
3answers
2k views

Vertically align cell table in figure

I have the following figure: \begin{figure}[ht!] \centering \begin{tabular}{|c|c|} \includegraphics{combo} & \includegraphics{combomenu} \end{tabular} \caption{A combo box ...
16
votes
3answers
3k views

Setting up RefTeX with biblatex citation commands

How do I setup RefTeX with biblatex's citation commands? In Workflow for managing references? Seamus describes a workflow with RefTeX and mentions that it wouldn't be too tricky to add \autocite ...
2
votes
1answer
311 views

Current section header for article class

In the article class, is there a way to obtain, in each page, the header displaying the name of the section with the number of the page? I need the same visualization like the book class.
5
votes
1answer
346 views

Strange movement of objects when highlighted item in beamer is uncovered

Can anyone explain to me why there is this strange "shift" of objects when passing from the first to the second slide in the below MWE? \documentclass{beamer} \usepackage{beamerthemeshadow} ...
4
votes
1answer
459 views

New command based on command name

I had this idea that would save me a considerable amount of time in writing my thesis. Here's the deal: I need to typeset lots of equations with vectors and matrices in them. I'd like my vectors in ...
9
votes
1answer
301 views

Store results of a calculation automatically under a new macro name

As I am now accessing values from tables via a macro to make dynamic references in the text (see here) and make calculations with it, I need a way to make the resulting variables under which the ...
6
votes
1answer
176 views

Why does pdflatex stall when called by NIS Users?

I ran into a very strange problem recently: I'm administrating Mandriva Linux in a networked setup where users authenticate via NIS. We noticed that pdflatex simply stalls with no error messages and ...
3
votes
1answer
298 views

Recreating a renewenvironment using the \renewenvironment is creating a side effect!

I have a buildin environment in a module theorems-ams-bytype.inc (in lyx) example, which i copied and created a duplicate with required changes for a environment called as pitfall. Style Pitfall ...
4
votes
1answer
611 views

Package conflict between eso-pic and wallpaper

The following code gives me a conflicting options message. Does anyone know if there is a way to fix it? \documentclass[10pt,landscape]{article} %\input{this-preamble} \usepackage{wallpaper} ...
14
votes
2answers
1k views

How to insert Greek letters directly in math environment?

Why are non-Latin characters not displayed in formulas, even when using XeLaTeX? \documentclass{article} \usepackage{xltxtra} \begin{document} $\omega$ %displyed $ω$ %not displyed ...
2
votes
2answers
261 views

Inserting RTL text in verbatim environment

How I can insert Persian text in verbatim environment when using XePersin package ( v11.138, 2012/05/03). Following code dose not work: \begin{verbatim} <!DOCTYPE book PUBLIC "-//OASIS//DTD ...
2
votes
1answer
286 views

Connecting two nodes in tree rectangular

I want to draw a tree like this: The closest I could get to this was the following code: \documentclass{minimal} \usepackage{tikz-qtree} \begin{document} \begin{tikzpicture} \tikzset{level ...
4
votes
1answer
518 views

Issues when using inverse/forward search with vim and xdvi (linux)

I am using vim 7.3.35 with the vim-latexsuite on ubuntu. After googling around I managed to setup forward/inverse search with xdvi by adding the following to my .vimrc: let g:Tex_CompileRule_dvi = ...
6
votes
1answer
753 views

Getting vdots in graph tree

\documentclass[12pt]{article} \usepackage{amsmath} \usepackage{tikz} \tikzstyle{vertex}=[auto=left,circle,fill=black!25,minimum size=20pt,inner sep=0pt] \begin{document} \begin{tikzpicture} ...
9
votes
1answer
5k views

How to reference a patent with BibTeX?

What is the best entity to use with BibTeX in order to reference a patent or patent application?
16
votes
1answer
1k views

Remove spacing above section in titlesec

I'm writing a document optimized for mobile usage, and as such I want to conserve my space. The spacing that titlesec adds to sections, subsections, etc. is getting somewhat annoying. Is there a ...
8
votes
1answer
752 views

Highlighting double backslash using listings with texcsstyle

I've got a question (it's in the title) about listings that I do not believe have been answered anywhere (either that or my Google-fu isn't that sufficient). Before I knew of texcsstyle's star option, ...
9
votes
1answer
1k views

Why doesn't \renewcommand{\ref}{\autoref} change \ref into \autoref?

First off, I'm very grateful of the help this community has provided me so far. Anyway, to my problem: I feel like I'm missing something obvious here. I want... \documentclass{article} ...
3
votes
0answers
432 views

biblatex supercite wikipedia style with postnotes as footnotes [closed]

What i want to achieve is a wikipedia style citation (like so Biblatex supercite command with use of square brackets (like a reference style in Wikipedia) ). At the same time (to handle the problem ...
0
votes
1answer
11k views

Mac OS LaTeX install not compiling bibliography

I have recently installed LaTeX on my Mac using the standard MacTeX package. I have 2 documents (my thesis and a paper I'm writing) and I have tried to compile both. Neither will compile the ...
6
votes
1answer
861 views

adding equations gradually to beamer highlight (hf-tikz)

I am trying to highlight equations of a linear program starting from buttom and add constraints to the highlight. Here is my MWE: \documentclass{beamer} \usepackage{lmodern,amsmath,amssymb} ...
4
votes
1answer
1k views

Extend a frame to two pages

I am using beamer to create slides for presentation. I am trying to put 4 equations with numbers from 1 to 4 in two pages. in short, how can I extend a frame to two pages?
2
votes
1answer
2k views

customizing moderncv \section title style

I would like to customize \section style in order to have the following title (forget the horizontal line) : I imagine that I need to modify the following definition: ...
7
votes
1answer
1k views

Conflict: kluwer and amsmath

When I try to use the document class kluwer together with amsmath there seems to be a conflict. Is is possible to avoid this conflict? I have tried to add \let\iint\noexists before loading amsmath as ...
3
votes
1answer
243 views

Setting Knitr options

The following code chunk doesn't work I get an error message and it disrupts the compilation of my document. Not sure if anyone has any ideas? Very M WE below. As @Speravir pointed out, not sure it ...
3
votes
0answers
3k views

How can I install the qtree package? [closed]

I want to draw trees in my document. After downloading the qtree.sty file and place it input the working folder, but when I add this: \usepackage{qtree}, LaTeX still complaint: ! LaTeX Error: File ...
4
votes
1answer
567 views

Special characters in bib entries using biber/biblatex [closed]

I'm having problems to get URLs with special characters in biber/biblatex to work \usepackage[T1]{fontenc} \usepackage[swedish]{babel} \usepackage[utf8]{inputenc} ...
4
votes
1answer
257 views

How do I put a note after an image into an itemized environment?

Following the question How do I insert a full screen picture inside an itemized environment?, I was able to insert an image into an itemized environment. Now I would like to put comments on my slides ...
4
votes
1answer
269 views

multicolumn display for partial list of table

I have a file with some consecutive tables one for each month. The listoftables takes up too much space when it lists each table entry on a separate line. I can use multicols to have a two column ...
1
vote
1answer
734 views

Beamer: fade and zoom in \xymatrix environment

I am preparing a presentation in Beamer. I have the following diagram \begin{frame} \begin{figure}[h!] \centerline{ \xymatrix{ & *+[F-,]{\txt{Text 1}}\ar[dl]\ar[dr] \\ *+[F-,]{\txt{Text 2}} ...
3
votes
1answer
17k views

URL package installed but cannot be found by pdflatex [closed]

I recently installed a full version of TeXLive 2012 (around 3.2 GB installation). Following is a simple LaTeX code that I am unable to compile: \listfiles \documentclass{article} ...
10
votes
2answers
2k views

How to include eps files in Plain TeX? [duplicate]

The title stands for itself. If it is not possible, how does LaTeX import an EPS file using \includegraphics?
2
votes
2answers
475 views

Auctex block indent

Is there a way to block indent whole paragraphs in emacs + auctex? I'm thinking in that functionality in such editors as WinEdt. I've search in different fora, and in the available documentation, ...
5
votes
1answer
514 views

kpathsea and path prefixes

On page 27, the kpathsea manual states: [A search path is a colon-separated list of path elements.] ... To check a particular path element e, Kpathsea first sees if a prebuilt database applies to ...
1
vote
1answer
171 views

Manipulating list items

Is there a way to get the n'th element of a list, e.g. an enumerate? Itemize, enumerate and others are all wrappers for the list environment, defined in the LaTeX kernel. Regardless of the existence ...
6
votes
3answers
850 views

Unable to make symbol similar to bowtie or lrtimes

I wish to write something like this in latex: I tried using \lrtimes and also \bowtie, but none is able to give me the correct output. Also, i had problems getting that {task1} below the symbol. ...

15 30 50 per page