Most Popular

1500 questions
83
votes
9 answers

How do I align an image to center?

How do I align an image to center? In a beamer presentation I have a 2-3 items on a slide followed by an image. The image is not wide enough to cover whole slide, so it leaves around 30% space from right. How do I adjust it to leave enough space on…
epsilon8
  • 5,961
83
votes
3 answers

How to put a brace on the right, not left, to group cases?

How can I get a brace on the right, not the left, to group cases, using cases? (I know actual cases look better with the brace on the left, but the items I need to group are not literally cases. They are a set of steps in an algorithm which I want…
83
votes
2 answers

typesetting modulus operator, as in remainder

Is there a standard way to typeset the modulus operator (as in arithmetic remainder)? The percent sign (%) is often used by programming languages and mathematicians tend to use mod, but because of the romanization of mod, this notation can be…
user001
  • 7,964
83
votes
5 answers

underline omitting the descenders

I'm very well aware that it is considered best practice not to use underlining other than on typewriters and in handwriting. But sometimes it is needed nonetheless. In my opinion the typographically least offending way to underline in print is to…
Florian
  • 2,919
83
votes
2 answers

3 dots in matrix

I was wondering if anyone knew how to draw 3 dots in a matrix that go in a diagonal way usually to represent that element flow similarily in the slots. I know there's one that goes in the bottom right corner. But is there one that goes in the bottom…
alice
83
votes
3 answers

Using square bracket in text mode

I would like to include text like the following in a latex document [2007] EWCA Civ 1042. Unfortunately if I use \[2007\] EWCA Civ 1042 the number within the square brackets is typeset on a separate line. \[ must mean something I don't know. How do…
83
votes
6 answers

How do I make LaTeX push long citations to a new line?

When I use the \cite command for my citations, often LaTeX will overflow the margins for my lines, and the text looks pretty bad. How can I make LaTeX push long citations to the next line automatically?
Noli
  • 1,551
83
votes
13 answers

Simultaneous collaborative editing of a LaTeX file

Are there any tools for simultaneous collaborative editing of a .tex file? The practices I know (and practice) in writing scientific papers are: e-mailing each new version to the collaborators, working in a same Dropbox folder. However, both are…
Piotr Migdal
  • 1,256
83
votes
3 answers

A guide on how to produce accessible PDF files?

First: I know that this has been asked before: How can tagged PDFs be created that support Universal Accessibility and reflowing? (06/2010) LaTeX accessibility (05/2011) Accessibility issues (10/2012) Revisiting producing structured PDFs from LaTeX…
Thomas
  • 2,837
83
votes
5 answers

LaTeX code sniffer and/or beautifier?

I'm looking for a LaTeX code sniffer and/or code beautifier, because I'm creating a CI server for my LaTeX books and I wanted a few things. :D
MasonX
  • 831
83
votes
9 answers

How to incorporate TeX mathematics into a website?

How should I incorporate TeX in a website to render mathematical formulas? If there are multiple ways, what is the easiest way?
83
votes
3 answers

texstudio: show line numbers in editor

How do I show line numbers in the editor? According to the picture in the doc (e.g. about bookmarks) there should appear by default. I'm using Texstudio version 2.7, win8.1.
Zohar Levi
  • 1,237
83
votes
1 answer

How to redefine a command using \DeclareMathOperator

I'd like to declare some new operators using \DeclareMathOperator and some of the names are already taken by other commands (that I do not want to use). Is there an equivalent to the \renewcommand command for \DeclareMathOperator or a different way…
schtandard
  • 14,892
83
votes
6 answers

Putting two images beside each other

If I want to put two images beside each other, what should I do? I have inserted a figure. But, rather than having the next figure on a new line, I want it to be beside the already inserted figure. How can I do that?
Simplicity
  • 1,305
83
votes
6 answers

LaTeX Package to generate QR codes?

I would like to be able to generate QR barcodes in my LaTeX documents, and I'm having a hard time finding a solution. The use would be a command such as \qr[1in]{Your text to be QR encoded here} The optional argument would be the width of the…