# All Questions

217,281 questions
Filter by
Sorted by
Tagged with
14 views

### xparse instructions and enumitem formatting appear to be lost on pandoc

xparse instructions and enumitem formatting appear to be lost on pandoc (inline and {{; }} in this case). It's been pointed out conversion from LaTeX to TeX is not possible, so what are the options? ...
11 views

### How to fix error “\caption outside of float”

here is my code: \subsubsection{Example 1} \begin{center} \begin{tabular}{l | c | c } Fib. Num. & $3x+5$ & Convergence\\ \hline Fn 0 & 5 & \\ Fn 1 & 8 & 1.6\\ Fn 2 & 8 &...
10 views

### How to fill the different ending blank parts with horizontal lines?

There is a part of the blank after the end of my article page and I want to fill it with a horizontal line. How can I fill the entire page just so slowly? Different ending parts have different blanks. ...
13 views

This is a follow up to this post from which I've copy pasted the *lvt file and named it after its author. the goal is to generate a tlg file for future tests, hence the call $l3build -save ... and ... 0answers 8 views ### Problem making comparison on item in \clist added from itself Could someone please explain to me what's going on here? \documentclass{article} \begin{document} \ExplSyntaxOn \clist_new:N \l_a \clist_new:N \l_b \clist_set:Nn \l_a { a } \clist_put_right:Nn \l_a {... 2answers 31 views ### Evaluating expressions using xfp I want to generate two integer random numbers for the radius (r) and heigth (h) of a cilinder, in a certain question of my exam. I am using the package xfp to generate the random numbers. However, I ... 0answers 34 views ### Can you draw a sphere using TeX? [duplicate] I'm pretty new to TeX apart from MathJax, and I don't know exactly how am I going to draw a sphere using some variation of TeX apart from MathJax. So if I use \sphere on MathJax, it won't pop up and ... 0answers 46 views ### Drawing block diagram using tikz Can anyone help me with drawing this block diagram? \documentclass[10pt,a4paper]{article} % \usepackage[turkish]{babel} % \usepackage[latin5]{inputenc} % \usepackage[T1]{fontenc} \usepackage{graphicx}... 0answers 11 views ### Link theorem to appendix section Looking at the picture below, I would like to add a hyperlink around "Lemma 1" (instead of "(a)") that directs to a section of the appendix. The challenge is that my lemma ... 0answers 41 views ### High quality graphs from Excel into Latex Title says it all, we have data in Excel and we have found Kutools to create pdf files from tables , but it is not working for charts. We have tried export graphs into png, pdf and it has low quality ... 0answers 16 views ### Color box with multiple lines and underlined text (within a paragraph) In a paragraph, I want to highlight some part of the text (not the whole paragraph!) with a colorbox and also underline the text within that colorbox. This would be the result that I am looking for: ... 1answer 36 views ### Draw two symmetrical pseudo root nodes for binary tree using tikz [duplicate] I need to draw a binary tree (in fact the Stern-Brocot tree) with two pseudo nodes as parents to the root, as seen in the first picture. At the moment I'm using tikz to draw it but the two pseudo ... 1answer 29 views ### How to include page number at the top right corner? I used the code which I found here before to add numbers at the top-right corner, and they worked, except that I wanted it to start at the title page. The code that I have below only starts placing ... 0answers 18 views ### Problem with installing Tex Live for LaTeX workshop I was hoping to turn my VS Code into a TeX / LaTeX editor. I came across an extension called LaTeX workshop which told me I had to install Tex Live. Once I downloaded the installer my AV told me it ... 0answers 17 views ### Package Fancyhdr Warning Does anyone know how to solve this warning? The document is composed of several chapters, included through the \input command. The warning does not affect the compilation process of the document (at ... 1answer 16 views ### 2 overlays, end with all the overlays I have the following code, with the result in a gif picture: \documentclass[]{beamer} \usepackage{tikz} \begin{document} \begin{frame}{About colors} \begin{columns} \column{0.5\textwidth} ... 2answers 45 views ### Making the abstract text available as a macro Is there an easy way to make the abstract's text available in a macro, say \theabstract? I can do this with the following code: \documentclass{article} \usepackage{collect} \title{A test document} \... 1answer 36 views ### Graphing$y=\dfrac{\sin(2x)}{1+cos^2(x)}$I am trying to sketch the graph of y=\dfrac{\sin(2x)}{1+cos^2(x)} using tikzpicture using the following syntax: \documentclass[]{article} \usepackage[margin=0.5in]{geometry} \usepackage{pgfplots} \... 1answer 30 views ### Why I am not getting a long equation in a continuous way in next line? The Code of my equation is as follows: \frac{d^2f_0}{d\xi^2} + \frac{1}{f_0} (\frac{df_0}{d\xi})^2= \frac{n!}{(m+n)!(2n+m+1)}\frac{1}{f^3} \left[\frac{(m+n)!}{n!} (-2n-m+1)+ (2n+m)^2 ... 2answers 19 views ### Erase newline at the beginning of a multline* environment I have the following source: \item {\large \begin{multline*} \neg \left(\forall r_1, r_2 \in \R \right)[\left(r_1 \cdot r_2 <0 \right) \Leftrightarrow \\ \left( \left( ... 1answer 48 views ### Why are the contents inside the beamerbuttons raised from the baseline asymmetrically? In these lockdown days, I am creating my entire lecture note in beamer and I use the beamerbutton for cross-reference purpose mainly. As a result, I have to place it in the middle of a line. The ... 1answer 24 views ### Get the title or section format I want to make a book of abstracts and would like to set the abstract titles with the format of sections (for example). How do I get the format of the section to make random text look like it later, ... 0answers 97 views ### MiKTeX can not update I'm trying to install MiKTeX on a windows 10 machine. While updating after installation it stuck on package miktex-zzdb1-2.9 and says package="l3backend", arhiveFile="C:\Users\portable\... 2answers 60 views ### confusion about$ sign

\begin{document} i_{t}=$\sigma$ (W_{xi}x_{t}+W_{hi}h_{t-1}+W_{ci}c_{t-1}+b_{i}) %This line generates error f_{t}=$\sigma$ (W_{xf}x_{t}+W_{hf}h_{t-1}+W_{cf}c_{t-1}+b_{f}) ...
28 views

### Side by side tables

I am writing a document (single column) but at some point I want to display two tables side by side and I do not know how to accomplish it. I provide below a minimum working code with the two tables I ...
18 views

I'm making a little pen and paper game with an index of items at its back. During the game, the player encounters items with instructions on where to find the item's details at the back of the ...
17 views

### Increase the thickness of an arrow in xy and tikz-cd package

We start from these simples MWE. The first is done with xy package, with your tips: \documentclass[a4paper,12pt]{article} \usepackage[all]{xy} \begin{document} \xymatrix{A \ar[r]& B} \end{document}...
10 views

### Adjusting fontsize of specific table in external .tex file

\begin{longtable}[]{@{}llllllll@{}} \caption{Descriptive statistics of the European Parliamentarian data subset. \label{tbl:desc}}\tabularnewline \toprule \textbf{Statistic} & \textbf{N} & \...
21 views

### Label edges in tree node (forest)

I have this tree and would like to label the edges but have not been able to find out how. Could anyone explain me how to do thi, please. Any help is appreciated. \documentclass[12pt, tikz]{article} \...
28 views

### Reference writing in Latex

When I wanted to cite a paper in the past, I could receive the paper on Google Scholar and get its Latex item. But some are not searchable on Google. For example, I saw this in other paper references: ...
28 views

### How do I align inference lines for sequents

How do I adjust the inference lines so that they align? \documentclass{article} \usepackage{bussproofs} \begin{document} \begin{tabular}{ c c } \AxiomC{} \LeftLabel{Axiom: \ \ } \...
11 views

### Producing a selective list of references from a .bib file

I am currently writing an article for a journal. I have a References.bib file with about a 650 entries of which, I have only cited around 85. Is there a way to ask Latex to produce a separate .bib ...
19 views

### Working with the time coordinates from a csv file [closed]

I have made a measurement with a descent oscilloscope, and exported the fields to a csv file. I want now to make a graphics drawing of this measurement with pgfplots. The measurement starts at time t0=...
29 views

### Lining figures in math mode, but oldstyle figures in URLs

Basically, I want to achieve the same as for instance in this question: Changing the math-mode figures to “old style”. But not in general math, only for URLs, which are set in math mode (in the manual,...
45 views

### Projecting 3D Data set to 2D plane using pfgplots

I would like to project a 3D data set into a 2D plane at the bottom of a predefined 3D axis enviroment. Therefore I use the following code. The code does not achieve the wished results and plots a ...
20 views

I have problems with creating the table of contents in LATEX. Could anyone help me Instead of 2 then 2.1 and 2.2, the table turns into this order [![enter image description here][2]][2]
44 views

### How can I write this list symbol in Latex?

I am still a beginner to LaTeX, and I would like to know how to write this list (3 exclamation marks are in a square).
31 views

### How to break lines automatically in my framed section headings?

With the following code, I get this output: \documentclass{book} \usepackage{tikz} \usepackage{lipsum} \usepackage[explicit]{titlesec} \titleformat{\section}[hang] {\normalfont\Large\bfseries} {% \...
10 views

### Using tikzsetnextfilename for naming external tikz-files disables tikzscale

To implement the approach discussed here: Automatic detection of Overleaf for fallback images I wanted to give my tikz-files their own names, such that I can either include the tikz-file when ...
25 views

### why no colon after location with biber apa?

MWE: \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{hyperref} \usepackage[backend=biber,style=apa,natbib=true]{biblatex} \addbibresource{/home/joe/...
95 views

### Parentheses around part of Tikz matrix

Given the following matrix, how can I change the parentheses to enclose only the numbers of the matrix, like the ones that I scribbled in the picture below? \documentclass[border=5pt]{standalone} \...
27 views

### altacv: change head position and alignment

I use this altacv template. I have change photo position thanks to that and moved sidebar thanks to that. But the matter is that there is photo requirements for my cv: 4cm * 6cm size. I've added 7cm ...
25 views

### How to fix this bug when using picins command inside list environment?

When I used the command \parpic of picins package inside enumerate environment, it made the trouble that the label item was not co-linear. I don't want change package so help me to fix it. Thanks. ...
48 views

29 views

### error messages in algorithm package

I got these errors while writing an algorithm. Can anyone help? Missing number, treated as zero. \ALG@currentblock@0 l.273 \end{algorithmic} Missing = inserted for \ifnum. l.273 ...
6 views

### How to write “latex-workshop.latex.tools” in VScode settings.json if I'm a tinytex user

My os is manjaro and I'm quite tired of downloading and installing texlive (5G or even bigger), because I'm familiar with R so I try tinytex instead. I found the tinytex version "latex-workshop....
62 views

### \mathbb{Z} is not working properly for \not?

32 views

### Unicode characters within VerbatimOut of fancyvrb

Consider the following example, in which the sentence Ceci est un résumé. is written into the file \jobname.mytmp and then being read back. \documentclass{article} \usepackage{fancyvrb} \begin{...