Most Popular

1500 questions
77
votes
4 answers

Best way to typeset micrometers?

It seems to be generally well accepted that the correct way to typeset a value with units is to separate the number from the units by a space, and write the units in an upright font. For example, One hellameter is \( 1.0\times10^{27} \) m. The…
Michael Underwood
  • 21,356
  • 13
  • 52
  • 41
77
votes
8 answers

Does TeX/LaTeX give a headstart with other programming languages?

I've seen many programmers here at tex.se, and I'd like to know how they view TeX/LaTeX as a programming language in relation to other languages, and whether it would boost my progress as a beginner using other (non-typesetting related) languages,…
77
votes
6 answers

How do package authors find the time?

Not sure if this question belongs here, on the main site, or not on TeX.SX at all. Let me know if it belongs somewhere else. I have recently made some leaps in my knowledge of LaTeX, in particular its packages. I am very impressed by projects like…
gerrit
  • 5,165
77
votes
3 answers

When is it harmful to add percent character at end of lines in a \newcommand, or similar

Since egreg has graciously agreed to not comment at least for a day to When not to use \ensuremath for math macro? :-), I thought I would take advantage of that and post a question about another (non-offical) campaign of egreg: additional % at the…
Peter Grill
  • 223,288
77
votes
6 answers

How do I convert HTML to LaTeX?

I would like a way to convert a document from HTML to LaTeX, on a Windows platform. A main motivation of mine is for ways to display books from Project Gutenberg. such as, Wells' The Invisible Man. What is my best option?
Henry B.
  • 2,231
77
votes
1 answer

How to put the caption below the listing?

When I use a simple caption, tex puts it above the listing \begin{lstlisting}[caption={My Caption}] \end{lstlisting} If I use \captionof, caption goes below the listing, but paragraph for next line doesn't work. \begin{lstlisting} Listing…
77
votes
3 answers

List sections of chapter at beginning of that chapter

How can one have a mini table of contents for the current chapter appear just after the chapter name listing all sections of that chapter?
Robert
  • 947
77
votes
48 answers

Most significant reasons that led us to (La)TeX

Looking back, what really convinced you to begin writing with TeX or LaTeX? This question is "community wiki", so there's no reputation to lose or to gain. Please don't write advantages of TeX and LaTeX or any pros and cons. I hope to read about…
Stefan Kottwitz
  • 231,401
77
votes
2 answers

TikZ: draw line thickness less than 0.1 mm

In TikZ is it possible to draw lines thinner than 0.1 mm? ultra thin option gives line thickness 0.1 mm. I want to draw a pattern using line thickness 0.07 mm.
77
votes
4 answers

Numbering appendices by letter instead of number

I'm trying to get a hold of numbering the letter of the appendices. This is how it looks now: \documentclass[11pt, a4paper, twoside]{article} % PACKAGES \usepackage{geometry} \usepackage{lipsum} …
Budde92
  • 773
77
votes
6 answers

How to write Japanese with LaTeX?

I've recently started to use LaTeX but I've just encountered a problem, I tried searching it, although apparently no-one asked it before. I'd like to write using Japanese input, but when I typeset, there can happen 3 things: I get some error when…
Alenanno
  • 37,338
77
votes
1 answer

How to use LaTeX on blogspot?

I'm trying to use LaTeX on my blog, but I could not figure out how. Has anyone done it before? Any feedback or related information would be greatly appreciated.
roxrook
  • 9,907
76
votes
3 answers

Double arrow with text over it that extends to fit text (that is, a "\xRightarrow")

I know it's possible to have \xrightarrow (text), but if I try to do \xRightarrow (text) I get an error each time. Does anybody know if it's a syntax error or if there is a other way to produce the \Rightarrow with text above?
76
votes
2 answers

Align text in minipage at same height

I need to put some text at the same height in my page, and I'm trying to do it with a minipage, but I'm not able to do it since they get centre-aligned. This is the LaTeX for the figure I've uploaded: \begin{minipage}[]{0.5\textwidth} …
Matteo
  • 1,787
76
votes
6 answers

How can I create documents in LaTeX using a calligraphic first letter for chapters?

Books often have a special letter (often spanning two lines) at the beginning of chapters. How can I create this in LaTeX?
txwikinger
  • 3,827
  • 4
  • 28
  • 30