Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
0 answers
13 views

Paddings caused by character spacing

The problem is, that there's always a left padding, and it's not caused by the boxes, where content is placed (since I tried it without boxes and it was in one vertical line (the content in and out of ...
Marvin Mar's user avatar
1 vote
3 answers
53 views

How to remove parenthesis in Vim while keeping nested parenthesis intact?

I want to remove a sets of parenthesis in a large tex document I am editing in vim. The text is of this kind: \foo{ \bar{ \john{ TEXT } more text } my text} and I would like to have this as an output ...
Jpk's user avatar
  • 121
2 votes
1 answer
34 views

Integrating .tex-File from R-Markdown in existing LaTex Document

I have an existing LaTex-Document. I have conducted a Data Analysis in R and created a .Rmd-File for it. I have received the corresponding .tex-file via: knitr::knit("test.Rmd") markdown::...
Maximilian's user avatar
0 votes
0 answers
23 views

Why my latex code for algorithm is showing End=0 in my project, whereas when I am running it alone it is working fine

Why my latex code of Algorithm is showing End=0 in end, when I am integrating the project in my code. Whereas when I run the algorithm alone it is working fine. Below is the piece of code \...
Dheeraj's user avatar
1 vote
0 answers
39 views

Confused about part of the Knuth-Liang algorithm for hyphenation

I'm implementing the Knuth-liang algorithm in Lua to create a text-wrapping plugin for Davinci resolve. I've looked at the explanation of the algorithm and there's one part that I don't understand. ...
stib's user avatar
  • 3,443
-1 votes
1 answer
29 views

Delete indentation in footnotes in LaTeX [closed]

I am trying to delete the indentation at the beginning of footnotes in my LaTeX document. Here is my code. I can not manage to delete the indentation at the beggining of footnotes. \documentclass[12pt,...
Lyabie's user avatar
  • 11
0 votes
0 answers
137 views

Why is my .bbl file wrong when the bibliography is generated okay on the pdf?

I have been asked by a Journal to include all references on the main .tex file. I have generated a .bbl file using biblatex, biber etc: \documentclass{article} \usepackage[backend=biber, style=nature, ...
Kit Barker's user avatar
0 votes
0 answers
34 views

Filling authors from a list using authblk does not work

I'm trying to write a class like this: \NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesClass{Bug}[2024/07/12 Bug] \LoadClass[a4paper,twoside,openbib]{article} \RequirePackage{expkv-opt} \RequirePackage{...
jouke hijlkema's user avatar
1 vote
0 answers
102 views

Why does VS-Code not compile my LaTeX-file with LaTeX-Workshop and macTeX installed?

I have installed macTeX (I use MacOS Sonoma 14.5) and LaTeX-Workshop in VS-Code. It seems like VS-Code is not recognizing my .tex-files. Every time I want to compile and generate a pdf I get an error ...
Niklas's user avatar
  • 11
0 votes
0 answers
71 views

Using TexLive in NixOS via shell.nix

I am trying to build PDF files using R Markdown in NixOS. I've built this file successfully in Ubuntu but would prefer to get this working on NixOS, specifically through a shell.nix file. $ R -e &...
Aaron VerDow's user avatar
0 votes
0 answers
69 views

How to reduce a page size in latex resume code?

This is my resume which I have made using a template on overleaf dot comn and what I want to achieve is remove extra white spacing from the very bottom. this is the preamble code which is written at ...
Arjun Malhotra's user avatar
0 votes
1 answer
32 views

Problem with table is LateX when i try to put a little advanced table

I've been trying to find a solution for this table, the rest is easy but the first 3 rows gave me a hard time. The problem is that HCI is always under EP2 instead of interaction This is what i tried: ...
Taki Takieddine's user avatar
0 votes
0 answers
40 views

How to make pythontex see PYTHONPATH

I've been working with pythontex for some time and I'm quite happy with the results. After reinstalling the system, however, serious difficulties began. THE PROBLEM: while compiling code (in .tex ...
khaz's user avatar
  • 389
0 votes
0 answers
23 views

How to indent only a part of a sentence?

I'd like to indent only a part of a sentence in LaTex, but it just doesn't work out for me. I tried to use different functions like \parindent or \hangindent, but unfortunately I did not get it. The ...
feg4444's user avatar
2 votes
1 answer
191 views

Using optional arguments for \newenvironment in Latex

I defined two new environments (nmlist and nmlistf) in Latex as follows. The former creates a list with a title at the first line introduced by \paragraph, and the latter creates a list starting at ...
Jovin's user avatar
  • 23
0 votes
1 answer
54 views

Jupter notebook to tex to pdf without cell content

I am not entirely sure whether this is the right forum (tag) for this question, so my apologies if it is wrong. The problem I face is the following: I am creating a report that I will be genreating ...
Serge de Gosson de Varennes's user avatar
0 votes
0 answers
44 views

How to create HTML links inside a LaTeX block

I'm pretty deep into a yak shaving project and thought it was time to involve a broader audience. I am writing documentation and want to have highlighted text (regular serifed text with yellow ...
John the Bastard's user avatar
0 votes
0 answers
37 views

Is it Possible to Extract Image Dimensions in TeX/LaTeX Without OS-specific commands?

As a follow-up to this question and this and this posts, I am working on a project in TeX/LaTeX and facing a challenge related to image processing. Specifically, I need to develop a macro that can ...
Foad S. Farimani's user avatar
0 votes
1 answer
801 views

How To Inverse Search From Internal PDF Viewer To The Actual Code in VS Code for a Latex Doument

I am using VS Code and in it, I am using LaTeX Workshop by James Yu. I am trying to compile my document using LaTeX Workshop. When I compile my code to a pdf file, I can double click or ctrl + click ...
Aaron Jones's user avatar
0 votes
1 answer
238 views

Outputting LaTeX command from Lua script

I am trying to use a Lua script to generate LaTeX commands. Here is a minimal lua script: my_array = { cmdone = {1, 2}, cmdtwo = {2, 3} } cmd_template = "\\newcommand*{\\%s}{number one: %s, ...
Peter Baker's user avatar
2 votes
0 answers
105 views

Tikzplotlib not outputting Matplotlib's PyPlot colour bars

I'm trying to output contour plots made with PyPlot to Tikz using Tikzplotlib, but the color bars aren't appearing in the outputted TeX code. The contour plots themselves aren't appearing either ...
TheorVHP's user avatar
1 vote
0 answers
41 views

Avoid superfluous parentheses in LaTeX from Maxima's `tex` function

I want to use Maxima to simplify expressions and print the result in LaTeX. However, if I enter tex(-2*y); I get $$-\left(2\,y\right)$$ which roughly prints as -(2y) after latex. Is there a way to ...
Bernhard Bodenstorfer's user avatar
0 votes
0 answers
99 views

Multi-line TeX expressions with Django MathJax

I am using MathType to convert formulas to TeX notation and pass them as template variables in Django. Most formulas convert to a single line and work fine. But there are some that convert to several ...
VikSil's user avatar
  • 98
0 votes
0 answers
71 views

VSCode latex duplicates the preview window after saving the file if the first preview window is not active

I am using VSCode with the extension latex-workshop on Ubuntu 22.04. No other extensions for latex are installed, nothing but some snippets are modified after the fresh installation. Suppose that I ...
Miles N.'s user avatar
  • 287
1 vote
1 answer
181 views

detailed_entries() not rendering correctly in R vitae package with custom template

I have created a very basic modification for a custom template as described here. However, when I knit the file mycv_public_mod.Rmd it does not render detailed_entries() correctly; rather it only ...
setophaga's user avatar
  • 445
0 votes
1 answer
453 views

How to solve the problem that pandoc fails to convert latex formulas to docx

I want to convert the following latex formula into a formula in docx. The latex formula can be used normally on both mathtype and mathjaxjs. $\left\{ {\begin{array}{*{20}{l}} {(m + 2)x = 1}\\ {3x - (m ...
accbear's user avatar
  • 21
0 votes
1 answer
146 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,237
0 votes
1 answer
862 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
159 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
1 answer
145 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
68 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
  • 325
0 votes
1 answer
110 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
2 votes
1 answer
375 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
57 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
  • 193
-1 votes
1 answer
472 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
1 answer
245 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
3k 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
168 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
172 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
1 vote
1 answer
336 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
164 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
  • 157
2 votes
1 answer
191 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
  • 157
0 votes
1 answer
20k 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
  • 13
0 votes
1 answer
161 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
127 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
483 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
507 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.9k
0 votes
1 answer
195 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
181 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
164 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
2 3 4 5
18