5
votes
4answers
254 views

Why can I not vertically align the text in the 3rd table column?

I'm trying to make a table which lists some math functions. I've been searching the net on how to center the equations in the cells both vertically and horizontally. And I think I've found an answer ...
7
votes
2answers
494 views

Auto-generating tables using etoolbox

I have a particular problem which I am trying to solve using etoolbox, but I can't figure out how. What I'm trying to do is to auto-generate a table based on information from a previous table. This is ...
8
votes
2answers
569 views

minipage is wider than I wanted

Occasionally, the width of a minipage environment seems to be ignored. I've not kept accurate records of when this has happened. But below is purely illustrative code that shows the issue. \...
4
votes
2answers
642 views

Are three boxes inside a box possible?

I am making a yes or no question inside a box and I have difficulty on creating the command for it. Would you mind to help me make something that will output this:
10
votes
2answers
411 views

How to create command for a box where text inside the box can automatically adjust?

I have a problem on how I can make my command right. I created a box where the text will be inside it when used but something went wrong when I prolong the text it turn out like this: Code: \...
11
votes
1answer
4k views

Space between bars, height and width of the plot

I'm using pgfplots to generate bar plots from data files. Here's MWE: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ ...
1
vote
1answer
138 views

How to find out the right citation style?

I am trying to find out which citation style fits my demands best for my bibliography. As I am writing for a german science institution and using many german sources, I intented using jurabib My ...
3
votes
1answer
240 views

Unwanted symbol ă in tabular environment

I am trying to create a table using the tabular environment using this code snippet: \documentclass{article} \begin{document} \begin{table} \centering \begin{tabular}{|l|l|} ...
23
votes
1answer
8k views

How can I make a bold horizontal rule under each section title?

I want to place a long bold \hrule-type line under the \section to make it more distinctive. How can I do that?
5
votes
1answer
384 views

Can I avoid page numbers in a report document with openright?

I have a report class and I dont want to switch it. If I use the openright option, I have the problem that empty pages are labled. Before taking the "openright" option out and inserting empty pages by ...
5
votes
0answers
469 views

Problem with rotation of pattern in tikz [closed]

Consider the following example. Why does the pattern not rotate correctly both for the tikz rotate and for the rotatebox approach. How can I fix it? \documentclass{article} \usepackage{tikz} \...
4
votes
1answer
637 views

Command for automatically inserting wordcount in document?

I am using LyX, and I was wondering if there is any ERT Command for automatically inserting wordcount in a document? I am on Windows.
2
votes
1answer
632 views

Longtable continues into footer

I am using the longtable package to span tables across multiple pages. However sometimes (to me randomly, however so far only i quite complex documents) the longtable doesn't break like intended, but ...
1
vote
0answers
53 views

Modifying biblatex @inbook bibliography, remove Ed. by and change ordering [duplicate]

Possible Duplicate: Biblatex, JEA style I'm using bib latex for managing my bibliography, I did some adjustments and so far I'm quite pleased with it. When I add an @inbook source to my bib-...
7
votes
1answer
7k views

Why does \cal{M}_n give “M>”?

Why does \cal{M}_n give “M>” in parts of my LaTeX file and works correctly in other parts?
7
votes
1answer
588 views

Insert Text between “List of XXX” Heading and Actual Listing

I would like to insert a small paragraph of text between the "List of Figures" heading and the actual list of figures, and also between "List of Listings" and the actual list of listings. I am using ...
16
votes
2answers
2k views

How to align nested cases?

Please consider the code bellow: \begin{align*} function = \begin{cases} case1 &\mbox{if } n = 0 \\ \begin{cases} case2 &\mbox{if } n = 1 \\ ...
2
votes
1answer
1k views

Adjusting features of a pgf plot

I have the pgf plots below, where it doesn't appear well. I wish to put closer the "Solving Time(ms)" and y axis, put the font size smaller how should i do it? There is also a problem for ...
1
vote
1answer
89 views

How to change the order in natbib´s short citation?

