9
votes
2answers
457 views

Detect space before a footnote

I'm in the middle of proofreading TeX source for a book, and have found a couple of places where a stray space has slipped through before a footnote mark. Is there any automated way of scanning TeX ...
8
votes
0answers
506 views

Comparing many maths fonts [closed]

I'd like to produce a document comparing all of the different bb (blackboard bold) fonts available in LaTeX. symbols-a4.pdf gives is what I will assume is a comprehensive list: The problem is ...
3
votes
1answer
496 views

Adding impact factor information into apalike.bst

I am trying to add impact factor information into the apalike.bst. So far, I changed the apalike.bst as follows Firstly, I added impact_factor into the ENTRY section and created a new function ...
9
votes
3answers
498 views

Is it possible to make an underfull tabulary spread out?

With this MWE \documentclass{article} \usepackage{tabulary} \begin{document} \hrule \begin{center} \begin{tabulary}{\textwidth}{|L|L|L|} foo&bar&baz \end{tabulary} \end{center} \...
32
votes
6answers
2k views

Is it possible to write all mathematical formulas in a separate file and add them in main file on-demand?

Consider this scenario: I have a report to write and I want to write all mathematical formulas in a separate file and then add them in the main report file on demand (i.e. include/import/add/call a ...
3
votes
2answers
4k views

How can I replace a box of text with beamer?

I currently have this piece of text for a quiz: \begin{frame}{Quiz} \begin{block}{Frage} With generics the compiler has more information about the types of the objects, so ...
6
votes
1answer
1k views

different font while using url

I'm having troubles while using the url command in my bibliography. I mean: 1) \bibitem{[8]} {\url{http://projects.webappsec.org/w/page/13246989/Web20Application20Security20Statistics\#...
2
votes
1answer
1k views

How to make an article's table of contents clickable so it can redirect to a section?

I'm using Mixtex 2.9 in Windows XP and I'm trying to make my article's table of contents clickable. I tried to add the package hyperref like this: \usepackage{hyperref} \hypersetup{ colorlinks, ...
3
votes
1answer
364 views

Modifying the font head and size inside \section in emacs editor

I am running Emacs 23 with AUCTeX for editing LaTeX source files. I'd like to be able to customise the font head and size of the section name. To make things absolutely clear, the font inside the \...
16
votes
1answer
279 views

How to read a stream of tokens up to one of two different delimiters

The core question How can I process text delimited by one of two terminators? For instance, if I want to process text up to the next \A, I can just write \def\CmdA#1\A{...} But suppose that \A ...
5
votes
1answer
1k views

Resume numbering the footnote

I use the following piece of code to put something as my footnote (borrowed from a friend). {\let\thefootnote\relax\footnotetext <text> } But what happens is after putting this, any further ...
8
votes
2answers
449 views

utf8 characters

I would like to include the output of the npm list command in a latex verbatim block: jeroen@jeroen-ubuntu:~/Desktop$ npm install d3 jeroen@jeroen-ubuntu:~/Desktop$ npm list /home/jeroen/Desktop └─┬ ...
5
votes
0answers
86 views

Controlling the scope of \label and \ref [duplicate]

Possible Duplicate: Can I re-use section labels across chapters? Is there a way to control the scope of the command \label and \ref? In document chap1.tex, I declare the label \label{lemma} ...
6
votes
2answers
5k views

Name clash, “\ifpdf is already defined” between JHEP3.cls and ifpdf.sty [closed]

You might be interested that there seems to be a clash between JHEP3.cls version 3.1.5 (from http://jhep.sissa.it/jhep/help/JHEP/TeXclass/tools_JHEPlog.html) and the ifpdf package. I think both ...
15
votes
2answers
1k views

Scope of \addfontfeature

I have encountered something while using fontspec that I do not quite understand. What is the scope of a font feature added using the \addfontfeatures command? For instance, consider the example below ...
2
votes
0answers
195 views

Typeset Like Jackson's E&M [closed]

I was wondering if there's a package or style to match that of Classical Electrodynamics by J.D. Jackson (there is a multiple pages preview). His integrals are almost vertical and everything related ...
0
votes
1answer
200 views

Restrict Table to be on left column of the page

I am working on a document with a two column structure, Currently my right side column is empty and the table on my left column is spilling to the right column. How can I restrict table to be on the ...
10
votes
3answers
230 views

\expandafter and counters not playing nicely

My google-fu has finally failed me... I'm trying to write a package that will allow you say \addauthor{name, email} several times and have the title page properly formatted. Here is a minimal example ...
8
votes
1answer
276 views

Brace from {cases} environment disappears after rowcolors*{1}{…}{…}

I use rowcolors*{1}{...}{...} to color a table, then I use it again (with white as arguments) to reset the color. After that, braces look weird (they disappear slightly). If I use scrbook, book, ...
7
votes
2answers
561 views

Add label to right-angled connector -

I'm try to add a label to a right-angled connector in a TikZ figure. Below is the code I'm using: \begin{tikzpicture}[every node/.style={minimum height={1.5cm},thick,align=center},node distance=2.5cm,...
15
votes
1answer
929 views

Google Docs' PDF viewer

I downloaded the cm-super package and for comparison, created 5 versions of my document with different fonts: Computer Modern CM-Super CM-Super with microtype Latin Modern Latin Modern with ...
10
votes
1answer
301 views

How to include list environment in “titlepage”

I've bee writing my own class for meeting notes, and I want to have an fbox with everyone who has attended the meeting, preferably in a list (itemize or my own custom list). Is there a way to do this ...
0
votes
1answer
182 views

Does anyone know the name of this template?

Although I like LaTeX, I am a bit bored of the default template and would like to use something looking more like this: http://www.ens-lyon.fr/DSM/SDMsite/M2/stages_M2/Debierre2012.pdf Does anyone the ...
17
votes
3answers
1k views

square root of number in counter

I would like to get the square root of a number which I have stored into a counter. I have been using the calc package for summation and multiplication operations, but I cannot find anything like \...
3
votes
1answer
188 views

installed package not running

I have TexShop installed on my Mac and I need to use the Slovak language in my LaTeX documents. Through the TexLive Utility, I found out that I have collection-langczechslovak installed, but when I ...
8
votes
2answers
2k views

Customize section numbering in TOC

I'm working with report class and I would like to customize headings of chapters, sections and subsections, abvoe all the look of numbers before their respective headings, both in the text and in the ...
5
votes
1answer
216 views

Bad rendering of OrnementsADF

With the code (typeset with XeTeX) \font\orn="Ornements ADF" at 12pt \centerline{\orn\char70\quad\char57\quad\char102} \centerline{\orn\char102\quad\char57\quad\char70} \centerline{\orn\char70\quad\...
4
votes
0answers
81 views

LaTex Pgfplots Two axes 1 legend [duplicate]

Possible Duplicate: Using a pgfplots-style legend in a plain-old tikzpicture I'm trying to accomplish this: I have a plot with two y-axes. The first y has two plots, the second has one. I ...
4
votes
0answers
89 views

How to search for the commands in TeX [duplicate]

Possible Duplicate: Where do I find out how a command/environment is defined? Macro find tool When I am reading the other's LaTeX codes, I always find new commands I have never read before ...
6
votes
1answer
360 views

Horizontal array of enumerated equations

This is for use in work assignments for math students. I'd like to post multiple parts for a given question, without sacrificing too much space for this. So I want a bunch of equations arrayed ...
11
votes
2answers
477 views

Wrong place for hyperref link in scaled tikz picture

I have a TikZ picture with a node containing a minipage with an itemize environment; each item is a hyperref to other sections of the document. When scaling the image (for example with \begin{...
1
vote
0answers
35 views

Hiding and revealing interlaced paragraphs [duplicate]

Possible Duplicate: Commenting out large sections I am writing a document and I want to prepare two versions. Version 1 will contain the 'text'. Version 2 will contain the 'text' as well ...
7
votes
1answer
154 views

Including external notes to a latex document

I'm often writing scientific papers in collaboration with other authors, using a versioning system (mercurial) to manage the writing. When one of the authors wants to add a remark, we use a slightly ...
11
votes
1answer
4k views

List of figures: numbers overlap image caption

I have many images in a part of my document, now the list of figures numbers collide with its respective image caption as seen below. There would be enough space to move the text a bit more to the ...
9
votes
1answer
712 views

TikZ shadings and printing incompatibility

I would like to use some effects provided by the shadings library of tikz. More specifically, I am trying to use the ball and radial shadings (tikz 2.10 manual, p. 412-). The resulting pdf looks ok ...
13
votes
1answer
1k views

$\epsilon$ undefined using Minion Pro with pdftex

I'm using MiKTeX 2.9 and have recently installed the Minion Pro fonts for use with pdftex. I followed the instructions available on CTAN to install them. Everything works as expected, but in place of ...
22
votes
1answer
4k views

Correct way to use include and includeonly when writing a large document like a thesis

I am writing a large document with several chapters and I would like to work on each chapter separately. In my main.tex I include the chapters either like \include{chap1.tex} \include{chap2.tex} \...
12
votes
2answers
1k views

How to cut a surface at the intersection with another surface in Asymptote?

In the code below, I define a cylinder (as a surface of revolution) and a plane (as a cyclic path). From both, I can get a surface that renders in 3D. Now, I would like to hide (or better remove) the ...
8
votes
2answers
523 views

Enumerate with a range of numbers in an item's label

I am preparing an outline of lectures for a course. Some topics will take more than one lecture. I want to create an enumerate environment that reflects this. I want to end up with something like ...
4
votes
1answer
1k views

Custom Command Highlighting in TeXstudio

I have defined several macros in my LaTeX report. For instance, following is a macro I defined for writing bold letter H. I have several macros like this I use throughout my work. \newcommand{\...
6
votes
1answer
180 views

How much text will end up on a page?

---Edit: In response to David Carlisle's answer, here is an actual scenario where the problem occurs. I have two Bible texts in two languages. Let's say English and Spanish. The basic idea of ...
1
vote
0answers
73 views

Citations go out of margins [duplicate]

Some of my citations overflow into my margins. See below. I am wondering if there is any solution to this? I am using \bibliographystyle{apalike}.
2
votes
1answer
268 views

How do I modify the section tag? [duplicate]

Possible Duplicate: How to add a dot after the section number? Each of my section tags looks like the following: What I want is punctuation after each section number. I am not sure where the ...
2
votes
1answer
415 views

Absolute position and pagebreak

I need to generate random text and if random text = \textheight, break page automatically and start new page with the rest of the text in the same textblock environment. I read many articles, but the ...
11
votes
2answers
5k views

Using pgfplots, add vertical/horizontal spacing between plots?

I once already asked a very similar question; How can I add space between two separate plots, using pgfplots?. But this is some what different. I have the following code; \documentclass{standalone} \...
0
votes
2answers
80 views

Problem on lines of table

I wanted to create table but the following problem occurred: The problem is that the lines are not long enough. Code: \begin{table}[htp] \caption{Gross errors found using plausible value check ...
2
votes
1answer
270 views

Is it possible to change the font of the text from a listing?

I have a listing of my Java code currently the font is too big and the code runs off the page. Here is what my listing looks like:
7
votes
1answer
262 views

Cite like [1-2] instead of [1, 2]

I'm using natbib package with compress option, which works well in the case [1-3]. However, I hope that [1,2] could also be compressed as [1-2].
2
votes
1answer
376 views

Java Code in a paper

I am writing a paper and would like to include some of my "real-world" Java code. What is the best way to accomplish this? I would like to see two templates: My explanation to the right of my Java ...
1
vote
1answer
438 views

How to vertically align text in the headers of a PgfplotsTable?

I am stacking one header by using this macro: \newcommand*{\textstackrel}[2]{\ensuremath{\stackrel{\hbox{#1}}{\hbox{#2}}}}. This makes the other single line headers bottom aligned, which looks bad. ...

15 30 50 per page