# All Questions

177,111 questions
38 views

### Changing escape character in \tl_set_rescan:Nnn

I'm playing around a bit with the \tl_set_rescan:Nnn function (originally to make this answer more concise), but I'm struggling to make even pretty simple uses of this function work. Say we want to ...
18 views

### fontawesome5 instead of fontawesome in komacv?

In the most recent version of fontawesome5 when used with komacv, for example with a try of an MWE \documentclass[11pt,a4paper,sans,,DIV=12]{komacv}% \usepackage[pro]{fontawesome5}% \faStyle{light}% \...
11 views

### autobreak/allowframebreaks/allowpagebreaks problem in long Org+Beamer file when exporting to long slides

(1) I’d like to use an long Emacs + Org-mode + Beamer file (.org) to export a long slide. The .org file is about 100 pages, the slide will goto about 500 pages. So I would like to make the export ...
28 views

### Can we use <tr>,<tdy> tags in Latex? [on hold]

I have got a dataset in which I have images of all the tables in several documents. An example of such an image is . I also have some of the code associated with the corresponding table. For this ...
9 views

In the most recent version I stumbled upon a small error that is maybe not so hard to fix, but I am unable to do it. When setting the option style=casual This gets passed down to (I think) hyperref ...
15 views

### Different spaces before links in bibliography

There are different size of spaces before links in the bibliography. My BST file and MWE are given below. How can I fix the space problem? Thank you. My bst file: Link 1 Alternative link for bst ...
25 views

### LaTex will not include reference

