2
votes
1answer
2k views

How to create footnote for algorithmicx's comment

The number is displayed, but the footnote text is missing. How to fix that? \documentclass{article} \usepackage{algorithm} % Need it for floating environment \usepackage[noend]{algpseudocode} % ...
13
votes
3answers
2k views

Draw the discontinuity symbol with tikz

Is there an easy way to draw the discontinuity symbol with tikz? It is the symbol shown at the y axis in the following picture (taken from the pgfplots documentation. I can always draw it manually ...
7
votes
3answers
2k views

Extra space above boxed multi-line equation

Well, this question is not new. It was asked back in 2007 in texhax, and answered at the same time. However, I couldn't apply the patch as mentioned in the answer, so I decided to ask it here. ...
15
votes
4answers
4k views

Why can't I wrap \rowcolor in \only? (Beamer)

See the following minimal example: \documentclass[table]{beamer} \begin{document} \begin{frame}{Boo} \begin{table} \centering \small \begin{tabular}{rcc} \only<1>{\rowcolor{green}}Hey & ...
4
votes
1answer
321 views

Remove cite from table of contents

I want to put a citation in the section title \section{AAAB \cite{KK} } But i only want this cite to appear in the text but not on the page of contents. How to remove cite from table of contents ?
2
votes
1answer
922 views

Format caption in figure

I have a question which concerns text formatting in captions and also in sections. For example when I type: \begin{figure} something \caption{this is some caption text and it probably may be quite ...
3
votes
1answer
588 views

Left Aligning Subscripts

When using displayed (in contrast to inline) equations LaTeX center-aligns subscripts: \Pr\limits_{{r \leftarrow_R \{0,1\}^n}} [ ... ] However, I like them to be left aligned. This can be done by ...
13
votes
1answer
3k views

How to make a dissolving transition with LaTeX Beamer?

For a presentation I want to visualise the growth of a tree using a dissolving transition. Under Linux it works fine to use \transdissolve for that, Evince properly draws the transition. ...
26
votes
2answers
4k views

What are the differences between using paralist vs. enumitem

I am looking for advice on which of these packages to use? Under what circumstances would paralist be preferred over enumitem?
17
votes
3answers
21k views

How can I add more than one logo to my beamer presentation?

My institute requires to put three logos to all presentations. How can I add more than one logo to my beamer presentation?
1
vote
3answers
2k views

Get a black \mathring symbol

How can I get a black \mathring circle above variable, same as \mathring except the circle is "filled"?
2
votes
1answer
5k views

\addbibresource undefined control sequence with MikTex

I'm using the latest version of MikTex, which comes with biblatex, and I can't get biblatex to work. It breaks in the preamble: \documentclass[a4paper,12pt]{scrartcl} \usepackage{hyperref} ...
2
votes
1answer
6k views

Customizing the algorithm/algpseudocode package

After asking this question: Change FORALL to FOREACH in algorithms package, some issues arose in the comments. I have created the following sample document, and have three questions. ...
2
votes
1answer
2k views

Cite without author's name

The \cite command places the author's name and date in the document. If I have already mentioned an author's name, though, I only need the date and maybe a letter: "Lewis (1998b) claimed that ..." How ...
23
votes
2answers
1k views

Can a shape be composed out of “subshapes” in TikZ?

Suppose one were to make a simple "dumbbell" shape in TikZ. (My actual example is more complicated, but let's stick to this simple one). That is, we want a shape constructed out of two circles, and a ...
1
vote
1answer
231 views

How to fix the MiKTeX bug about uni-wtal-ger / uni-wtal-get? [closed]

I encountered the exact problem as MikTeX 2.9 without list of packages in settings program. Now I figure out it may be a bug of MiKTeX. It misnamed one package. The correct package should be ...
50
votes
6answers
20k views

TikZ: Node at same x-coordinate as another node, but specified y-coordinate?

In TikZ, if I have a node (A), how do I create a node (B) with the same x-coordinate as (A), but a given y-coordinate?
3
votes
0answers
256 views

How to correctly include pixel graphics with pdflatex with consistent scaling across PDF viewers? [duplicate]

Possible Duplicates: Included PNG appears blurry in PDF My pixel perfect picture gets blurry when compiled in LaTex I often need to use pixel graphics in LaTeX files (mostly screenshots), ...
2
votes
1answer
16k views

In TeXnicCenter I'm trying to produce a PDF but no output is being created

Very simple really. I installed TeXnicCenter, Adobe Reader X and MiKTeX 2.9. Tried to build a code in the PDF format. I get 4 new files but no .pdf file. Yet another option listed as LaTeX => PS => ...
2
votes
1answer
811 views

Figures' legend is bold. Can I have it not bold in the list of figures?

The legends of my figures are written in bold, but I don't want the list of tables to have the titles in bold. Any suggestion?
3
votes
1answer
254 views

Replacement for CJK's \Unicode macro

I need a replacement for the \Unicode macro from CJK. It takes two decimal numbers as arguments and inserts #1*256 + #2 into the token stream (or something like that; it's a way to write Unicode ...
10
votes
5answers
9k views

beautiful listing for CSharp

Does anyone have a nice typesetting style for the C# language using listings? I configure it in this way: \lstset{language=[Sharp]C,,basicstyle=\footnotesize, ...
8
votes
1answer
533 views

Fix math mode kerning of “C”

I am trying to set a sequence of atom packing symbols. I want to use math mode italics for this, as I think that their width fits this purpose. The problem is that the C has a bad kerning for this. ...
3
votes
1answer
121 views

alignment of symbols [duplicate]

I tried to align the equation and have some text on the equal sign. But it turns out that the equal sign that has text over it is no longer aligned to previous one anymore (I believe it is the text ...
11
votes
4answers
1k views

Replacing Unicode non-breakable spaces by normal spaces

I am using the Neo keyboard layout, which uses all kinds of modifier keys to input all kinds of characters (e.g. Greek letters and mathematical symbols). It also has shift+Mod3+space mapped to Unicode ...
7
votes
1answer
5k views

How to put symbol around the equal sign?

In the question Latex Math Symbol: Vitanyi puts a tiny plus symbol over his equals. How do I do that?, there was an answer to how to place additional sign over the equal sign. And my question is, ...
9
votes
1answer
1k views

Diagrams package that allows to draw computer buffers (memory diagrams)

I'm writing a document that explains internals of memory buffers and computers and I'm looking for a LaTeX package that would allow me to create diagrams similar to the following: Circular buffer: ...
3
votes
2answers
5k views

Closing file problem when opening FoxitReader with TexnicCenter

I use the FoxitReader instead of Acrobat Reader to see the pdf files. I defined it when I installed TeXnicCenter. When a new file is compiled, it does not automatically closes off the old one. So in ...
14
votes
1answer
2k views

Plotting an implicit function using pgfplots

What is the correct way to plot an implicit function using pgfplots? Consider the following example: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} ...
1
vote
1answer
910 views

Koma Script header-footer on chapter start page

The scrbook class omits the header footer on the page where a new chapter starts. How to add them on those pages?
5
votes
1answer
1k views

Matrix of nodes column style inconsistency

For the following code: \begin{tikzpicture} \matrix [matrix of nodes, column 2/.style={red}] { 8 & 1 & 6 \\ 3 & 5 & 7 \\ 4 & 9 & 2 \\ }; \end{tikzpicture} This picture is ...
2
votes
2answers
2k views

How can I load a true type font in luatex? [duplicate]

Possible Duplicate: Load fonts that are in a ./fonts directory I have a TTF file zapf-chancery.ttf in the same folder as my LaTeX document. How do I make this font available in my document? ...
6
votes
2answers
1k views

Alternatives or Successor for TeX [duplicate]

Possible Duplicate: Why are there no alternatives to TeX, or, why is TeX still used? My problem with the current version of (La-)TeX is that it's pretty brittle. Some documents run well on ...
7
votes
1answer
805 views

Shortcut for arrows on curves in TikZ

If I want to draw a curve with an arrow somewhere along its length (say 40% along), I can write this: \draw [decoration={ markings, mark=at position 0.4 with \arrow{>}} ...
5
votes
2answers
476 views

Correct sorting of \index entries containing macros

I use \index in classical way, but also with some macros as content. More precisely, I have some macros like \def\foo{BAR}, and I use then \index{\foo}. Unfortunately, the index is then order by the ...
10
votes
3answers
15k views

Change FORALL to FOREACH in algorithms package

\FORALL gives a "for all" loop, i would like to redefine it so that it shows "for each" instead. Any way to do that? By the way, foreach is more often used in real programming languages than forall, ...
5
votes
3answers
170 views

LaTeX3: \dim_eval:n and e-TeX dimension expression

Why does the following code not yield the expected result 264pt? Are non-integers not allowed as factors in e-TeX dimension expressions? \documentclass{article} \usepackage{expl3} \begin{document} ...
7
votes
1answer
156 views

Can maths adornments know the “type” of their contents?

By "maths adornments" I mean things like \widehat (from the ams) and their ilk. Perhaps the following best illustrates what I mean: Code to reproduce: \documentclass{standalone} ...
51
votes
9answers
6k views

LaTeX/Math jokes [closed]

Lighten up a bit guys. How about the following \documentclass{article} \usepackage{graphicx} \begin{document} If~~$\displaystyle\lim_{x\rightarrow8}\frac{1}{x{-}8}=\infty$ ...
3
votes
2answers
6k views

Disable the numbering of algorithms

My problem is that I do not know how to disable the numbering for algorithms. I have created an algoritm and its number is "Algorithm 1", but I want to have "Algorithm". \documentclass{article} ...
3
votes
1answer
955 views

Default bibliography database path in reftex

I just discovered reftex and am very happy with it, including the manual. However, I am not too happy with how the path to the bibliography file is set and would like to change it, but haven't found ...
3
votes
1answer
3k views

using fancyvrb Verbatim environment from within newenvironment

As with this question, I want to use a verbatim environment from within an environment definition, but I want the listings to be numbered, so I think I need to use fancyvrb. It appears that fancyvrb ...
1
vote
2answers
432 views

Make \infty symbol horizontal align with 8 EXACTLY

as image \newlength{\abc} \settoheight{\abc}{$\infty$} \raisebox{.5\abc}{\infty}8 doesn't get desired thing.
9
votes
3answers
5k views

How to put a big dot (and circle) over a variable?

where one can see a big dot (and circle) over W. I am using \dot{W} and \mathring{W} but seems not big enough.
0
votes
0answers
183 views

Table of contents [duplicate]

Possible Duplicate: Table of contents How will i create a table of contents to have an output look like this? hope you can help me. Sorry for the incomplete data of my question last time. ...
6
votes
2answers
663 views

Forcing tikz/pgf to expand macros within commands

I would like to use simple macros within tikz commands, but it seems tikz doesn't expand them in the ways I would expect. For instance, the code ...
29
votes
1answer
1k views

What are the valid names as labels?

What are the valid characters to use in labels? I thought that only alphabetic characters were valid, but I tested ' and ! and they work. What are the restrictions to these names?
6
votes
2answers
594 views

Biblatex: Format the date of an article differently for different journals

I am trying to develop a Biblatex style for English (academic) legal citations. For the moment I am not trying to deal with the citation of cases (which is going to be very tough), but just with the ...
5
votes
2answers
755 views

How can I set columns=fixed for lstinline globally?

I typeset my listings using listings with a proportional font. This looks good for the lstlisting environment. However, when I use \lstinline|code|, the spacing reverts to variable-width. I would like ...
15
votes
1answer
14k views

Double square braces like these ⟦exp⟧?

How do I create mathematical equation double square braces like these ⟦exp⟧ in latex? I failed to find it on google (I created these using word 2010 equation editor). I would like these to be of ...

15 30 50 per page