Questions tagged [tex]

TeX is a typesetting system, where the output is defined by command-sequences. Note that https://tex.stackexchange.com is specifically dedicated to TeX questions.

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

How do I insert an inline shape into a Manim Mathtex Mobject?

In Manim I'm using MathTex to display equations. I would like to allow variables in the equation to be shapes that I have constructed with other Manim functions. And not just a Circle or Square but ...
Cortado-J's user avatar
  • 2,047
0 votes
1 answer
23 views

Tex error: Misplaced \omit. Misplaced span

I am still new to LaTex, and I am creating a big table and try to fit it into one page. Here is my part of the Tex, and I keep received error messages like the image attached. Could you please kindly ...
Susie Qin's user avatar
1 vote
1 answer
30 views

Remove the table environment using kable (from R dataframe to TeX)

Hello suppose I have my dataframe as: a <- data.frame("column 1" = letters[1:5], "column 2" = letters[6:10], "column 3" = rnorm(5)) I use kable to produce a TeX table ...
Jorge Paredes's user avatar
1 vote
0 answers
15 views

"pdfTeX error: cannot open Type 1 font" problem while loading Arabic script on LyX

When I do an attempt to exporting to PDF a document with Arabic text on LyX using pdfTeX engine, appear an error like this. !pdfTeX error: pdflatex (file ae_almohanad_bold.pfb): cannot open Type 1 ...
Muhammad Hikam Zainuri's user avatar
0 votes
1 answer
41 views

use macro in doxygen that relies on etoolbox package

