# All Questions

436 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 ...
567 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} ...
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?
753 views

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 ...
326 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 ...
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 ...
7k 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 ...
555 views

### xstring character comparison and \meaning

116 views

### Macro assignment problem

8k 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) ...
13k 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.
2k 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 ...
14k 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?
4k views

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 ...
428 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} ...
386 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 ...
1k 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 ...
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 ...
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 ...
632 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 ...
877 views

### reflexive arrow

$$\begin{array}{c} \ovalbox{A} \\ \uparrow \downarrow \\ \ovalbox{B} \\ \uparrow \\ \ovalbox{C} \end{array}$$ (The fancybox package is used here, so that \ovalbox{B} appears as a capital B in ...
1k views

### Line breaks within a figure environment in memoir

I am trying to set up the following layout on a figure in a document typeset with the memoir class:                             ...
857 views

### Getting larger horizontal dots

I was creating some graphs related to sets in latex (cartesian graphs, arrow graphs and directed graphs). Now I noticed that \Huge\vdots will produce larger than normal vertical dots (although I still ...
1k views

### Koma-script, change chapter appearance (how to add a circle and horizontal ruler?)

I'd like to get the chapter names formatted as shown below: with a horizontal ruler between the circle and Chapter name, for both numbered and non-numbered chapters (I work with the ...
15k views

### BibTex - Show ISBN number?

Is it possible to show the ISBN/ISSN fields of books with BibTeX? For instance, I have the following entry on my .bib file: @book{QueueSystems, author = "Leonard Kleinrock", title = ...
3k views

### Plot and label data from file with PGFPlots

Given some data from a file, I would like to use the first two columns as coordinates, and the second two columns as label for every point. The data is given in this form: x y ...
292 views

### Enriching \to^*

I am trying to enrich $\to^*$ with a $w$ above it, and the cleanest look I could get was with the {\smash {\overset w \rightarrow}}^* command. However, I believe this to be a pretty ugly solution, and ...
182 views

### How to remove font information at the head of page 1? [closed]

I set TeXLive 2011 on my MacBookPro. In my preamble I have: \usepackage{fontspec} \setmainfont{Hoefler Text} \newfontfamily{\sbl}[Script=Hebrew]{SBL Hebrew} When I compile with xelatex I get at the ...
944 views

### Turkish characters to uppercase

I can't make uppercase of turkish characters like Giriş Tex converts it to GIRIş instead of GİRİŞ.. It's making me crazy. %this is mwe i guess \documentclass[12pt,a4paper]{article} ...
733 views

### Incorrect figure numbering when using subfloats in a subfloatrow

I have a document with a lot of subfigures which are different heights and need to be placed side-by-side and centered vertically. It seems like the floatrow package is ideal for this. After much ...
1k views

### Switch Between Bibliography and Appendix in fancyhdr

What I am trying to accomplish is a fancyhdr that places Appendix or Bibliography in the header with one single definition. So if I am in the bibliography it should display Bibliography, but should ...
1k views

### mdframed-Put something on the start of one vertical left rule

I would like to obtain something like in the following picture (I've put Z! instead of the danger symbol). In the following code, I would like to put the danger symbol on the vertical rule. I ...
363 views

### Typesetting one symbolic coord differently than the others

In my plots, I have one bar (labelled dummy below) whose tick label needs to be typeset differently. Here's my current attempt (and minimal example), which doesn't quite work yet: ...
1k views

### glossaries, glossary-longragged: problem with redefining \glossaryentryfield

I'm encountering a weird problem when changing my list of acronyms from the long to the longragged style. This is an example for illustration: \documentclass{article} ...
2k views

### PDF file containing 3D object is not included correctly with \includegraphics

I have a PDF file, containing a 3D object in PRC format. I try to include this into a LaTeX document to be compiled with pdflatex, with the simple source below: \documentclass{minimal} ...
60 views

### Spacing going crazy [duplicate]

Possible Duplicate: How to prevent the paragraphs to spread out over the page? When I try to put some tables in my document I get lots of white space between the section (which I am ...
23k views

### sectionname + number in header with fancyhdr

I want to have section name + number on the left side in the header, and a predefined text on the right side. Also want to have subsection / subsubsection name + number, if the subsection is long ...
4k views

### page numbers should be of the form 4/7 [duplicate]

Possible Duplicate: How can I add “page # of ##” on my document? While submitting Test paper in LaTeX, I was asked to display page numbers as current page number out of total ...
3k views

### alignment of multicolumn cell

Consider this table \begin{tabular}{lr@{}l} Bla & \multicolumn{2}{c}{A $\to$ B} \\ \hline X & 23.1&* \\ Y & 7.5& \end{tabular} which produces The second column ...
147 views

### LaTeX document in multiple languages [duplicate]

Possible Duplicate: Is it possible to keep my translation together with original text? I am working on my resume (CV). I maintain an English and Danish version of it. Right now, this is two ...
838 views

### Symbolic coordinates with commas

How can I use symbolic x coords={} with commas as decimal separators? For example, I need to use symbolic x coords={0,1.5,1.3}, which gives full stops as decimal separators. Using use comma does not ...
3k views

### How to save variables

I need to change 'hyphenpenalty' in some parts of my document, but I have no idea how to properly restore a previous value after that. For example: \hyphenpenalty=10000% \@starttoc{toc}% ...
258 views

### How to set the width of the label of a description to the width of a string of text in ConTeXt?

I am using \startdesc{} to create a label and description environment, e.g.: \startdesc{(label)} This is some text in a sentence. \stopdesc \startdesc{(another label)} This is some more text ...
1k views

### Incorrect plot with pgfplots and gnuplot

I'm attempting to plot atanh(x) although there seems to be a giant straight line linking the top and bottom points. Am I doing something wrong? \documentclass{standalone} \usepackage{pgfplots} ...
1k views

### tikz, tikz circuits, relative coordinates

I am trying to draw a dimensioned line, <---- 2 cm ---- > in the x, and y directions on a circuit diagram. Using absolute coordinates, there is no problem. However, the display is faulty using ...
2k views

### How to plot three-dimensional polar functions with pgfplots

I would like to plot the following functions with pgfplots: I know how they are defined: \sqrt{r}\sin\frac{\theta}{2}, \sqrt{r}\sin\frac{\theta}{2}\sin\theta, \sqrt{r}\cos\frac{\theta}{2}, ...
803 views

### How to locate rejected index enteries

Some of my index entries are being rejected for some reason. How do I determine which index entries were rejected? For instance if I uncomment the \def at the top of the MWE below I see the message ...
60 views

### TikZ in (sub)section title [duplicate]

Possible Duplicate: How to add a tikz/pgf command to section command I would like to add a tikzpicture to a section title using: \newcommand*\circled[1]{\tikz[baseline=(char.base)]{ ...