# All Questions

463 views

### Trying to make an automatic histogram (in pgfplots?) [closed]

How can I convert the automatic table generated by the macro, to an automatic histogram? Is the best way do it using pgfplots? \documentclass{article} \RequirePackage{ifthen} ...
617 views

### Help me to debug long LaTex equations with errors

I want to learn debugging of long LaTeX equations like below: \$\tau=\int\frac{dt}{\gamma} = \int\sqrt{1-\frac{v(t)^2}{c^2}}dt = ...
261 views

### My symbols are rendered as ff. Have I ran out of memory?

I have been trying to solve a 4x4 matrix and have done a hell a lot of writing. Now I am near the end and I am not getting the requested output out of the LaTeX compiler. When I write for example: ...
1k views

### How to install “TeX Gyre Schola” font for MiKTeX?

I've followed the guide: http://www.tug.org/fonts/fontinstall.html and downloaded the font files from: http://www.ctan.org/tex-archive/fonts/tex-gyre/ Now there are 72 .map files under the map ...
239 views

### Example Numbers with Labels

I have, in my article, some examples that look like this: \begin{center} Lorem ipsum dolor sit amet, consetetur \\ \emph{sadipscing elitr, sed diam nonumy eirmod tempor invidunt} \\ \emph{ut ...
4k views

### \lstinputlisting for a normal text file?

sometimes im using \lstinputlisting to show some code examples in my pdf. Now I just would like to insert a normal textfile. Everything is fine, I like this box around my text and the numbers every ...
154 views

### Aligned equations

I want to have aligned equations going vertically down a page. How do I get this style? Instead of the following: $x_1 + x_2 + x_3 x_2 + x_4 + x_5$ What how should I do this?
844 views

### aligning equals as well as plus signs

From this question we know that aligning the equal signs in A = B = C D = E = F is done by using alignat, not align. If we have instead A = W + M = C B = i + \iota = D how can the equal signs ...
792 views

### MathJax vertical space + too thick fraction lines [closed]

When I use MathJax, sometimes the fraction lines got a different thickness (below imgage). Why? Another question is how to increase the vertical space between the lines, because in \begin{align} ... ...
201 views

### ConTeXt: Styling pagenumbers in registers

I'm using some description paragraphs as definitions for some concepts. I want to add them to my register and typeset their pagenumbers in bold numbers (to recognize where is the definition). The ...
742 views

### Generate box with content in header

Halo everyone, I intend to create the one as shown in the attached photo as the header of my document using TeX but I can't seem to get it right. Either my box are distorted or they can't be balance ...
293 views

### Strange result in the bibliography with @misc

I'm writing a paper for an Elsevier journal using the template the provide. For the bibliography I'm using the style model1-num-names. I have a reference with the following bibtex: @Misc{SCA, ...
200 views

### Specify location from which a line starts in pstricks

I have a problem with the following code. The lines from h6 and h7 are supposed to start right below h6 and h7 and not at the left of h6 and h7. This worked with tree-dvips but pstricks seems to ...
172 views

### Recover TeX source from automatically generated LaTeX files

Maybe the question can not be exactly understood from the title. So, to automate things a bit, instead of rewriting everything when adding different pictures and tables, code was made to add ...
1k views

### Microtype warning with lmodern package and KOMA-script

With a simple document \documentclass{scrreprt} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{microtype} \usepackage{lmodern} \begin{document} \chapter{Test test test} ...
860 views

### Alignment of nodes and scopes in tikz matrix?

I am trying to fix the positions of the arrows of the following diagram without much success. I would like the arrows to be centered (both horizontally and vertically) in the matrix cell no matter ...
5k views

### Position text next to rectangle in TikZ

Consider the following TikZ code: \filldraw[fill=black!40!white,thick] (0,1.5) node[above left] {start} rectangle (3.2,2) node[below right] {end} node [midway] {cp} ; It produces a rectangle at the ...
1k views

### Multicols: use all vertical space before moving to a new column [duplicate]

Possible Duplicate: How do I force TeX to completely use the 1st column? I am using a three-columns template to create cheat sheets: \begin{multicols}{3} ... \end{multicols} When there ...
530 views

### Stop my class passing options on to article class

I have a class file which declares some options. One of them is called draft. This places a watermark on all pages that says DRAFT. \DeclareOption{draft}{ \RequirePackage{draftwatermark} ...
235 views

### How to arrange / align / place pictures and text, to form a given headline?

I tried to solve this with tables, but the alignment didn't turn out good. And because I am very confused, if I should even use a table aproach or a minipage or a tabspace, I wondered, if someone ...
12k views

### How do I write a recurring decimal in LaTeX?

Title says it all. Since I am a newbie, I don't know how to do this. Any help?
135 views

### suppress expansion in macro call

What I would like is to suppress the expansion of the group as a parameter to a macro so that it can be expanded later. For example we want to pass the paramater unmodified as a string to lua or to a ...
1k views

### Avoid eps to png conversion using mk4ht oolatex

I have a big set of eps images and I need to place them into an OpenOffice (odt) document. I wrote a simple script that creates a tex file containing these eps images and now I'm trying to convert it ...
104 views

### why my pic was changed by un-used tikzstyle

In a joint file, my picture was changed by some un-used global tikzstyle, which is added by other. Here is a minimal example. The output dots become bigger if I un-comment the commented line. ...
147 views

### How can I shift ymin to zero when values are near to zero?

How can I shift ymin to zero when values are near to zero? I also try ymin=0 command but it does not work. \begin{figure}[h] \centering \begin{tikzpicture} \begin{axis}[ ybar, ymax=4, ...
342 views

I am using the template provided from http://hci.rwth-aachen.de/karrer_thesistemplate for my master thesis. The template is built so that there are margin notes at each page and is using the book ...
715 views

### Cannot manipulate nodes in tikz

I am using the following code \documentclass[11pt,a4paper]{book} \usepackage{tikz} \usepackage[american voltages, american currents]{circuitikz} \usetikzlibrary{% calc,% fadings,% shadings% } ...
180 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 ...
18k views

### The fontspec package requires either XeTeX or LuaTeX to function [closed]

I am not an expert in LaTeX, but I was writing a paper, everything was going fine, until it suddenly crashed giving me the error: The fontspec package requires either XeTeX or LuaTeX to function. ...
786 views

### automatic enumerate numbering from a specified item number

Is there a way that I can start an enumerate numbering at, say 17, then have the succeeding item numbers automatically add 2 to the preceding one? Say, I want to typeset the answers to the ...
565 views

### adding row numbers to a pgfplotstable

I've had a look at the attached answer Automatic table row numbers but I'm not sure how to apply it to pgfplotstable. I'd like to get automatic rownumbers on my table so I can apply formatting by row ...
1k views

### How to insert math with curly brackets into tikz decoration text along path?

I was going to write along an arc some math expression with curly brackets. Somehow the following snippet causes pdflatex to freeze. \documentclass{article} \usepackage{tikz} ...
845 views

### Color-bar - surf plot

I have a surf plot as shown below. However, the markings on the color-bar are in steps of 0.05. Instead, I want the markings to be in steps of 0.25. How should I go about doing this? Below is the ...
948 views

### Jabref — entries imported from jstor still marked as incomplete

When I import references from either the jstor website or through jabref front end, they all show up as red (i.e. incomplete). Specifically, "Journal title" is not present in the required field. The ...
723 views

### How to configure Okular so that I can locate the line approximately correct, when in forwardPDF [closed]

I am using Kile editing my tex files, with Okular for viewing the dvi and PDF files. And I can search the source file from PDF fairly well. I have configured Kile as follows in order to highlight the ...
2k views

### adaptive \ldots with no (“…”) spacing

Due to the typographic traditions I'm used to, I prefer my \ldots to have no spacing in between, ideally exactly the same amount as in text. In math mode I would like to write things like \(1, 2, ...
243 views

### How can I plot 2 figures around a node using tkz-collection in a single tikz picture?

Usually I can specify a node location relative to location of another node, e.g., using left of and alike \usepackage{tikz} \usetikzlibrary{positioning} ... \matrix (first) [left of=arrow, matrix of ...
229 views

### hyphens in index entries

If I write: \index{axioms!Zermelo–Fraenkel} LaTeX generates axioms, 184 ZermeloFraenkel, 203, 208 How do I stop the hyphen from disappearing? EDIT: MWE... \documentclass{article} ...
37k views

### How do I draw a tilde in math mode? [duplicate]

Possible Duplicate: How does one insert a backslash or a tilde into LaTeX? I have tried using \text{\~{}} to draw a tilde in math mode. However, this only produces a superscript tilde. I ...
340 views

### How do I change subsection labeling?

The following code produces 1 next to Foo and 1.1 next to Bar. \section{Foo} \subsection{Bar} How do I produce 1 next to Foo and 1a next to Bar? And 1b for the next subsection, and so on?
2k views

### Aligning equations with align*

I wanted to align a set of equations to left. I found on the Internet that you can do it easily with align* environment. I found it here: http://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics So ...
41 views

### TeX Live directory structure [duplicate]

Possible Duplicate: LaTeX, package documentation look-up This information must be somewhere on the Internet, but I am not able to Google it ... I am using amsmath with TeX Live (Ubuntu in ...
539 views

### Row with invisible cells

Is there any easy way to obtain something like this in LaTeX? My guess was to try to make the first and third cell of the first row invisible, but then I lose the right and left border of the Main ...
899 views

### How to enlarge title font size of nomenclature

I use these codes (in preamble): \usepackage{tocloft} \renewcommand{\cfttoctitlefont}{\LARGE\bfseries} That used for customize the font size of "Table of Content" to be LARGE (about 18pt). So that ...
359 views

### Can I remove the last leaf line in tikz-qtree?

I've got \Tree [.CP [.TP [.NP [.D the ] [.N woman ] [.CP [.TP [.NP [.N who ] ] [.VP [.V stole ] [.NP [.D my ] [.N necklace ] ] ] ] ] ] [.VP [.V entered ] ] ] ] which gives me a nice tree, but the ...
356 views

### Automating the height of a drop cap initial

How can I modify the following macro to automatically have the initial with the height indicated in the picture? \documentclass{article} \makeatletter \RequirePackage{tikz} \newlength\CLett% Nuova ...
235 views

### Is there a way to quickly jump to a given section/chapter in TeXnicCenter?

Is there a way to quickly jump to a given section/chapter in TeXnicCenter? I am coming from TeXShop on Mac, and there was a "tag" drop-down menu which had a list of all sections/chapters (as well as ...
41 views

### Binary Logarithm Function [duplicate]

Possible Duplicate: Define additional math operators to be typeset in roman Math mode provides different functions to use in formulas like \sin, \cos, \tan or \log. According to Wikipedia, ...