# All Questions

1answer
737 views

### How to manage a document with a huge number of PSTricks figures?

I am writing a mathematics book that makes use of a huge number of PSTricks pictures. For the sake of re-usability and maintaining separation of concern, I always put the self-contained PSTricks code ...
2answers
471 views

### How do I contribute to TikZ?

Stemming from this question and with due credits to @morbusg's answer, I was able to create a very fundamental symbol for the circuits.ee.IEC TikZ library, the AC voltage source. I call it the ac ...
1answer
11k views

### No room for a new \dimen when including TikZ [duplicate]

Possible Duplicate: No room for a new \dimen I have a fairly large document which uses 30 or so packages. I was going to add some TikZ graphics, so I added the following to my header file: ...
4answers
1k views

### Which combination of font-size, font-family, font-color, background-color, line-width, spacing make the most comfortable to read?

I am searching for a good combination of font-size, font-family, font-color, background-color, line-width, line-spacing, paragraph-spacing, indentation, tabulation, heading, etc. Which combination ...
1answer
906 views

### How to produce EPS instead of PS using latex.exe followed by dvips?

How to produce EPS instead of PS using latex.exe followed by dvips?
1answer
363 views

### Can I convert a 16 page pdf into an 8x2 matrix in LaTeX?

My graphing program (R) can plot a set of figures out, each on a separate page of the same pdf. Is there a way to convert this into a single 4x4 or 8x2 figure in LaTeX? There are alternatives, but ...
2answers
3k views

### How to Just show \subsubsection numbers

\documentclass{article} \begin{document} \section*{Section1} \subsection*{subsection1} \subsubsection{Another layer of subsection} \end{document} I just want to show the subsubsection ...
2answers
369 views

### Processing the body of an environment multiple times

Dear all, I am new to package writing (LaTeX2e) and to this forum, and I probably read to much of the TeXBook and not enough on LaTeX. My package works, except that verbatim is verboten. Given a user ...
1answer
733 views

### How can I restrict pgfplots plot to an interval manually?

OK, I've plotted these graphs but am unable to stretch the second one, so that they both have the same values on the vertical lines drawn from one to another. I've tried to set domain=0:2200 for both ...
1answer
2k views

### What's the elegant way to spread subfigures on the multiple pages?

Having 3 figures that thematically should stay together in one figure environment as subfigures (I'm using subfig currently), I know that there's no way to allow those pictures to separate over few ...
1answer
14k views

### Is there a bibstyle for the Nature journal?

I'm writing a manuscript to submit to this journal, and I'm using bibtex. Problem is: I can't find any bibliography style files that comply to the demands of the journal. Does anyone know if there's a ...
1answer
5k views

### How do you say Happy New Year with LaTeX?

Title says it all. How do you wish "Happy New Year" to a TeXie? Compile the code below with pdfLaTeX, view it with "PDF Reader" or "Adobe Acrobat Pro" and press the "Happy New Year" button on the ...
4answers
962 views

### How to create hanging bullet?

How can I create 'hanging bullet' (bullet in margin) followed with text. I would like to put it in \newcommand but I'm not managing to do it. I tried this: ...
2answers
185 views

### Is having a strong background in plain TeX a prerequisite to learn how to work with PSTricks or PostScript internal details?

Question has been elaborated in the title.
1answer
3k views

### Triangle node with adjustable height

I'm trying to draw AVL trees with TikZ, what I need is: Binary tree with simple circle nodes, and adjustable height triangle (or rectangle) nodes for subtrees, both containing only single ...
1answer
266 views

### Is there a simpler way to obtain the reference points enclosed by \rput frame?

Is there a simpler way to obtain the reference nodes shown as dots below? \documentclass[dvips,dvipsnames,rgb]{article} \usepackage{pstricks,pst-node,graphicx} ...
1answer
213 views

### How to find the intersection point between the invisible frame of \rput and the line segment of \ncline?

Points enclosed by black ovals are the intersection points between the frame boundary of \rput and the line segment of \ncline. How to find these points? The screenshot above is copied from ...
1answer
2k views

1answer
724 views

### Tabular or two column mode

\documentclass[fleqn,12pt,a4paper]{article} \usepackage{tabularx} \usepackage{multicol} \begin{document} ![alt text][1]\begin{table}[ht] \begin{tabular}{l l|l l} \underline{\textcolor{blue}{Text ...
1answer
1k views

### Code highlighting in ConTeXt

What is the best way to highlight code when using ConTeXt? I am aware of support for specific languages, as described on the ConTeXt wiki, but it seems rather limited at present. I know that we could ...
2answers
3k views

### What is the difference between \fboxsep=1cm and \setlength{\fboxsep}{1cm}?

Question has been written above.
4answers
914 views

### Unequally spaced columns in XYpic

I often need to create a diagram in XYpic where the distance between the columns varies. This is usually when one has a map to some object X where the definition of X is in the diagram itself, like ...
3answers
1k views

### How to pass in a ratio in fractional form?

How to pass in a ratio of 4/15 (instead of its approximated decimal form of 0.266) to table definition. Final solution can be seen here. I need one more vote to close this topic.
2answers
9k views

### LaTeX error: can't write file

I'm using Miktex 2.9 on windows 7 x32, texniccenter as IDE. I encounter an error for a project that worked few days ago: when I compile, I get the message: ! I can't write on file `../preamble1.aux'. ...
1answer
1k views

### Repository of TikZ shapes

TikZ shapes are extremely hard to create – even the documentation admits as much. On the other hand, the selection of shapes that ships with the tikz package is pretty meagre – besides rectangles, ...
1answer
4k views

### How can I draw two loops above a node?

How can I draw two loops above a node? Here is my code: \path (r) edge[loop above] node[left=1pt] {3} (r); \path (r) edge[out=140, in=50, looseness=0.8, loop] node[above=3pt] {4} (r); How can I ...
7answers
10k views

### File extensions of LaTeX-related files

In addition to the .tex and .dvi or .pdf files, TeX/LaTeX/ConTeXt produces and uses lots of other files. What do they do? Which ones are used to create the document and which ones are automatically ...
2answers
480 views

### Can this command be converted to environment?

I have a command as follows: \newcommand{\Comment}[1]{&&&#1\tabularnewline\hline} And now I want to convert it to be an environment as follows: \newsavebox{\tempDescription} ...
1answer
2k views

### How to redefine the color of table rules without interfering the content of its cell?

I attempted to change the rule color of my table to red. Unfortunately, the content in the table cell also got interfered as shown in the following figure. The margin frame rules also became red which ...
1answer
305 views

### Change size of whole set of elements

I am trying to include some gnuplot-generated figures using the epslatex terminal, which creates an .eps file and a .tex file. The way to include these figures in the document is writing ...
1answer
178 views

### Why did my exact calculation still produce small gaps on the most left and right table rules?

I have specified each tabular cell width exactly using formula ##1\linewidth-2\tabcolsep-1.5\arrayrulewidth as shown in the following code snippet: \documentclass[dvips,dvipsnames,rgb]{book} ...
2answers
6k views

### I don't use \centering, but why must I use \arraybackslash in my table?

I don't use \centering or \Centering in my table below. But I will get errors if I don't insert \arraybackslash. Question: What is \arraybackslash for? It seems so mysterious for me. Why must I ...

15 30 50 per page