# All Questions

175,484 questions
8 views

### Drawing a horizontal \rule through the middle of a line

how can I do something like \noindent\rule{\linewidth}{0.25mm} but in a way that doesn't leave a big gap before it? Currently it's kind of like \bottomrule, almost as if it skips a line. I want it to ...
13 views

### Why standalone class reverses \parshape indentation (such that it appears on the end of each line, not the beginning) and how to change that?

You can replace \documentclass[varwidth]{standalone} with \documentclass{article} to see the difference. How do I make \parshape work as intended while using standalone? \documentclass[varwidth]{...
6 views

### Change the page numbering to “(roman) - AAA”

This is an extended question from: Different Page Number Styles How to change the page numbering to something like: Page 1 numbering: (i) - AAA. Page 2 numbering: (ii) - AAA. Page 3 numbering: (...
19 views

9 views

### move shadebox to leftside by using mdframed?

My codes are follows: \documentclass{book} \usepackage{xcolor,mdframed} \usepackage{showframe} \begin{document} \setlength{\marginparwidth}{2pc} \newenvironment{codebox}{% \color{blue}% }...
49 views

### Specific alignment within \begin{align} environment

I would like to produce the following alignment with \begin{align*}...\end{align*}. -0,1 < E < 0,1 6,3 < S < 6,4 6,3-0,1 < S+E < 6,4+0,1 6,2 < I < 6,5 I ...
16 views

### How do I create chapter lookup markings in the margins (like in a dictionary)?

I am creating a long collection of formulas that I would like to use as a printed reference. It already has a table of contents, but I would also like to add marks on the margin that allow for a quick ...
31 views

### renewcommand within newenvironment [duplicate]

I have a problem with redefining a comamnd within a new environment. Not working MWE: \documentclass{book} \makeatletter \newcommand{\mysection}{\@ifstar{\mysection@star}{\mysection@nostar}} \...
18 views

### Fixing up the column widths

Hi fellow Stack Exchangers, I am trying to create a table but the columns are all messed up with text from columns flowing onto adjacent columns and number being broken up over multiple rows. Does ...
24 views

### Natlib on overleaf not working properly

After hours of searching, I decide to ask for your help on the natlib of overleaf. First, my project is compiled successfully by TexStudio which display correctly the citations in my local computer. I ...
39 views

### Make rounder a diagram [duplicate]

I want to re-create this image with tikz. Currently I'm at this point, but I don't know how to improve my code to make it smoother: \documentclass{article} \usepackage{xcolor} \usepackage{listings} ...
61 views

### Cover table with stains

I am trying to recreate the following table So far I have managed to create the following What is missing is the blobs / stains covering parts of the table. I have no idea how to insert them, maybe ...
21 views

### Writing something on all blank pages in memoir

This question: How do I write “This page intentionally left blank.” in memoir with custom chapter styles? tried for an answer to the question of how to write something on blank pages, but it does not ...
10 views

### AucTeX - Previewing Errors

I'm using the latest version of MikTeX, Ubuntu 19.04 and Emacs 26.1. Whenever I try to use inline preview (with any region, section, or environment that has inline math), I get the following error: .....
32 views

### Plotting a star in a 2D plot

Do you know how can I get the following star marker when plotting a 2D plot? This is what I have tried: \documentclass[border=10pt]{article} \usepackage{tikz} \usepackage{pgfplots}\pgfplotsset{...
59 views

### Why is \prevgraf zero at the end of the paragraph (or even in the middle of the paragraph)?

Both \the\prevgraf show zero. I expected it to show current line counter. \documentclass[varwidth]{standalone} \usepackage{expl3} \begin{document} \parbox{40mm} { \parshape 3 0mm 40mm 5mm 35mm ...
31 views

### Output pdf is not getting generated in case of internationization

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english, russian]{babel} \usepackage[T1, T2A]{fontenc} \begin{document} \begin{abstract} Это вводный абзац в начале документа. \end{...
51 views

### An understanding trouble with \framebox

I'm reading More Math Into LaTeX, and it introduces the command of \framebox at section 3.9.2 on page 91-92. There are the two following code examples which show different output: \framebox{\makebox[\...
23 views

### Keep filled form data with pdfpages

I have to fill pdf forms for a school asigment and would like to append them to my final report. Yet, when using \includepdf from the pdfpages package, all the information I fill into the form ...