# All Questions

171,594 questions
35 views

### Why Pstricks loads some PGF files and is there a bug?

In pstricks.tex (version of 2019-01-22), at the line 75, we read: \ifx\pgfkeysloaded\endinput\else \input pgfutil-common.tex \input pgfkeys.code.tex \input pgffor.code.tex \fi \let\pgfforeach\...
17 views

### Latex Fancyhdr For Specific Page [duplicate]

I am writing a report with a number of chapters. I would like each chapter to have a figure above the name of it, which differs depending on a chapter. I got a figure to display above the chapter name,...
51 views

### What am I doing wrong in this use of split?

I'm doing something wrong in the code below that makes the last equation not be written on a line by itself. What I'm trying to do is to split the penultimate equation into two lines. But this ...
23 views

### Issue with acro and fancyhdr package in xelatex - Using acronyms in section titles

Intro Recently, I was plagued by an issue with the acro package, while writing my thesis with xelatex. My document uses the fancyhdr package, where I set the section title to appear at footer. The ...
13 views

### Setting TOC page number font options

I have a latex document that looks something like this \documentclass{report} \usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=...
21 views

### How to embed a subfigure inside another subfigure

I have multiple plots which I built using Tikz. I need to put all of them in the next configuration. Can anyone give me an idea of how to do it?
7 views

### PDF inbound in text - cropping unwanted content

