# All Questions

3k views

### Tikz clip shapes with another (built in) shape

I have some geometry that I need to clip. I would like to use the built in node shapes like diamonds, stars, etc... http://www.texample.net/tikz/examples/node-shapes/ Basically I use standard tikz ...
195 views

### Can I hook into the end of the document but *after* the \clearpage?

The code for \enddocument begins: \def\enddocument{% \let\AtEndDocument\@firstofone \@enddocumenthook \@checkend{document}% \clearpage \begingroup I'd like to put something after ...
2k views

### Section number and name in italics

Note that I "inherited" a preamble that I would like to adapt: \documentclass[a4paper,12pt]{book} \usepackage{amsmath, amsthm, amssymb} \usepackage{fancyhdr} \pagestyle{fancy} ...
167 views

### Can I use the bend command in my coding?

\begin{tikzpicture}[scale=1, every node/.style={draw, shape=circle,fill,scale=0.5}] \path (0,0) node (p1) {} (-1.5,-1) node (p6) {} (-1.5,-2.5) node (p5) {} (1.5,-2.5) node (p3) {} (1.5,-1) node (p2) ...
73 views

### Normalized coordinates for image overlays in TikZ [duplicate]

Possible Duplicate: Simplest way to overlay a text + rectangle label an image? Drawing on an image with TikZ I read the following in the TikZ manual: There are different ways of ...
4k views

### File Encoding and Input Encoding

In order to avoid cluttering other related questions, I separately make this question. If I use Notepad as my editor, there are 4 encoding options available when saving the TeX input file: ANSI, ...
4k views

### Centered box, text inside it flushed right?

I have some text (like a title), that needs to be centered, and some notes to it (multiline - note 1 \\ note 2), which should be directly underneath it and on the left side of it: Some ...
74 views

### Embedding fonts in an image [duplicate]

Possible Duplicate: Ligatures in figures and pdftex I have a PDF image file, which has been included in my document with \includegraphics{thefile.pdf} The PDF has a Type 1 font embedded ...
2k views

### Strange blank page between abstract and ToC

I am puzzled by a blank page appearing between my abstract and ToC. Since I'm using the report document class, I am not expecting LaTeX to insert any blank pages. Here is a MWE showing the problem: % ...
322 views

### Math operator resizing in autosized brackets

I want to define a new command to format \mathbb{E} in the same way as \sum - same size in display/inline formulae, and same treatment of sub/superscripts. The following seems to work... ...
728 views

### What are the avaliable font sizes in texlive?

I'm using texlive 2010, and I'm trying to design the layout for a document in plain tex (because I need the document and also I want to learn tex). The input is the following \font\fifteenrm=cmr15 ...
9k views

### How to make nodes to simple dots instead of being named

I currently have the following code: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=1] \tikzstyle{every node}=[draw,shape=circle] \path (0,0) node (p0) {$p_0$} ...
3k views

### Table caption very skinny

I have a table like this: \begin{table} \centering \begin{center} \begin{tabular}{c|c|c|c} Data set & Image size & Hole size (pix) & Total time\\ \hline Mailbox & 459 $\times$ 489 ...
1k views

### Importing CSV table - Error [closed]

I am new to LaTeX and am compiling a document right now using TeXworks. I am trying to create CSV tables into my document right now, and although I succeed in between I must have some small bug in the ...
2k views

### Glyph not defined in PD1 encoding, removing \H'

I've got the message when I try to convert my project into pdf: Glyph not defined in PD1 encoding, removing \H' on input line 73. I use MiKTeX 2.9 with TeXnicCenter 1.0. What does input mean? ...
1k views

### Micro symbol µ in lstlisting

I'm writing a report about a website I'm working on to play cards online. I use lstlisting to display my PHP, JavaScript and HTML code. The problem is that I'm using a lot of µ's in my JavaScript ...
707 views

### How to get global equation numbers in scrrprt? [duplicate]

Possible Duplicate: Continuous v. per-chapter/section numbering of figures, tables, and other document elements When I insert an equation in whatever environment I like in my scrrprt ...
2k views

### Removing document icons from a Bibtex bibliography in Beamer

I'm preparing a Beamer presentation that includes (on the final slide) a short bibliography in the Harvard style (agsm). This works fine, but I find the article icons accompanying each reference ...
2k views

### How to change vertical spacing in TOC between section entry and only the first subsection entry in each section?

I am using article class and tocloft package. Does anyone know how to put a space (for example of size "22pt") between a ToC section entry and only the first subsection entry in every section. ...
420 views

### Taking user input during compile

Deeply inspired by Paulo Cereda's answer on the ways TeX can be used apart from document creation. If you haven't seen the program mentioned: it's a Reversi TeX game that during the compile asks the ...
489 views

### In which order is Lua Code in LuaTeX being processed

Can someone help me understand the order in which LuaTeX documents are being processed? From what I've understood, the order is the following: the code is being read, top to bottom when the ...
659 views

### Arabxetex: how to type eastern arabic numerals

how can I type eastern arabic numbers (or so called arabic indic) via arabxetex? http://en.wikipedia.org/wiki/Hindu%E2%80%93Arabic_numeral_system http://en.wikipedia.org/wiki/Eastern_Arabic_numerals ...
636 views

### How to make all figures float on the outer margins of two-side document?

I want to make a double-sided problem booklet that contains several questions. Each question has a distinct number and may have zero or more figures. Each figure has a caption and floats on the outer ...
614 views

