# All Questions

177,126 questions
2 views

### How to generate a table with all the chess notation

I like to learn how to create a listing of all the chess moves in a table. In my MWE, I manually enter in the 1st three moves. Is there a way I can do it through looping? \documentclass{article} \...
2 views

### Troube with british glyphs in KDE Neon 5.16

If I use /setmainfont directive in my document, this is what I get instead of british glyphs! On windows 10, we don't have this problem! What's the reason of this problem and how to fix it? \...
4 views

### Using key option to package that uses string cases

What's wrong with the following package and source file? I get an error at line 14, after [Other], of mypackage.sty, and a "Missing \begin{document}" error resulting. The source: \documentclass{...
3 views

### Trouble with TexLive's tlmgr in KDE Neon 5.16

After installing TexLive 2019 on this Linux Package, I'd tried to execute the following command in terminal: tlmgr --repository https://contrib.texlive.info/current install harftex but it gave me ...
8 views

### Summation of none zero counts

If you have an array of Y items, and want to count the items that are not zero for x in Array if (x!=0) sum = sum +1 How can we substitute this loop with a Summation equation using sigma ...
8 views

### Create a matrix of subfigures

I am trying to create a figure made of 7 subfigures, whose layout is: 3 subfigures on the first and second row (left aligned, centered and right aligned) and one subfigure on the third row (left ...
13 views

### Message '! Missing \endcsname inserted.' calling \msg_error:nn

I get the message ! Missing \endcsname inserted. <to be read again> \delimiter l.58 ...ore than two arguments for {\backslash}Id} ? For this document \documentclass{...
14 views

### Irregular bounding box for text in LaTeX

Bounding box example Can you tell me the package to use to make the irregular shape for bounding the text, as in the example just above ?
7 views

### How to add some shortcut for editing in TeXstudio

I would like to add some "commands for editing" in TeXstudio. For instance in the menu "TI" on the left which stands for 'TikZ', there is some "commands for éditing" TikZ commands, you click on it and ...
9 views

### Subfigure without caption but with labels for cross reference

I need to have subfigures with proper labels to cross refer, but doesn't need any caption for them. How can this be done?
12 views

### \usepackage{newtxtext} gives Undefined control sequence with MacTeX

Can anyone help, I am trying to compile a resume with XeLatex and there are no spaces between words in the PDF. I have the latest version of MacTex and I have also tried on OverLeaf. \pdfmapline{+...
20 views

### Use tikz folding library to create a candy or popcorn style box

I wondering how can I use a tikz folding library to create a box that does not have regular faces. For instance, consider this code: \documentclass[11pt]{article} \usepackage{tikz} \usetikzlibrary{...
10 views

### CircuiTikZ: Create a command to resize a single component

As frequently asked, I want to resize a single component in a circuitikz environment, which is achieved by passing /tikz/circuitikz/bipoles/length=<length> to the component options. I have the ...
26 views

### Evenly spaced boxes filling the whole page

I'm trying to vertically fill the whole height of a page with 3 evenly spaced boxes. This is what I have now \documentclass{article} \usepackage[showframe]{geometry} \usepackage[many]{tcolorbox} \...
19 views

### How to avoid printing in last line on every page for a particular command?

I am facing a minor issue the story heading text which is in \story{#1} is print in last line in one of the page, so how do i tell to latex if it finds the text from \story{} in last line then it will ...
16 views

### Adding a dot in chapter's name without cross-referencing problems

I would like to add a dot after the number of each section (including chapters) in a report class document. I'd prefer not to have to resort to Koma-script solutions. There are a lot of other good ...
23 views

### Citation without author's first name

I did not find the solution to my exact problem so I open a new post. I would like to cite in the text like this: (Doe, 2001) but with my code I have (Doe, J., 2001). Can you please suggest me how ...
15 views

### How to remove this resume palavers-chaves as shown in the image before abstract

\documentclass[10pt,english]{article} \usepackage{amsfonts} \usepackage{infocomp} \usepackage{times} \usepackage{amsmath} \documentclass{article} \usepackage{graphicx} \usepackage{amssymb} \usepackage[...
51 views

### How can I write this in LaTeX like image?

I'm new to LaTeX. This photo is part of my assignment, but I couldn't. How can I write like image(It has to be the same)?
11 views

### TexMaker - Index is not Automatically Generating

When I run PdfLatex in TexMaker, a .idx file is generated, but not an .idn file. Can I configure TexMaker to generate the .idn file? I use Ubuntu and can manually generate the .idn file by running ...
9 views

### Issue on using chapterbib with Springer svmono class

I am struggling to use chapterbib for Springer svmono class to get reference list for each chapter. I ran files on Textstudio & MiKTeX. Once the command \usepackage{chapterbib} was added, all ...
20 views

### Using cellcolor with tabu

I have made the following table: \usepackage{tabu} \usepackage{xcolor,colortbl} \begin{center} {\tabulinesep=1.2mm \begin{tabu} to 0.9\linewidth { |[2pt] *{3}{X[1 c]|}[2pt] } \tabucline[...
29 views

### How to color tikz mindmap nodes by y-coordinate

In a mindmap, I would like to color (most) nodes according to their y-coordinate, that is, their height on the page. For this, I am accessing the viridis colormap and sample its colors. Using code ...
21 views

### How to graph boxes and texts within an image

I'm trying to do the following but it has not occurred to me what package to use, over there I heard Tiks:
38 views

### How to store a number inside \def or \newcommand command?

In the of the following code, I store in-center to the point I by command \incenter(A,B,C)(I). I want to store in-radius to a real number \inr by command \inradius(A,B,C)(inr), then later I could ...
14 views

### Closing braces become quotes when using inconsolata in minted listings

I am using inconsolata font for monospace text. When I use it in minted environments, closing braces are shown as quotes in output. The following is a minimal example showing the issue, and the two ...
48 views

### How to draw this center trajectory of rolling ball?

I'm a beginner to the latex tikz and I want to draw this picture but dunno what's the best command or idea here
48 views

### Crimson font does not hyphenate words in English?

I'm using the Crimson font as \usepackage{crimson}, but I've had some problems regarding the automatic hyphenation. A MWE would be (sorry for the long text): \documentclass[letterpaper, 11pt, oneside]...
12 views

### Minipage after paracol overflows instead of starting a new page

I have a minipage that is placed after a section of 2 parallel columns, set with paracol. The minipage overflows the bottom of the page, rather than breaking onto a new page. How can I get the ...
31 views

### titlepage with hyperref in overleaf not working

My goal is to create a title page with links like the first page of the pdfrender package available here: http://ctan.math.utah.edu/ctan/tex-archive/macros/latex/contrib/oberdiek/pdfrender.pdf On the ...
22 views

### Creating a table with just 2 columns [on hold]

I have the following table \begin{center} \small \begin{tabular}{|c|c|c|} \hline Parameter & Economic Interpretation\\ \hline $\beta$ & Discount Factor\\ \hline $\delta$ & Capital's ...
15 views

### itemize/enumerate are throwing a TeX-deactivate-mark issue in Aquamacs

I am using Aquamacs 3.4 in macOS 10.14.3, and have been using Aquamacs for years. When I insert an "itemize" or "enumerate" environment into a LaTeX document using C-c C-e, I get the expected prompt: ...
22 views

### How to install texlive from DVD onto a 32bit linux machine?

I have just received the TeX Collection 2019 DVD and tried to use it to install texlive on a 32bit linux PC. The installer said something along the lines that no binary was available for my system and ...
41 views

### How to colour a table with opaque colour such that no text and no lines are visible?

I am iterating a latex file and want to colour all the tables green such that no text or no lines are visible. I tried using "transparent" but it fades the colour along with the text. I want the ...
29 views

### Making list of figures captions wrap before the numbering

My dissertation style manual has this guidance that in the list of figures a long caption should wrap before the page numbering so they do not collide as shown below: But so far I have a list of ...
21 views

### How to change color to black with \citep

Edited Version I am working on the template (MastersDoctoralThesis) downloaded from here I searched a lot here for a solution to my problem but couldn't find, please be patient with me. \...
31 views

### How do I make a non-breakable paragraph?

According to this link I can use ~ to make a non-breaking space. But how do I make a non-breaking paragraph? Example: Have a look at this table: \begin{table}[h] ... contents ... \end{table} ...
31 views

### Some items in enumerate jump left out of margin

I have a boxed list in latex, and for some reason some items jump out of the box out of the left margin. I cannot figure out what is causing this and already have searched and tried some fixes. The ...
23 views

### Track changes in LaTeX counters' values

I would like to execute a macro whenever a specific counter changes value. For example: \newcommand{\process}[1]{do something with argument} % ??? (What should I write here?) \stepcounter{somecounter}...
11 views

### Glossary page not generated

I am trying to generate a glossary for my PhD thesis. I am using TeXmaker on Windows 7. I put my glossary entries in a separate .tex file and call it in the main file. When I compile with pdflatex, ...
90 views

### Drawing people along with x and y axis

I need to draw what’s on this picture: I would like to add tikzpeople instead of the simple drawings that you can see in the original picture. \documentclass[tikz,border=2mm]{standalone} \...
36 views

### My spaces are swallowed

I want to have my code examples show up with not only \code{\textbackslash texttt} but also a grey box. You might be familiar with the looks from some famous web page with questions and answers on ...
20 views

### Recommendation for good quoting/citation technique?

It seems to me that there are several ways of quoting. I know of these: package csquotes: commands like \enquote package BibLaTeX: commands like \autocite, \autocite and \textcite package quoting ...
6 views

### Beamer Section Direction Alignment RTL

How can I alight Beamer Section to the right RTL. I have tried this code but could not figure it out. See attachment: Here my code \documentclass[xcolor=dvipsnames,svgnames,table]{beamer} \...
20 views

### Captions overlapping in list of figures

While trying to get the formatting right in my thesis, I have run into an issue where the figure captions in the list of figures are overlapping. I spent quite a bit of time in trying to create a MWE ...
17 views

### How can I remove text outliers from the white borders in the output PDF?

For example in this accompanied image. I want to write my script in a way that cuts off the light blue text outliers.
18 views

### Wrap Text in Table / Text Extends Past Page Margins

I would like to know who to wrap text in a table, and also to keep text from off the page of the document. Below is the code I have written so far. I am trying to wrap the text under 'Relevant ...
25 views

### I am getting a part of my figure name on the top of the figure. How to overcome it?

this figure delivers the flowchart of fragility curve development through IDA