For this issue, I have no MWE. Problem: I have a word-file (survey, pretty complex structure) and I have been requested to use/integrate parts of this document for illustration in my LaTeX-file (e....
15 views

### Citation 'et al.' in overleaf

I have written a document with Overleaf for IEEE Transactions. I have almost completed it but I would like to cite as 'Richard et al. [1]' with et al in italics. Right now I have been writing it ...
21 views

### Aligning underbrace for long and short terms

I have an equation in which I want to use underbrace , but the braces appear in different heights since one term is longer than the other. Here is an example: \documentclass[12pt]{article} \...
46 views

### context: line between margin and text

I work with ConteXt. Here at StackExchange I found a code for LateX to put a line between the text and the margin/marginparagraph. This line is visible in the image below. After that, I switched to ...
37 views

### force longtable to text width

Instead of specifying the width of each column in a longtable (see below), is there a way to get it to automatically adjust its size so that it matches the text width, but does not go into the margins?...
30 views

### Hello, could you help me with this error?

\documentclass[11pt]{report} %\pagestyle{myheadings} %% Generan la fuente del doumento, Arial %\usepackage[T1]{fontenc} %\usepackage[scaled]{uarial} %\renewcommand*\familydefault{\sfdefault} %% Only ...
16 views

### How to make P. load and MAPE under the FCRBM, AFC-STLF, Bi-Level, MI-ANN. In the coding of the given table, Please help me in this regard

\documentclass[journal]{IEEEtran} \hyphenation{Smart Grid} \usepackage[classicReIm]{kpfonts} \usepackage{siunitx,booktabs} \begin{document} \begin{table*} \centering \caption{Analysis} \label{tab:...
35 views

### Order of appearance in nomenclature [duplicate]

In fact I want to have a two columns nomenclature in order, but when I write them in order in the result they are not in the order, I have already read the nomencl package : sort by order of ...
26 views

### How is the correct way to use “\ tl_rescan: nn” and “\newlinechar” in xparse?

I am trying to implement a new environment using the xparse andfilecontentsdef packages. I have some complications with the use of \tl_rescan:nn and \newlinechar. The idea is to generate a new ...
25 views

### tikz arrow tips, or a symbol with ->|, |-<, <-i shape, for the enter, indentation and de-indentation keys on the keyboard

The grammar of Python and other languages that use indentation for blocking, includes derivation such as Block ::= NewLine Indent Statemetns DeIndent I would like to write such a rule in my document....
175 views

### How to make transparent background from pdf to png

I try to convert a latex pdf to png and the background should be transparent. So I use pdftopng from XpdfReader for windows to convert: (bat-File) pdflatex Other.tex pdfcrop Other.pdf pdftopng -r ...
21 views

### Circling a collection of objects in a tree using xymatrix

This code \documentclass{amsart} \usepackage[all]{xy} \begin{document} \[ \xymatrix@-0.75pc{ \overset{1}{\bullet}& & \overset{2}{\bullet}& & \overset{3}{\bullet}& &\...
41 views

### C_c is not complete

I proved that the sequence f_n converges uniformly to f(x)=e^-x^2 where f_n given by the following graph: {(x,e−x^2):x∈[−n,n]}∪ the straight line segment from (−n,e^n^2) to (−n−e^n^2,0) ∪ the ...
21 views

### pfg axis discontinuity options

is there a way to set the length of the discontinuity in the x axis? Here is the code I have used: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \...
26 views

How to no-indent the second line of large TOC entries in memoir class? I found a solution using toсloft, but I can not find how to do it in a memoir. Thanks!
28 views

### Title formatting the section makes the bibliography header disappear

I used a section style that I found here. The problem is that the header of the bibliography becomes a box even though I've tried to make a separate style for unnumbered sections. \documentclass{...
10 views

### Kile: do auto completion only when hitting spacebar

I was trying to get a good autocompletion in Kile. Therefore I made a .cwl file and used this to store all the words that I regularly misspell. I also turned on 'Auto completion for abbreviation' so ...
513 views

### Partial derivative with respect to three variables

I just started learning LaTeX and I am facing problem in writing the following equation, can anyone please help me out?
16 views

### Disable inconsolata package in headlines

\documentclass{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{inconsolata} \usepackage{listings} \lstdefinestyle{General} { basicstyle=\small\ttfamily } \lstset{style=...
26 views

### Table column width distribution

I got the following table: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tabularx} \usepackage{pbox} \title{Skills Matrix} \author{Raphael Fritz} \date{February 2019} \begin{...
23 views

### Referencing to a standard (eurocode) several times yet different sections

So I want to reference to several sections in the eurocode without a massive bibliography. Today I'm creating a new @standard for every section in a standary that I need to reference which of course ...
11 views

### Add an indent to appendix line in ToC for included appendix

I asked how to add an indent to a toc line for an appendix here. In my real structure I am including the appendices: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \...
124 views

36 views

### How to remove unit from variable?

I want to draw an arc of a certain length in cm, so I divide by the circumference in cm and multiply 360 to get the segment in degrees. (Is there a shortcut?) In my MWE b is the unitless number I want ...
30 views

### How to structure my thesis

I am currently writing my BSc thesis and want to use LaTeX. I am using Texmaker on Windows and have several problems that occured. I want to use BibTeX for my literature and \bibliographystyle{...
27 views

### tikzpicture and background package, page bolder not black only grey

My MWE: \documentclass[a4paper]{article} \usepackage[left=2.2cm,right=2.2cm,top=2.2cm,bottom=2.2cm]{geometry} \usepackage{background} \usepackage{lipsum} \usetikzlibrary{calc} \usepackage[magyar]{...
11 views

### \PYGdefault undefined error in TeXstudio - how to remove the __minted_* folder?

I installed TeXstudio and texlive with sudo apt install texlive-full afterwards I installed the pygments with sudo apt-get install python-pygments and I used the command % !TeX TXS-program:compile = ...
27 views

### How to escape [ and ]

Consider this script \documentclass{report} \usepackage{graphicx, subfig} \begin{document} \begin{figure} \subfloat[$a>5$~[a.u.]]{% ...
54 views

### \startalign and \startcases are not compatible

In ConTeXt, it seems that \startalign and \startcases are not compatible. If so, what should I do when I want to align an equation containing a case-statement and a following equation? \starttext \...
36 views

### Adding a curved arrow in a TikZ picture

This is my code: \documentclass{standalone} \usepackage{tikz} \usepackage{xcolor} \usetikzlibrary{calc,patterns,decorations.pathmorphing} \usetikzlibrary{decorations.markings,positioning} \begin{...
196 views

### Trying to make a 3dplot

I'm trying to make 3d plot. Unfortunately, I can't succeed in getting the desired figure, as shown below. Here is the figure, where it's a sphere have a charge of -1 inside. And coordinate axes are ...
66 views

### Different color when node is contained in rectangle

I have: \documentclass{scrartcl} \usepackage{tikz} \usetikzlibrary{parrows, arrows.meta, math, matrix, positioning} \begin{document} \begin{tikzpicture}[ vertex/.style={draw, circle, inner sep=0,...
17 views

### How to increase the space between two equations written in subequation environment?

I have written the attached optimization problem. But, as it can be seen that equations (1c)-(1j) are very close to one another. I want to add a small space between each equation. What is the neatest ...
28 views

### beamer: position section head in a fixed position

Consider this example: \documentclass{beamer} \AtBeginSection[]{ \begin{frame} \vspace{3cm} \centering \begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title} \...
18 views

### JabRef and entrytype @Standard

Anyone that knows why entrytype "@Standard" does not exist in JabRef (anylonger?)? /Lars
25 views

### how to insert capital lambda in beamer equation? [on hold]

here is my code: \begin{multline} F_k (t|_{c_i = g,\,b_{ig}}) =1-\exp \Biggl\{ \exp \left( \log\int_0^t \Lambda_{ik} (u)du \right) \Biggr\}\hfill \end{multline} \end{itemize}
13 views

### usepackage[modulo]{lineno} - need also linenumber on line 1

I use lineno to number my lines, obviously. I need a number every 5 lines so I enabled the option modulo. But, because 1 mod 5 <> 0, the firstline does not get numbered. And as you already ...
42 views

### Creating tree of trees in TikZ

I would like to create a tree in TikZ whose nodes are trees themselves. I have the following piece of code: \documentclass{standalone} \usepackage{tikz} \usepackage{tikz-qtree} \tikzset{% ...
22 views

### Appendix: “Appendix” not in ToC but in header

\documentclass{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[title,toc,titletoc,page]{appendix} \begin{document} \tableofcontents \chapter{MyChapter} \begin{appendices}...
15 views

### pgfplots: Hide curves from plot

Is there a way to hide the first two curves, so only the Total is shown? Unfortunately, forget plot only excludes a curve from being listed in the legend. \documentclass{standalone} \RequirePackage{...
31 views

### when i write the $\Sigma$ in beamer latex the symbol is not visible. it is black. so how can i write it? any body can help me? [on hold]

$\Lambda_{ik} (t|_{}c_i = g,\,b_{ig}) = \log \int_0^t \lambda_{ik}(u)du$
21 views

### Listings: Inline text too small in headlines

\documentclass{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{listings} \lstdefinestyle{General} { basicstyle=\small\ttfamily } \lstset{style=General} \begin{...