Most Popular

1500 questions
64
votes
2 answers

Is there any way to include an animated GIF directly?

Is there any way to include an animated GIF directly in either PDFLaTeX or XeLaTeX? I realize the animate package can include animations in a PDF, but it doesn't support animated GIFs and you have to split them up manually into EPS or PNG files as…
ptomato
  • 1,453
64
votes
2 answers

Insert image and list inside a table

I am trying to add both an image and list inside a table but I face various problems. As shown in the picture, the image is above the first horizontal line and also the lists are not properly oriented, they are located at the end of the table, not…
user1015777
  • 1,153
64
votes
2 answers

"+" sign in international phone numbers

I want a smaller "+" sign in international phone numbers. For example if I write +1-123-456-7890 it gives where "-" signs are all okay (not pretty though), but the "+" sign looks too big. How can I make it smaller? Is there any special symbol in…
Chang
  • 9,528
64
votes
1 answer

Small-caps, old-style numbers, and some ligatures produce odd symbols in PDF copy text?

This is a problem I've had consistently with XeLaTeX. Here's a small example: \documentclass{article} \usepackage{fontspec} \setmainfont[Ligatures=TeX,Numbers={OldStyle,Proportional}]{Minion Pro} \begin{document} The \textsc{nato} office…
Chel
  • 6,110
64
votes
1 answer

Get full name twice in Bibliography

I use biblatex with style=authoryear and when there are two references of the same author in the bibliography there is just a dash. How can I get the full name in the second entry too?
pirad
  • 1,641
64
votes
1 answer

Which : \only or \onslide ? (Beamer)

In beamer v3.0 guide (slide 121) , I've found: In case of subtle differences in the heights of replacements, overlayarea and overprint environments can be used. But it's not clear to me. What are differences between \only and \onslide in Beamer…
64
votes
11 answers

How to make the correct hash-symbol in C Sharp (C#)

I want to make C# look nice in my book, but with the following: C\# it looks like this: When it should look more like this: For the second one, I used verbatim, but I don't want that and I've also used a macro like the following everywhere so it…
Filip Ekberg
  • 2,503
64
votes
5 answers

Is there no easier way to float objects and set margins?

I come from a HTML / CSS background and am used to a particular way of setting margins, floats, etc. As a beginner in TeX, I am having a hard time positioning elements, probably because my mindset is still in CSS positioning and I do not yet grasp…
user
  • 3,533
64
votes
6 answers

How can I automatically calculate sums in a LaTeX table?

Sometimes I would like LaTeX to automatically calculate sums (or other simple arithmetic) for me, eg. in a table. I would like to ensure that when I update the table, I don't accidentally forget to update some sums. I also wouldn't want to maintain…
64
votes
6 answers

Documents with typical LaTeX errors

I am giving a LaTeX course and have the idea to let the students find and solve problems within a few documents. Basically they shall learn how to create minimal examples and read error messages. However, currently I have no document with 'typical'…
64
votes
4 answers

side-by-side equations, with equation numbers for each

The align command from amsmath allows me to put two equations side-by-side: \begin{align} x = y && a = b \end{align} Unfortunately for my purposes, this shows both equations under one equation number: x = y a = b (1) Is there any way to give…
64
votes
4 answers

Generate table of contents when \section* (sections without numbering) has been used

Is it possible just to generate a table of contents based on sections in asterisk mode, i.e., \section*? I basically just want the table of contents without section numbers. Like a list of headings and their associated pages. The following doesn't…
ptrcao
  • 6,603
64
votes
6 answers

TeXnicCenter & Adobe Reader DC

How to configure TeXnicCenter to work with Adobe Reader DC? When I building and view current file .tex the following error "Can not execute the command" shows up and the PDF is not generated. If there are any related post, could help. Thanks a lot!
Walter Silva
  • 743
  • 1
  • 6
  • 5
64
votes
3 answers

Setting the column gap in a twocolumn (or multicol) document

I have a document that uses twocolumn with scrbook. How can I set the width of the space between the two columns?
raphink
  • 31,894
64
votes
3 answers

Remove indent when using enumerate

When we use the enumerate environment, there's an indent created as you can see in the picture: Is there a way to remove that indent so that everytime I use the enumerate stuff doesn't give me such indent?
Schwale
  • 2,049