All Questions

531 views

Layer between a node and its text

My question is similar to Transparent node with opaque text? . The difference is that i want the red circle to be above the green rectangle and below the word "Node". And also I do not want to draw ...
364 views

References with section and subsection name?

I declare sections and subsections as such in my document: \section{1} \label{sec:1} \subsection{a} \label{sec:1a} These are formatted using the titlesec package to display "Problem 1" and "Part a"...
82 views

Is there any good XY plot tools using latex [duplicate]

Possible Duplicate: Comparison of plotting packages? Let us say I have x-axis data and the corresponding y-axis data. I was wondering if latex had any graphing abilities. I might want to put ...
148 views

Unwanted back-referencing in bibliography

I am getting page number of thesis after completion of each reference how do I remove it. I am using code for bib as follows \bibliographystyle{plainnat} \renewcommand{\bibname}{References} % changes ...
324 views

excessive space between edition and location, bib entry of type inbook

My issue is with the space that appears between the edition and the location. I am using the IEEE citation sytle guide. I have been trying to remove the space that appears but to no avail. Any help ...
694 views

Incompatibility between verbatim and tabu? (Danger of using \scantokens in a package)

With the following MWE \documentclass{article} \usepackage{verbatim} \usepackage{tabu} \makeatletter \renewcommand\verbatim@processline {% \begin{tabu}to\textwidth{|l|X[-1,l]|} foo&\the\...
266 views

eqnarray or align?! http://www.tug.org/TUGboat/tb33-1/tb103madsen.pdf Whenever the eqnarray environment appears in a question or example of a problem on comp.text. tex, tex.stackexchange.com or ...
19k views

What is the advantage of using $f^\prime$ instead of $f'$?

Although the two outputs look quite similar, what is the advantage of using $f^\prime$ instead of $f'$? By the way, here is my code: \documentclass‎{article‎}‎ \begin{document}‎‎‎ \[‎ ‎f^‎\prime ‎(x)=...
15k views

Changing the color of itemize item in beamer

I would like to change the color of itemize item and itemize subitem (the bullet) throughout the presentation. I was wondering how I can do that. Here is my MWE: \documentclass [11 pt, xcolor=pdftex,...
10k views

Numbering sections

I want my sections, subsections and subsubsections in revtex to be marked by arabic numbers and 1.1., 1.1.1. etc. Instead I'm having roman numbers and letters. Can somebody help me?
8k views

Footnote in revtex4

Can somebody explain to me how to make a footnote in revtex4, so that it is placed on the same page as text and not in the bibliography?
173 views

String lowercase equality (newbie question)

i'd like to test if a string, once transformed into lowercase is equal to a given string. Here a MWE of what i'm talking about : \documentclass[a4paper,10pt]{report} \usepackage[francais]{babel} \...
374 views

Splitting a formula

What is the best way to split an overlong formula such as the following one to multiple lines: \documentclass{scrartcl} \usepackage{amsmath} \begin{document} \begin{eqnarray} P2‘‘ &=& \...
737 views

Using \hangindent within enumerate

I would like to have a hanging indent within the paragraph of an enumerate item. I have the following: \begin{document} \begin{enumerate} \item Lorem ipsum dolor sit amet, consectetur adipiscing ...
160 views

How do I best combine several documents?

I have a collection of articles written in latex, and I would like to "merge" them into a larger thesis document, in which each article will be a chapter. I have been looking at include and input, ...
1k views

Prevent LaTeX from inserting a new line [closed]

How do I prevent LaTeX from inserting a new line? Here's the code: bla bla bla \begin{verbatim}C:\Program Files\Product Name\Some other extensions\mail box name\end{verbatim} The output is: ...
2k views

Vertical spacing for paragraph environment

When I use \paragraph{...}, the vertical spaces in general are too big. I need to manually put \vspace{-5em} in front to adjust the spacing. It is not robust and unnatural. One reason may be that I ...
505 views

TikZ arrows do not draw with pdflatex [closed]

I am using the answer from Arrow between parts of equation in LaTeX. \documentclass{article} \usepackage{tikz} \newcommand{\tikzmark}[1]{\tikz[overlay,remember picture] \node (#1) {};} \begin{...
2k views

LatexIt not rendering properly

I've been trying to figure out how latexit works, however, when I enter this simple piece of code, I get a long message of different errors as "LaTeX Error Bad environment delimiter", "You can't use `\...
886 views

How can I pad cells of a blockarray?

After some struggle, I was able to render the matrix I was after. It now has the right "shape", but it does not look very nice; especially the spacing between the bracket and the matrix contents is ...
9k views

Redefining \smallsetminus by smaller \setminus

I don't like the appearance of \setminus (it's big and doesn't look good), and also don't like the appearence of \smallsetminus (its size is perfect but, in my opinion, it's too horizontal and it's ...
459 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 ...
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 ...
497 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 ...
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} \...
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 ...
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 ...
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\#...
1k views

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, ...
365 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 \...
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 ...
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 ...
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 └─┬ ...
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} ...
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 ...
1k views

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 ...
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 ...
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 ...
232 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 ...
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, ...
564 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,...
930 views

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 ...
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 ...
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 ...
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 \...
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 ...
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 ...
216 views