12k views

### \bf is an undefined command [duplicate]

I am very new to Latex and I am getting this error: Class scrartcl Error: undefined old font command \bf'. See the scrartcl class documentation for explanation. Type H <return> for immediate ...
229 views

### Difference between \sl and \slshape? [duplicate]

What's the difference between using \sl and \slshape? I don't see any in the pdf.
117 views

### Parse markdown automatically (just emphasis) without luatex [duplicate]

I want to parse markdown emphasis automatically in XeLaTeX. This basically means converting asterisks either side of a word into the \emph{word} that LaTeX uses. I know that more complex Markdown ...
47 views

### How to make **hello** produce hello in italics? [duplicate]

I know I can make *hello* produce hello in bold typeface. But how would I, in addition, make **hello** produce hello in italics? \documentclass{article} \begingroup\lccode\~=`* \lowercase{\...
18k views

### What are the most common mistakes that beginners of (La)TeX and Friends make?

I want to collect the most common mistakes, misconceptions, pitfalls, etc that (La)TeX and Friends users make. Please one answer for each mistake, misconception, pitfall, etc. I am only interested in ...
698k views

### “Correct” way to bold/italicize text?

Is either of these considered better/more readable/more "proper"/more conventional than the other for making text bold? If so, what is the reason? I like my text \textbf{bold} versus: I like my ...
18k views

### Why is LaTeX so complicated? [closed]

I have been using LaTeX professionally almost every day for almost 10 years, so I think I can say that, by now, I more or less know what I'm doing. I also do a lot of ordinary computer programming, in ...
7k views

### Why can't the end code of an environment contain an argument?

Environments are allowed to have arguments, but reference to those arguments can only appear in the opening code of the environment, and not the closing code. What is the reason for this, and are ...
47k views

### How to construct a coloured box with rounded corners

Here is the specs of the box. Color of the bar rule should be: \definecolor{mycolor}{rgb}{0.122, 0.435, 0.698} Radius of the 4 corners of the box: 4pt Thick line = 0.5pt Text should be 6pt ...
25k views

### “Too many math alphabets” error

I just got the error Too many math alphabets used in version normal. on a document I'm editing. What can I do to fix this, other than stop using an alphabet? All I've found online is instructions ...
30k views

### Changing style of Proof

I'm using the \begin{proof} of the amsthm package. And I want to change the style of the Proof word that is added in the beginning. By default it is italic, I want to make it bold. How can I do it?
4k views

### What do \@firstoftwo and \@secondoftwo do?

The LaTeX kernel uses these two all over the place. For example, apparently the correct way of defining something like \ifeq{\macro 1}{\macro 2}{true}{false} is (note Martin's response: each case ...
2k views

### Use Markdown-style formatting for bold and italic

I rather like the system here where *...* is italic, **...** is bold, and ***...*** is bold italic. Is it possible to do that in (La)TeX? A MWE that implements the first one: \documentclass{article} ...
### Can I get $$…$$ to behave like $…$?
Is it possible to modify LaTeX so that good old $$...$$ behaves like $...$ (and by this I mean that it should be synonymous to it). If yes: Dear LaTeX3 developer, please integrate this into LaTeX3! ...