# All Questions

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} % ...
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 ...
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. ...
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 & ...
321 views

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 ?
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 ...
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 ...
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. ...
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?
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?
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"?
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} ...
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. ...
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 ...
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 ...
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 ...
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?
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), ...
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 => ...
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?
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 ...
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, ...
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. ...
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 ...
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 ...
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, ...
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: ...
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 ...
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} ...
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?
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 ...
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? ...
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 ...
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{>}} ...
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 ...
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, ...
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} ...
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} ...
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$ ...
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} ...
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 ...
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 ...
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.
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.
183 views

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. ...
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 ...
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?
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 ...