I'm writing a project in LaTex, and when I'm inserting a reference, it will not work. The name I named in the bib-file only gets into the pdf in bold. Here is my code: \usepackage[backend=biber,...
17 views

### Avoid vertical space below ending subtitle in tcolorbox

I think that a good solution for How to put a line above the lower part of tcolorbox and How to make lower part of tcolorbox as tall as the title could be to replace the lower text with a tcbsubtitle. ...
18 views

I'm using multibib for my thesis. I have two bibliographies. The first one is for my publications while the second is for all the papers that I cite. When I'm using the same style for both (\...
22 views

### How to keep the lemma numbering same in different slides?

I am using beamer representation. I want to keep the number of the lemma's same through different slides. I do not want to renumber the same lemma in different slide \documentclass{beamer} %\...
45 views

### Tikz language syntax

I'm hoping to add a tikz-specific language environment to my LaTeX editor (vscode), I've run into a bit of an issue looking for any speicifications for tikz grammar though. Would anybody know of any ...
30 views

### Why “underfull box” message is printed?

In TeXbook, p.27, it is said: And further: If there’s no way to meet these restrictions, you get an overfull box. Here is how to reproduce this text: \input manmac \begindisplay \hbox spread-1em{...
260 views

### how to plot complicated function

i know how to draw axis and everything else except the function here , please give me hint to plot this function Thanks for the help
39 views

### How to create the table shown in the figure?

It contains damage parameters of a building.
15 views

### Removing natural indent for itemize in LyX

I would like to know whether it is possible to make an itemize list in LyX, with no indent. By default, the itemize list has a space before the text, as in the following picture: For LaTeX, the ...
20 views

### xskakloop printing out of moves - page 35

In my previous post, bigger font in labeling and diagram going side to side, I left out the solution so this is a continuation. I want to print out only the white moves. The code on page 35 is not ...
18 views

### Remove numbering and edit intendation in Lyx

I need to print some python code in lyx. I have to print code like: b)def sq(t, x): y = x**2 return t(y) But, when I try the code, in Lyx, I can't remove the inner numbering and control ...
25 views

### Bar plot in terminal node of tikz-qtree

I want to draw a bar plot at the terminal nodes of a tree drawn with tikz-qtree. I have tried this: \documentclass{article} \usepackage{tikz-qtree} \usepackage{pgfplots} \begin{document} \begin{...
63 views

### How do I cite this apparently unpublished paper?

How do I cite the paper The fundamental distinction between brains and turing machines, by Andrew Friedman?
24 views

### How to change numbering of listings [duplicate]

My listings have the numbering 1.1, 1.2, 1.3 - 2.1, 2.2, ... I need them to be continuous regardless of the chapter or section, being 1, 2, 3, 4, 5, 6, ... The commands i used on listings: \...
40 views

### Catching MikTeX errors while compiling Tex inside Microsoft C#.net

I can successfully compile a TeX file inside my Microsoft C#.net program - as explained in this forum here. Question: Is there a way to catch MikTeX errors in a C# program? I'm thinking MikTeX may ...
46 views

### Definitions made with \newcommand die after one use

I'm using Overleaf. I created a simple command to combine \textbf and \texttt. \newcommand{\textbftt}[1]{\textbf{\texttt{#1}}} The definition is in the document prelude file. I use the \textbftt ...
29 views

### xskak manual page 36 - diagram below printing of moves

Last nite, I saw a german chess book with a diagram after every 5 moves. The 1st five moves were shown, then followed by a diagram. Following Ulrike Fischer's feedback, I added her code. When I ...
54 views

### I would like to know how to add the page break to my table. I'm having a big problem with that

begin{table}[h] \centering \caption{Principais trabalhos referente à pesquisa sobre hidratos, contemplando primeiro, segundo e terceiro período de estudos - ordem cronológica de 1778 à 2005.} ...
33 views

### Reduce vertical distance between lines in algorithm2e

How do I set the default vertical spacing between lines in algorithm2e? In particular I'm looking for a way to reduce this distance. In this question the author asks how to increase the distance ...
67 views

### Italics in LaTeX

I apologize for posting such a stupid question. I made an honest effort to find an answer online but could not. Which package must you include to use the italics command \textit{}? More generally, ...
26 views

### Error Message ! LaTeX Error: File mathdesign.sty' not found

I am new to Latex and keep getting the same error message: ! LaTeX Error: File mathdesign.sty' not found. This error message appears even when the line is deactivated (?) using %. The line that the ...
213 views

### CircuiTikZ: Start ground relative to the closest component

Here is a short compilable example \documentclass{article} \usepackage{tikz} \usepackage{circuitikz} \begin{document} \begin{circuitikz} \draw node[ground]{} to [short,*-] (0,0) to [C] (...
17 views

### Bold font within pgfplotstable header row

I like to have a definition within the pgfplotstable header row turning the header text to bold font face. Somethng like: every head row/.style={before row={\toprule}, after row=\midrule, \textbf{#1}}...
30 views

### How to add horizontal, then vertical shorts in circuitikz

I've noticed that in circuitikz, while the regular tikz lines of horizontal-then-vertical (-|) and vertical-then-horizontal (|-) lines work fine when joining two items with different absolute ...
49 views

### How to make lower part of tcolorbox as tall as the title

How can I make the gray part as tall as the title box (the red part)? I tried changing bottom and middle, but middle changes the space between the text and the lower box (which I don't want), and even ...
20 views

### An error compiling a piecewise function in Latex [on hold]

I'm trying to compile the following code with pdfLatex and receiving an error. Code: \[ \overline{u}(x) = \begin{cases} u(x) & x \in B_R \text{ (closed ball of radius R)} \\ \infty & x \...
50 views

### Is there a tutorial on writing messages from expl3?

I'd like to use the message facilities of expl3, but the documentation for l3msg only gives the syntax. In particular, it does not explain which commands are only legal after \begin{body}, it does not ...
55 views

### Alternative to using nested tikz in reference-able markers

based on this nice question and its answers, I have this little code: % % circled steps (with labels to reference them!) % \newcommand*\circled[2][]{\tikz[baseline=(char.base)]{ \node[...
38 views

### Number equation problem in eqnarray

I have a little problem with my equations using eqnarray and I can't solve some of them. 1) I have zeros between the equations numbers (in all equations). To solve that I saw this code below (and it ...
30 views

### How to adjust siblings spacing in TikZ graph?

I have drawn the following right expanding tree graph in beamer, but its branches overlap each other. I have tried the sibling distance option but don't get the required results. Does anyone have an ...
25 views

### Rendered Overleaf PDF won't print past page 30 [on hold]

Good morning. I have a document that I'm writing a rough draft for on Overleaf and it's going to be more than 30 pages. However, when I render the PDF to see how it will look, the PDF will stop ...
19 views

### “There's no line here to end” at \section* [on hold]

I am compiling a book with pdflatex and am running into the error "There's no line here to end" at \section*{Preface} (included by the book's LaTeX via preface.tex) Can anyone please help me fix ...
34 views

### Is there a way of generating fluid flow graphs similar to those of 3B1B?

I've just seen 3 Blue 1 Brown's video on divergence and curl and found his diagrams on fluid flow to be so beautiful, especially for an article or book. Now, I'm familiarized with TikZ and PGFPlots, ...
30 views

How to enable package "amsaddr" for miktex. There is not "amsaddr" in directory of tex. That's why tex cannot find "amsaddr.sty". Thanks! Running the file amsaddr.dtx I have this picture, but there ...
34 views

### Message about missing } in \int_case:nn

I get ! Missing } inserted. <inserted text> } l.47 Test $\Id$ , $\Id{A}$ and $\Id{A,B}$ inline. when compiling \documentclass{article} \usepackage{...
20 views

### Using apacite but not getting apa citations

im trying to get apa citations to work with my current latex project using apacite and natbib. Its not working however since this is what i currently get when i use \cite:. I am using a template ...
83 views

### best way to draw planes in 2d?

I would like to replicate the following image and I would like to know how to represent the third state into the page by using the tikz-3dplot package, maybe starting from the answer to a previous ...
38 views

### How to implement tabular-lining with Cabin font?

In my TOC, I'm getting proportionally aligned numbers (see screen-capture). How do I implement Cabin's tabular-lining figure style, knowing that I only use Cabin for my headings? https://ctan.org/...
25 views

### How do I use the output of a macro to get multiple arguments for another macro?

37 views

### Including Orcid in plain latex using authblk

Lets say I have the following document: \documentclass[a4paper]{article} \usepackage{authblk} \usepackage{hyperref} \begin{document} \title{Some paper} \author[1]{First Last} \author[2]{Second ...
26 views

### My references have an indent after the 7th natbib item

As to be seen in the picture there is an indent because I use natbib. If I use ordinary bib instead I do not get this, but then I am not able to use citet().
81 views

### Value of physical constants in LaTeX

I want to use the value of physical constants in my LaTeX code through some reference. As far as I checked, mandi package seems to give the value of physical constants, but I prefer the style of ...