### Automatically capitalise the first word in each sentence

I'm writing a report together with another person, and he often neglects to use a capital letter at the start of each sentence. Is it possible to get LaTeX to correct this automatically instead of ...
223 views

### How to convert a scientific manuscript to MS Word for a coauthor review [duplicate]

Possible Duplicate: Workflow for converting LaTeX into Open Office / MS Word Format I am a scientist and an (almost) average Windows 7 user. I like to use LaTeX (MikTeX with Texmaker) to ...
747 views

### How to align equations when some inside are gathered

I have a set of equations where some are coupled with a brace and some text. I want all the equations aligned. Something like the following ASCII art: S = LR L = Ls \ | for s in {a, b} ...
77 views

### Making a table in LaTeX [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned How to influence the position of float environments like figure and table in LaTeX? I want to insert a table ...
6k views

### Package repository down, how to relocate?

I would like to use the function of TeXnicCenter 1.0, where is automatically downloads missing packages used. The problem is, that the repository it wants to download from does not exist anymore (the ...
4k views

### How to indent a block in beamer?

I am creating a presentation using Beamer with the Hannover template. Here is one slide from the presentation: \begin{frame} \frametitle{Vision(Image Acquisition \footnotesize contd.. \large)} ...
969 views

### How to have the same counter in two enumerate lists? [duplicate]

Possible Duplicate: Resuming a list I want to have an enumerate list which is broken in the middle by some text. What I have at the moment is something along the lines of this, ...
1k views

### Explanation of code using \titleformat [closed]

I am writing a project in latex and to make my output pdf look more fancy i am using a "Fancy chapter headings with TikZ" code found here http://texblog.net/latex-archive/layout/fancy-chapter-tikz/ ...
646 views

### Print zeroes in a sparse matrix in a lighter color

For a report I need to print some sparse matrices as full matrices, so that means that there are a lot of zeroes. If I print them in the same color as the meaningful entries, it doesn't look very ...
2k views

### Custom divider between 2 minipage and lstlisting

I am using the following code to have 2 boxes beside each other for code comparison: \documentclass[12pt]{article} \usepackage{listings} \begin{document} \begin{singlespace} ...
3k views

### In what ways can TeX be used beyond document production?

Most people use TeX and its many varieties to create printed documents, such as reports, books, flyer's, etc. Occasionally, I have found software that uses TeX markup for other purposes, for e.g., the ...
2k views

### How to disable null device while usin dev.off() in R and latex?

How to disable message null device when using R and latex. <<echo=FALSE ,results=tex>>= data<-read.table("test",sep="\t",header=TRUE,check.names=FALSE) ...
1k views

### Partially transparent text box

I am trying to make a poster using beamer. Can any one please reply me, my question is: How can I make my boxes partially transparent so that my background will be visible through the boxes?
3k views

### Two-column text with circular insert

How does one write on the outside of a circle? I am looking for sample files/packages which imitate a magazine lay-out. Specifically a page with two columns having a circular picture between the two ...
3k views

### Word 2010 on typesetting math [closed]

I tried to find that online, but all I found was: "Word bad, (La)TeX good! Word ugly, (La)TeX pretty!". I want an honest take from someone who used the new Math system in Word 2010, preferably who ...
631 views

### How can I draw a landscape picture using PSTricks?

I need to draw a figure using PSTricks which is quite a bit wider than than it is long. Is there anyway I can draw a pic like that in a landscape mode? Right now my pic starts at the top of a regular ...
10k views

### How to check if a macro value is empty or will not create text with plain TeX conditionals?

I have a macro which holds some text value, e.g. \macro{some text}. If it is empty, I would like for nothing to appear in the document, but it has some content of any kind which would produce text ...
57k views

### Insert image and list inside a table

I am trying to add both an image and list inside a table but I face various problems. As shown in the picture, the image is above the first horizontal line and also the lists are not properly ...
533 views

### Placing an image with caption at the bottom of the page in XeLaTeX?

I need to create a figure an place it at the bottom of the page (figure includes the image and some caption text). Is there a way to do it? I tired using figure environment, but it sends my image all ...
902 views

First post and certainly a tyro at LaTeX. Thanks to all those who have made this site such a helpful resource. I'm using the memoir class to typeset a novel, and would like to have the Table of ...
1k views

### TikZ: position of node with shorten-option

I have the following Code \draw[style={shorten >=-1cm}, dashed] (C) -- (CENTER) node {NAME}; Is there a simple way to position {NAME} at the end of the "shortened" line? If I use the code above, ...
737 views

### How to do a 'printline' in LuaTeX

I have just started exploring the world of LuaTeX and wanted to write a piece of code, that prints a name to a new line in the document. \directlua{ for i=1,3,1 do tex.print("FOO") end } which ...
1k views

### biblatex: How to omit “p.” at \cite?

I'm using \cite[1]{A01}. The result is Author 2001, p. 1 The desired result is Author 2001, 1 How do I achieve that? I'm aware of biblatex: How to remove the parentheses around the year in ...
253 views

### Including sections of source code as a listing, while being robust to source code edits

Is there a way to input particular sections of source code using \lstinputlisting (from the listings package) in a flexible way? It's possible to use the firstline and lastline options to input ...
359 views

### Trouble typesetting pgfplots with context (mkiv)

I'm trying to typeset the minimal pgfplots example from the Context Wiki but with no success. Context-Wiki Example \setupcolors[state=start] \usemodule[tikz] \usemodule[pgfplots] \starttext ...