## Top new questions this week:

### Colored margin with vertical text

What I'd like to reproduce on LaTeX can be seen on the picture below. I am writing my master thesis (book style) and I'd like to add a colored margin on every page (on the right for the right pages …

{color} {margins}

### How can I avoid AUCTeX wrongly inferring the language of a document?

A colleague using a class I wrote reports that AUCTeX is inserting guillemets when he hits the double-quote key. Investigation showed that TeX-language-fr-hook is being called even though the document …

{auctex} {french}

### Automatic bold for every first character of a line

It's possible to do this Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis …

{formatting} {bold}

### How to draw areas between curves of the form $x=f(y)$ and $x=g(y)$?

I want to shade the region between two curves whose equations are of the form $x=f(y)$ and $x=g(y)$, where $f(y)\leq g(y)$ for all $y\in [c,d]$. I heard that pgfplots can be used. Also, the …

{pgfplots} {fillbetween}

### How to make this table fit on a portrait A4 page?

\begin{table}[htbp] \centering \footnotesize \caption{Add caption} \begin{tabular}{ccccccccc} \toprule Bank & Country & & & Conditional joint …

{tables}

### Rotation transformation of a parametrized plot

I'm working on this plot with pgfplots: The image is from our sister-site Mathematica.SE and there's also a nice explanation how to do it with Mathematica. I follow these steps: Parametrize the …

{pgfplots} {rotating} {3d}

### How to shade a single character?

I need a single character in two colors. Figuring I could use the shadings library of TikZ, I followed the manual (section 23.4.1, the TikZ example): \documentclass{article} \usepackage{tikz} …

## Greatest hits from previous weeks:

### 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 …

{best-practices} {big-list}

### Compiling documents online

I have heard rumors that you can compile documents online, and more specifically that Google has a free online compiler, but I have never been able to find any. Is there a way to compile documents …

{compiling} {tools} {online}

I would like to remove the column heading "Page" from the table of contents. I have looked around and cannot seem to find an answer (or a similar question). I would also like to add a period "." …

{table-of-contents} {formatting}

### Draw background lines dashed in TikZ-3dplot depending on view position

In the graphic the red line is partly covered (in the background) of the 3d-object. Is it possible to draw the background parts of the lines dashed (or calculate the "intersection" points)? After …

{tikz-pgf} {tikz-3dplot}