I have a macro defined as \usepackage{etoolbox} %to use \ifstrempty \newcommand{\ISet}[1][] { \ifstrempty{#1} {\mathfrak{i}} {\mathfrak{i}_{#1}} } which relies on the etoolbox ...
Simon's user avatar
  • 317
0 votes
1 answer
20 views

Trying to Override the Linguist attributes on GitHub - TeX language

Git hub has detected my repo to contain mostly TeX Language which is incorrect, it is mostly written in Python with the exception of a couple of .spec files. GitHub Language calculation: I understand ...
Dmitry's user avatar
  • 1
1 vote
1 answer
146 views

Unable to use JuliaCall package

I'm new in all this. I had installed in R the packages needed for Julia, i.e (JuliaCall), in Julia terminal I had install also other package called - using Pkg Pkg.add("RCall") when I try to ...
Garzacc97's user avatar
1 vote
1 answer
45 views

Running RsTeX on Linux

I came across this interesting project RsTeX that was a manual implementation of Donald Knuth's tex program in C++. As far as I have read, the program appears mature and passed the trip test (tripman....
Talmsmen's user avatar
  • 183
-1 votes
1 answer
118 views

Latex: usepackage on part of the document

I would like to use \usepackage{} only on part of my document. The other part of the document is completely made up and now it would be out of order by entering this package in that part as well. But ...
nick_name's user avatar
  • 161
0 votes
0 answers
8 views

Python syntax for path in the package arxiv_latex_cleaner? [duplicate]

I'm trying to delete all comments from a .tex document. The package arxiv_latex_cleaner is supposed to do this automatically and remove unnecessary files. I'm using the syntax as stated in the package ...
PaulG's user avatar
  • 276
0 votes
0 answers
56 views

Removing toprule from Table created using kableExtra not working

I've created a table using kable/kableExtra. This is the code: library(kableExtra) tbl_img <- data.frame( name = c("kableExtra 1"), logo = "" ) tbl_img %>% kbl(booktabs = ...
Vikalp Jain's user avatar
0 votes
0 answers
39 views

column_spec function giving error in kable, kableExtra

I'm trying to create a re-usable block to create a table. Table will have just one brown and two columns. First column will have text and second column will have an image. This is what I've come up ...
Vikalp Jain's user avatar
0 votes
1 answer
50 views

Change the name of the statistics using tabstat in stata

suppose you have this data input x1 x2 x3 1 2 3 4 5 6 7 8 9 end then you do this: estpost tabstat x1 x2 x3, stats(mean median var p5 p95 count) c(v) and you want to export it with esttab (...
Jorge Paredes's user avatar
0 votes
1 answer
835 views

LaTeX ERROR: "Missing number, treated as zero" & "Illegal unit of measure (pt inserted)."

I can't solve these problems with my latex project. In particular, the errors are: Missing number, treated as zero. Illegal unit of measure (pt inserted). I tried to comment every 'suspect package' ...
giuseppeantoniomotisi's user avatar
0 votes
1 answer
50 views

Make Pandoc recognize 'ragged right' attribute

I'm converting plenty of documents from Word, LibreOffice and HTML into TeX source. I've encountered this issue that Pandoc is unable to recognize the text being ragged right and thus the text stays ...
Just Bucket's user avatar
-1 votes
1 answer
49 views

How to prevent LTeX from spamming my "PROBLEMS" tab

I am using the vscode extension LTeX to help me find misspell in my LaTeX documents. But there is one thing that annoys me, it also finds "misspells" in some latex configuration files. How ...
Barboutzet's user avatar
0 votes
1 answer
91 views

How do I write something on a page that I have included in Latex using \includepdf?

I included a pdf page on my document (using the pdfpages package) and I want to type on the page that I have included. How do I go about this? I was able to insert the page number on the page using ...
user998479's user avatar
1 vote
1 answer
92 views

How write the text "ї φ" at MATLAB?

How write the text "ї φ" at MATLAB? This code: text(0.1, 0.1,'ї \varphi') text(0.1, 0.3,{'ї $\varphi$'},'Interpreter','latex') text(0.1, 0.5,{'\text{ї} $\varphi$'},'Interpreter','latex') ...
Imyaf's user avatar
  • 25
1 vote
1 answer
67 views

How change the FontName of Greek Letters at MATLAB TeX text?

How change the font type of Greek Letters at MATLAB TeX text? The 'FontName' does not work. I try this code: text(0.5, 0.7,'\it\Omega \phi A b','FontName','Times New Roman','FontSize',50); text(0, 0....
Imyaf's user avatar
  • 25
0 votes
1 answer
2k views

Inserting a SVG into a LaTeX document [closed]

I would like to add a logo into my Latex document. Since using \includesvg did not work for me (I am using ubuntu and I have installed incscape) I resorted to manually converting the svg file into a ...
tomle's user avatar
  • 9
-1 votes
1 answer
77 views

Why it's not possible to minify Latex code?

I'm writing Latex code in Overleaf and I was curious if it's possible to minify Latex code. Maybe it isn't possible to fit all the code in just one line (like with Javascript) but it could be possible ...
edoardottt's user avatar
0 votes
0 answers
92 views

LaTeX errors from Doxygen Output - Undefined tab position

I am getting LaTeX Error: Undefined tab position, and pdfLatex quits after receving too many (100 errors). My LaTeX generated by Doxygen is such (one instance of many) \begin{tabbing} xx\=xx\=xx\=xx\=...
Sambo's user avatar
  • 11
-1 votes
2 answers
162 views

conversion of .tex file into .pdf file in windows

How to convert .tex file into .pdf file in windows by using python programming? I have .tex file and want .pdf file through python code in windows
Shraddha_Mehetre's user avatar
0 votes
1 answer
229 views

Org-mode + Pandoc correctly place images in HTML, and misplace them in PDF export

With some org-mode code I am writing, I get the expected images placement when exporting to HTML5 format, but the wrong one when exporting to PDF. This is the syntax I am using: #+TITLE: Article title ...
Pietro's user avatar
  • 12.1k
0 votes
1 answer
104 views

remove thesis title from the abstract section

this xelatex template's abstract section automatically add thesis title at top, here's the template live demo in overleaf: https://www.overleaf.com/read/jkrpnmrnmqwz i've looked around for hours and ...
kiswelrg's user avatar
0 votes
1 answer
72 views

Unable to have the author name in the report PDF using the NIPS 2015 LaTeX template

I am using the nips 2015 template to write a report. I am unable to have the generated PDF reflect the authors’ names. It just says Anonymous. I am using LaTeX workshop on a windows PC. PS: Overleaf ...
Nasheed Yasin's user avatar
2 votes
2 answers
94 views

Create Two Versions of a Document

I am using quarto to create a lesson with lots of mixed in tex. I want two version of this lesson -- one with answers and one without the answers -- in the same document to avoid trying to keep the ...
blahblah4252's user avatar
1 vote
1 answer
34 views

Finding numbers with decimal comma in a TeX-File using regular expressions

I have a very large TeX-File wherein we set mathematical text. Unfortunately, TeX sets a empty space after each comma, even though numbers (in Germany) are formatted without space after comma. I am ...
Peter Strouvelle's user avatar
1 vote
1 answer
55 views

How can I correctly display text in Tex format?

I am trying to display python sympy expression in the Jupyterhub Notebook in the VS Code. When I do it in the Google Colab, it looks fine, but in the VS Code it remains in Tex format I tried to use ...
8088's user avatar
  • 31
0 votes
1 answer
61 views

tikz: using of cyrillic characters for node label

I'm trying to use Cyrillic characters for node label, but seems like they are ignored. Probably should define label format in some way but wasn't able to find any guide for this. Here is simple ...
alex's user avatar
  • 1
1 vote
1 answer
52 views

pgf backend in matplotlib - "input stack size" capacity exceeded with pdflatex and lualatex

I'm trying to use the pgf backend in matplotlib to create figure files for a manuscript, following the example in the matplotlib docs here. I don't have xelatex so I've tried using pdflatex and ...
PeterW's user avatar
  • 311
0 votes
0 answers
53 views

Position text in margin relative to paper border

I'm trying to write a macro that positions text in the margin of a LaTeX document. The text should appear in the same line the macro is called. Horizontal text position should be relative to the ...
Alex A.'s user avatar
  • 23
0 votes
1 answer
125 views

<apa7> Why is professor, course, and duedate not appearing on the title page?

I am using the LaTeX package apa7 to format my research paper. However, the professor, course, and duedate for the assignment is not appearing in the title when the \maketitle command is called while ...
Anish G.'s user avatar
0 votes
0 answers
66 views

How to load tikz script code (Latex code) on button click using Angular? ( Not in ngOnInit() )

I'm trying show Latex code output on web browser using angular with the help of TikZ library. I'm able to achieve this when I'm calling the loadScript() method in ngOnInit() (Without using setTimeOut) ...
Anurag Tiwari's user avatar
2 votes
1 answer
2k views

Can't use tlmgr following clean installation, tlmgr: Local TeX Live (2021) is older than remote repository (2022)

I followed the instructions according to https://tug.org/texlive/quickinstall.html I am using Ubuntu 22.04.1 LTS on Windows 11 WSL. I cannot get past this error when doing anything with tlmgr. ...
Evan McKinney's user avatar
0 votes
0 answers
34 views

Why am I getting a "=" symbol at the pdf table of contents

If you notice, I get a the equal symbol before every reference the document have in the pdf. Unable to find if this is of some optional setting which I should do! And the below is my preamble and ...
V B's user avatar
  • 93
1 vote
1 answer
592 views

Is it possible to use multicolumn and multirow simultaneously in a single cell?

I'm trying to draw a table, but I faced a problem with the extra column line. \documentclass[lettersize,journal]{IEEEtran} \usepackage{array,tabularx} \usepackage{pifont} \usepackage{multirow,booktabs,...
ali reza's user avatar
1 vote
1 answer
598 views

How to get rid of vertical space?

How can I get rid of vertical extra space in latex? I am getting unnecessary space between the table and the figure in the latex appendix. \documentclass{scrbook} \usepackage[utf8]{inputenc} \...
Sanchit Jain's user avatar
1 vote
1 answer
139 views

How to use loops with texdoc

Say that I run these two regressions and save the output to be used with texdoc to create a LaTeX file: capture ssc install texdoc sysuse auto2, clear global spec1 "if foreign" global spec2 &...
bill999's user avatar
  • 2,157
1 vote
1 answer
90 views

Cleverref shows extra question sign in Latex

There are two extra question signs when I use cleveref package. How can I remove them? when I reference to two labels: here is the output: ?? 16 ?? 15 I'm compiling using Xelatex. I've prepared a ...
Majid's user avatar
  • 421
-1 votes
1 answer
103 views

LaTeX hexagonal chains

I am using LaTeX for research with hexagonal chains and would like to know some ways to create the a horizontal hexagonal chain. So far I only have some going vertically; I have used code I received ...
phys's user avatar
  • 1
0 votes
0 answers
166 views

Formula labels in TensorBoard

Is it possible to write the scalar labels in TensorBoard as mathematical expressions? (e.g. with Tex, Latex etc.). Something like tf.summary.scalar('$f^2$', ...) I want to make the output labels look ...
Benny K's user avatar
  • 1,967
1 vote
1 answer
584 views

Argument of \__cmd_expandable_grab_D:NNNwNNn has an extra }. Can't run my document

enter code hereThis is my code: (I've removed some lines just because of data). Today I've been just working with pdfs and tried to add there some tables converted to PDF but afterword error just ...
Apolo's user avatar
  • 11
1 vote
1 answer
39 views

Doubts about the example on page 167 of The TeXbook (Computers & Typesetting A by Donald E. Knuth)

Page 167 of "The TeXBook", line 5 ... $F_n=F_{n-1}+F_{n-2}$, \ $n\ge2$.}$$ I tried to write the omitted part completely, as I understand it should be written: $${\rm The\ Fibonacci\ numbers\...
user2158697's user avatar
0 votes
1 answer
2k views

Bare minimum install to get over "algorithm.sty" not found error

On using \usepackage{algorithm}, I obtain the error that algorithm.sty is not found. At present, my way to get around this is to first search for this package via: $ apt-file search "algorithm....
Tryer's user avatar
  • 3,620
1 vote
1 answer
874 views

Latex Figures side-by-side in AR document class

I am currently working on formatting an article for publication in Annual Reviews journal. They provide the class file that suppose to make the process easier. The file could be downloaded here: https:...
ilyywa's user avatar
  • 40
0 votes
0 answers
114 views

ctags built-in support for .tex files

CTags currently works fine for me on .tex files on following the instructions at https://github.com/preservim/tagbar/blob/master/doc/tagbar.txt. Essentially, this involves two steps: Have a ~./ctags ...
Tryer's user avatar
  • 3,620
0 votes
1 answer
39 views

Navitage to tag underneath cursor using Ctrl ] for a bibtex entry

I have generated a tags file of a .bib bibliography file (referenced in a .tex file) and lines containing bibkeys in the .bib file such as the following correctly identify the bibkeys as tags. @...
Tryer's user avatar
  • 3,620
-2 votes
1 answer
38 views

How to generate numbers and chapters from tex file

In my Ubuntu directory I fave files containing \f. I would like to change \f into \f 1:2. in those files, according to chapter \c 1 and line number \v 2. Input: \id \h \toc2 \c 1 \p \v 1 RandomText \...
Marjan Savli's user avatar
0 votes
0 answers
126 views

I want to get latex to work with matplotlib on pydroid, so I can use easily implement scientific symbols in my plots

I've used pydroid's pup to install latex, and have matplotlib, but I can't find any documentation on whether it's even possible to use latex when creating plots with pydroid. The key error I get is: ...
Daniel Putt's user avatar

1
2 3 4 5
18