5
votes
0answers
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} ...
2
votes
3answers
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 = ...
6
votes
1answer
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: ...
4
votes
1answer
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 ...
5
votes
3answers
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 ...
8
votes
1answer
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 ...
1
vote
1answer
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?
4
votes
1answer
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 ...
5
votes
0answers
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} ... ...
6
votes
1answer
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 ...
5
votes
1answer
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 ...
2
votes
1answer
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, ...
4
votes
1answer
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 ...
2
votes
1answer
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 ...
11
votes
2answers
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} ...
4
votes
1answer
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 ...
6
votes
1answer
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 ...
2
votes
1answer
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 ...
7
votes
1answer
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} ...
2
votes
2answers
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 ...
40
votes
2answers
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?
0
votes
2answers
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 ...
4
votes
2answers
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 ...
3
votes
2answers
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. ...
2
votes
1answer
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, ...
8
votes
1answer
342 views

How can I get just the table of contents to take the full page width?

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 ...
2
votes
1answer
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% } ...
6
votes
1answer
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 ...
16
votes
0answers
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. ...
6
votes
1answer
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 ...
3
votes
2answers
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 ...
6
votes
1answer
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} ...
4
votes
1answer
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 ...
2
votes
1answer
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 ...
4
votes
0answers
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 ...
15
votes
1answer
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, ...
1
vote
1answer
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 ...
3
votes
2answers
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} ...
14
votes
2answers
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 ...
3
votes
1answer
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?
5
votes
1answer
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 ...
2
votes
0answers
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 ...
8
votes
1answer
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 ...
5
votes
1answer
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 ...
4
votes
1answer
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 ...
10
votes
2answers
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 ...
3
votes
1answer
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 ...
1
vote
0answers
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, ...
1
vote
1answer
199 views

svmono with 'draft' causes lstlistings to produce no output

Why does the following produce no output? \documentclass[draft]{svmono} \usepackage{listings} \begin{document} \begin{lstlisting} theorem :: GROUP_10:14 for G being finite Group, p being ...
4
votes
2answers
532 views

Dummy's solution for using of accent from one TTF glyph in another

I am making a document with the Josefin Sans font in LaTeX (using XeLaTeX). However, a pair of symbols I need (Žž) is missing there; I get just an empty space in PDF. I have no idea at all about ...

15 30 50 per page