I´m using natbib with the apalike style. When using the short citation \citet[p. 22]{Testauthor98} it shows me Testauthor (1998, p. 22) What do i have to do/change in order to get the ...
6
votes
1answer
1k views

“Dimension too large” for pgf plots

I have code below which complaining "Dimension too large", what is the problem? And I want to zoom in the 99.8-100 rather than using log scale for y axis, how should I do it? \documentclass{article} %...
1
vote
1answer
732 views

Making an edit to an inline equation that went off of the screen

I'm using LyX, and I want to make an edit to an equation. Since the inline equation is really long, it continues off of the screen. I'm literally in the dark when I try to edit my work since I cannot ...
5
votes
1answer
906 views

How to align right this long table?

I have a longtable. This is my code \documentclass[12pt,a4paper]{article} \usepackage{amsmath,amsxtra,amssymb,latexsym, amscd,amsthm} \usepackage{indentfirst} \usepackage[mathscr]{eucal} \usepackage{...
2
votes
1answer
103 views

skipbib without BibLaTeX

Is there any way to use skipbib or equivalent in regular BibTeX with natbib and without using BibLaTeX?
4
votes
1answer
278 views

multicolumn display for partial list of table

I have a file with some consecutive tables one for each month. The listoftables takes up too much space when it lists each table entry on a separate line. I can use multicols to have a two column ...
1
vote
0answers
75 views

Formal Writing Style Correction on Latex [duplicate]

Possible Duplicate: How to perform advanced spell checking of latex documents? Microsoft Word has a nifty property of style correction, where it can find phrasal verbs, passive voice and ...
7
votes
2answers
2k views

Caption on side by side matrices

I have two matrices side by side, like this: \[ \left[\begin{array}{cc} a & b \\ c & d \end{array}\right] \qquad \left[\begin{array}{cc} e & f \\ g & h \end{...
5
votes
1answer
203 views

Automatic assignment of references to bibliography categories depending on origdate or date

I'm using biblatex-chicago with the author-date option. I love biblatex and biblatex-chicago and appreciate the work that has been put into it. I have a small question, however. I usually divide my ...
1
vote
0answers
455 views

tikz foreach used for number in filename for addplot [closed]

I have quite a few tables generated which I want to plot in the same TikZ figure (using pgfplots). I am currently trying to use a foreach loop to plot them all, but it is only plotting the last figure....
5
votes
2answers
790 views

About web2c, c code conversion

I'd like to convert some Tex-and-friends code to C, so that I can play with modifying it. As I understand it, the process is: (1) The tangle utility converts foo.web to a foo.p (Pascal) file, and ...
4
votes
1answer
498 views

change to xeCJK under TeXLive 2012, since 2011?

Beginning in the late Spring of 2011, I have been using a few lines of code regularly in all my documents, making it possible to produce documents with regular Roman text, IPA, and all (or nearly all) ...
7
votes
1answer
3k views

Can I use latexmk -C for cleaning up only, and compile with another tool?

Can I compile my document with other tools and use latexmk -C only for cleaning up? One application could be to use it then in the clean: section of a Makefile that uses pdflatex for make pdf.
15
votes
3answers
436 views

Coloring Arab suffix without losing connection

How can I change the color of Arab word endings without losing the connections? It's just ugly and loses readability. I'm using Tex Live 2012: arabxetex with xelatex but any package and/or engine is ...
4
votes
1answer
2k views

Different font (family and size) for one (cover) page

I would like to make a package for a title/cover page which should use a predefined font, whereas the document in which the package is loaded and used (used by using a command that generates a new ...
4
votes
1answer
1k views

Editing .bst file to modify printing of publisher and address information

I'm lost in some bst hell. Basically I'm trying to get Springer's spbasic.bst file to work. I'm almost there, but there are few annoying issues. First, instead of getting Address: Publisher, I get ...
4
votes
1answer
360 views

How to move a phrase in a resume template?

Here is some template CV in LaTeX: http://www.rpi.edu/dept/arc/training/latex/resumes/ Consider template number 9a (source). I want to move the name to the left, write "Resume" in the middle, and put ...
13
votes
3answers
13k views

How to create and include .tikz files in your manuscript?

Recently, I learnt about the matlab code matlab2tikz. The output of this code is a .tikz file that can be used, I guess, alongside standard figure packages with a simple line \input{mysphere.tikz} in ...
3
votes
1answer
437 views

Referring an equation inside a theorem

I have theorems which LaTeX numbers and then some equations inside and outside theorems that LateX has numbered. When I refer to an equation inside a theorem statement then LaTeX is referring to it ...
0
votes
1answer
919 views

File `mparhack.sty' not found

When I want to compile my tex file it throws this: ! LaTeX Error: File `mparhack.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Enter file ...
3
votes
1answer
354 views

xelatex select local math font

The problem I am facing is that I am typesetting with MinionPro-Regular.otf as the main font and MinionPro-Cn.otf for the captions. However I have to declare only one math font for the whole document, ...
7
votes
1answer
815 views

Period after last author name in biblatex when terseinits = true

My reference style requires author initials without period-space but between the author list and year there should be a period, e.g. Cho JC, Kim MW, Lee DH, Kim SJ. (1997). Response of bacterial ...
7
votes
1answer
746 views

Programming with pgf arrays : how to create an array?

I am trying to do some automatic drawing in tikz. The point is I want to be able to provide the minimal quantity of information to my macro, and still have it work. More precisely (but without ...
12
votes
1answer
2k views

Tikz tree and position of single leaf in binary tree

I am constructing a binary tree which looks as follows: \begin{tikzpicture} \node {root} child { node {left} } child { node {right} child { node {rightmost} } ...
6
votes
1answer
2k views

AUCTeX, preview-latex, and Ghostscript (Emacs)

I'll keep this short and sweet; Emacs can't find gs, which has been installed via brew and works fine. Error PDF2DSC sentinel: Searching for program: No such file or directory, gs MWE \...
3
votes
2answers
230 views

LinuxLibertine destroys biblatex's supercite [duplicate]

Possible Duplicate: superscripts with xelatex? (footnotes, natbib) i want to use \supercite with biblatex. It works fine, unless I switch to LinuxLibertine. The font messes up the '...
4
votes
1answer
180 views

\sum_i acts as \sum\limits_i but just sometimes

The code part looks like this \begin{equation} \frac { \left(\sum_i r_{ik}x_{ij}\right) - \mu'_{kj}\left(\sum_i r_{ik}\right) + (\alpha-1)-\mu'_{kj}(\alpha+\beta-2) ...
9
votes
2answers
278 views

Three emdashes bound together

In many bibliography styles repeating authors are indicated with three emdashes, forming a single line. This works well with some fonts, while for others it leaves gaps: \documentclass[a4paper]{...
0
votes
1answer
950 views

TeXLive with custom location does not find “biblatex.sty”

I am using Ubuntu 12.04 and installed TeXLive 2012 via download. I did not use the packages provided by Ubuntu. Since I don't have enough space I installed TeXLive to another partition. However, LaTeX ...
2
votes
1answer
196 views

How to display a visual marker on the last overlay

Is it possible to display a visual "marker" on the last overlay of every frame? I want to know when an overlay "ends" before I go to the next frame.
16
votes
3answers
494 views

(Why) Can't we get 'fully expandable' versions of every command?

I'm just starting to figure out what 'expandable' means in LaTeX, and why it is useful to have commands that expand as far as possible. In particular: If you want to \typeout some string to the log ...
0
votes
1answer
116 views

Appendix as regular \chapter; Appendixes as \section within Chapter-Appendix but with \alph chapter number [closed]

I'd like to have something like this 1. Chapter 1 1.1. Section 1.1 1.2. Section 1.2 2. Chapter 2 ... 7. Appendix A. Appendix 1 B. Appendix 1 Im trying it like this: \chapter{Chapter 1} \...

15 30 50 per page