# All Questions

175,560 questions
22 views

### Paragraphs and indention [duplicate]

Latex by default indents the first line of a new paragraph, but does not leave empty vertical space. Currently, I am writing a text with many formulas in it. I don't think this paragraph style works ...
20 views

### varkappa: amssymb AND kpfonts

Between the two packages amssymb and kpfonts, whichever is loaded last determines the look of \varkappa. With the usual tricks using \let and \LetLtxMacro, I have not found a way to simultaneously ...
30 views

### How to draw orthogonal line with arrow avoiding collision to the existing rectangles?

I've tried the following it almost works, but looks ugly: The line is broken when it turns. It's not really perfectly horizontal and vertical, just my approximation. The lines between USB and Comp ...
20 views

### How to reduce the vertical space of acronym lists in LaTeX?

I am using the acronym package to generate list of abbreviations in LaTeX. Here is sample snippet. \documentclass{article} \usepackage[colorlinks]{hyperref} \usepackage[printonlyused,withpage]{...
61 views

### Why I see a line at the top of the first page?

When I'm writing a book using KOMA-Script usung class scrbook with package fancyhdr, I get a weird line at the top of the first page: Here is MWE: % Preview source code %% LyX 2.3.2-2 created ...
28 views

### Difficulty Expressing Function For Plotting

I'm attempting to use pgfplots to plot a graph with the following code \begin{tikzpicture} \begin{axis}[ axis lines = left, xlabel = $n$, ylabel = {$p_{n}$}, ] \pgfmathsetmacro{\P}{520000} \...
26 views

### Lualatex not see author of document

I want to override the \maketitle command, but I get a warning that no \author is given. \documentclass[11pt]{amsart} \title{test} \author{Aleksandr Kozlovskiy} \date{\today} \thanks{This document ...
61 views

### Drawing a curve with customized ticks

I am new to latex, and I have been going through so many curves on this forum for days. I have manged to draw the curves, but labeling is now a huge mission. This is just supposed to show the ...
16 views

### Title on three lines to a table

I have a title typeset on three lines using the center environment. The vertical spacing between the lines looks really bad. \documentclass{amsart} \usepackage{mathtools,array} \usepackage{makecell} ...
13 views

### Apacite with natbibapa option change “and” in the references with ampersand

I am using apacite with natbibapa option \usepackage[natbibapa]{apacite} in my latex document. At the moment, when I use \cite, the authors are delimited by "and". I want that to be changed to \& ...
39 views

### How to put my page numbers on the right side of the header?

I'm writing a \documentclass[a4paper,twoside,12t]{report} and I would like to get my page numbers on the top right side of my pages (after the table of content) with fancyhdr. Here is the code I'm ...
30 views

### Different text on last page

I want to add one of two different texts, depending on whether it appears on the last page. I tried this: \documentclass{article} \usepackage[angle=0, opacity=1, scale=1,position={0,0}]{background} \...
24 views

### In tikz length measurement from trigonometry and from coordinates differ

I have different measurement of length with trigonometric equation using radius and theta and from coordinates. I want to solve this issue because for further computation I need to have both ...
17 views

### Add “continued from previous page” in header of second Nomenclature page?

I based my nomenclature page on this, and it seems to be working well. However, I would like the second page of it to say "continued from previous page" in the top left, similar to this picture: Here ...
33 views

### Inserting a transparent background image

I am wanting to include a signature on a document using Signed:\\ \includegraphics[scale=0.5]{Signature} \rule[1em]{25em}{0.5pt} The image is .png with a transparent background. However,...
28 views

### Pictures vertical aligned, with vertical aligned caption side by side and configurable horizontal space

i have already searched the internet and the forum for a solution, but unfortunately no post applies to my requests. Also the merging of different posts didn't work out. The goal is: 2 png-graphics ...
166 views

### How to draw Sankey diagram with Tikz? [duplicate]

I'm trying to make a Sankey diagram. I know it's possible with Tikz picture but I don't get the hang of it. I'm trying to make something like this: Is there anyone who has experience with this ...
28 views

### underline breaking ligatures

This is another version of my color question, as I've found another case where the problem occurs. In some behind the scenes work for spacing reasons, the pieces of a syllable get split up in ...
47 views

### A HTML question [on hold]

I feel sorry to ask a HTML question which could be improper for this site. I want to insert in a HTML file the scr letter $\mathcal S$ or $\mathscr S$. Is it possible?
80 views

### Draw picture in tikz

I would like to draw a picture as follows: but I don't know how to start. It consists of two connected semi-rings, $\Omega_1$ and $\Omega_2$. Anyone can help me?
16 views

### Set Nomenclature in overleaf

I have been trying to set a nomenclature for my thesis. In for example chapter 7 I added some \nomenclature{}{}. However, when I compile the file the nomenclature list remained empty.
29 views

### My tikz-cd diagram doesn't fit in the text area

How do I make my graph fit in the text area? This is an example graph - I have other graphs which which I have a similar problem, so I am hoping for a general solution. \documentclass{article} \...
27 views

### Local, relative, inner, intensive coordinate of one node

If often find myself writing: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \node (refNode) {\includegraphics[width=5em]{example-...
48 views

### Labeling matrices tikz

Could you help me to draw what’s on the image? This is my code so far: \documentclass{article} \usepackage{multirow} \usepackage{color} \usepackage{layout} \usepackage{multicol} \usepackage{...
31 views

### Biblatex, multi lingual references and backref

With help of langid field in .bib entries, the biblatex package can format each bibliographic reference in its own language. If I add backref=true into the biblatex options, I have back references at ...
13 views

### tikzcd scaling in \resizebox envionment

I have a number of graphs that I put in a \resizebox environment, because otherwise the graphs grow horizontally larger than the page. An unfortunate side effect of this is that the graph nodes can be ...
105 views

### How to ignore kerning of underbrace in math mode

Is there a way to instruct LaTeX to ignore the text in the \underbrace for purposes of kerning the equation in math mode? \begin{align} &x \underbrace{(4-3y)}_ {\text{Positive \$\...
10 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}% }...
165 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 ...
18 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 ...
33 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}} \...
19 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 ...
25 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 ...
45 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} ...
75 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 ...
13 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: .....
36 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 ...
38 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{...
52 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[\...
27 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 ...
19 views

### PDF in Texmaker does not update after running Quick Build or PDFLatex

When I run make changes to my document and run Quick Build it does not update the PDF in the quick view or the document stored in the folder. I have always just ran Quick Build but I have tried to run ...
93 views

### how to improve SVG for math resolution in tex4ht?

make4ht now supports both mathjax and svg for math. I noticed that the math displayed in the browser when using mathjax mode looks sharper/crisper than when using svg for math. So this question ...
27 views

### Enable enumerate or itemize in custom env

I have an aside environment from a template. \RequirePackage[absolute,overlay]{textpos} \setlength{\TPHorizModule}{1cm} \setlength{\...
26 views

### Tex line contains invalid character (no aux file, correct encoding)

Here is a sample file that produces the error on my end: \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} \title{Title} \section*{Section} \end{document} The error that I get is ...
24 views

### Text Aligned in Friggeri CV Template Sections

I'm having trouble with text alignment in the Contact section of the Friggeri CV Template. I'd like the long e-mail addresses or websites names to be aligned properly to the right as everything else ...
46 views

### How to draw a star graph quiver using tikzcd in LaTeX? [on hold]

I would like to draw a star graph quiver using tikzcd in LaTeX.