Questions tagged [texstudio]

{texstudio} is about the LaTeX editor TeXstudio, formerly called TexMakerX. It is a fork of another editor called Texmaker, which has its own tag {texmaker}.

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

TexStudio not loading subfiles from a folder

I am using a template, found here: https://github.com/mas-group/project-report . When I open, compile, and view report.tex in TexStudio, the pdf only displays till the abstract page. From my ...
0 votes
0 answers
34 views

textstudio 4.3.1 crashes on mac

Happened two days ago and couldn't be solved by restarting and deleting/reinstalling texstudio. Help would be much appreciated. ------------------------------------- Translated Report (Full Report ...
2 votes
1 answer
70 views

TeXstudio Macro to change text into \index{text}

I am currently in the process of writing a book, and it's only after I've written almost 200 pages that I realized I didn't take into consideration the index. I'm using the package imadeidx which ...
  • 123
1 vote
1 answer
21 views

How can I add custom toolbar buttons with \enquote command (and possibly any other commands) in TexStudio editor?

I want to add custom toolbar commands in TexStudio editor, specifically: \enquote. I was not able to find this command in toolbar customization. Additionally, if there is an easy solution for this, it ...
  • 13
2 votes
1 answer
2k views

TeXStudio: The file xxx.tex does not exist. Do you want to create it?

Yesterday it went well. But after I turn on the laptop today, the .tex files don't exist. But actually they are all located in 'chapters/...'. If I choose 'yes', I'll find that TeXStudio created a ...
  • 41
0 votes
1 answer
23 views

Get citation autocomplete to work with custom style on TexStudio

I have read through and tried question 1 and question 2, however I still can't get to work. The autocomplete does not complete, TexStudio can't find the citation. I am using subfile if that matters. ...
  • 1,973
0 votes
0 answers
27 views

Where to find changes.sty without install texlive?

I tried to use TexStudio compile a .tex file, and got "File `changes.sty' not found. ^^M". I googled seems changes.sty is inside texlive, which is about ~8GB size. Is there any website I can ...
  • 101
0 votes
0 answers
16 views

How to unlock numpad on TexStudio?

I somehow made it so that TexStudio isn't outputting the corresponding numbers whenever I press the keys on my numpad. They don't seem to be doing anything at all, however the dot key "." ...
0 votes
1 answer
45 views

Latest version of TexStudio cannot now find the bst file

I was working without any problem on a Latex document. I have just upgraded to the latest version of TexStudio but now the file will not build - it complains that it cannot (now!) find the bst file ...
0 votes
0 answers
28 views

TeXstudio - Compile a single section to pdf

I want to create a pdf with a single section out of all of my sections. How can I make TeXstudio output a specific section as pdf?
0 votes
0 answers
36 views

Find and Replace Macro for TeXStudio

I am using TeXstudio with TeX Live. I am trying to typeset a document that I have converted from an ePub to a LaTeX document using Pandoc. The problem I now face is that, in the ePub, the creator, I ...
  • 1
0 votes
0 answers
24 views

Texstudio: keep Messages / Log panel hidden

By default, I hide the panel since it takes at least third of the editor space. My .tex takes time to compile. If I make a change while it compiles, then I need to stop the compilation and run it ...
  • 1,163
0 votes
0 answers
212 views

using svg in LaTex (not Overleaf) [duplicate]

I used Overleaf for long times and I was able to use the svgpackage for my pictures in this way: \includesvg[width=65mm]{pics/example.svg} I moved for the first time to offline Latex with MikTex and ...
  • 1
0 votes
1 answer
105 views

Texstudio is not open and working

I am trying to use texStudio on windows 8, I have download texstudio-4.3.0-win-qt6.exe and install that. But when I open that then I found the error as "the procedure entry point crerated ...
0 votes
0 answers
39 views

How to include images in LaTeX large document, while collaborating on Git

I am currently working with a team to create a large latex report document (over 200 pages) where we need to include many images. We are supposed to use Git as version control to collaborate better. (...
  • 1
2 votes
1 answer
44 views

cwl files not getting updated

I am using TeXstudio on macOS Monterey. I am facing the following scenario: I have created the files abc.tex and abc.sty in some same folder. I compile them. But, seeing no autocompletion happening ...
  • 329
1 vote
0 answers
31 views

Recovering texlive distribution from local files

I had texlive distribution full scheme installed on my windows 11 machine. Yesterday i had to downgrade to Windows 10 inorder to run Aspenplus software. But while doing so, I had to reset my PC. So ...
  • 65
1 vote
1 answer
28 views

cwl files not rendering autocompletion

I am using TeXstudio 4.2.3 on Mac. So, I start with a blank folder and create an abc.sty file, defining some \newcommands. I then use that package in, say abc.tex file, that I create in the same ...
  • 329
0 votes
1 answer
165 views

How to change Windows path ('\') to LaTeX path ('/')?

Windows paths use backslash, but paths in LaTeX documents require foreslash. When copying filepaths from Windows Explorer they will contain backslash. I know that I could use a text editor using find &...
  • 125
0 votes
0 answers
20 views

Move generated .pdf and .synctex.gz files into build folder in texstudio

The solution in this post Texstudio + Biber + build folder successfully results in the .log and .aux files being put into a separate folder, but it does not affect the .pdf and .synctex.gz files. Is ...
  • 1
0 votes
1 answer
53 views

How to use soul's `\ul` instead of `\underline` in TeXstudio

I'm using TeXstudio on Linux, and there is an option under the LaTeX/Font Styles menu to underline the selected text. For convenience, I set Alt + U as a shortcut so that I can quickly underline ...
  • 165
0 votes
1 answer
32 views

How to write a CWL entry for \caption's \captionof command?

I'm using the caption package in TexStudio, and it correctly highlights the various parts of the \caption command, but it does no such thing for the \captionof command. So I'm trying to write a custom ...
0 votes
0 answers
19 views

TeXstudio not showing help tooltips when commands are hovered over

I have heard that TexStudio has help tooltips for certain common commands when you hover over them. Yet when I hover any command e.g \small, nothing is shown. Am I misinterpreting what is meant by ...
0 votes
1 answer
31 views

Add brackets inside brackets automatically TeXstudio

I want to know if there's a way to automatically add brackets in all title parameters in a bib file using TeXstudio. For example, I have a bunch of these: title = {DEBOHID: A differential evolution ...
1 vote
0 answers
37 views

Referencing not working properly [closed]

I am new to LaTeX so please excuse my limited knowledge in terminology. I am working on a project report. I was given a template which uses multiple documents which are then called with \input in the ...
  • 45
0 votes
0 answers
41 views

Suppress Prompt-up Warning in TeX Studio

When I tried to use F5 to compile and view the document, the following warning prompted up for 4 times. After I clicked OK, the document could be generated as expected. However, clicking OK every time ...
  • 247
0 votes
1 answer
17 views

\dirtree builds but gives error

I am trying to build a \dirtree in my document. I get an error and I can't figure out what is wrong. \documentclass[12pt,a4paper,twoside,fleqn,openright]{book} \usepackage{dirtree} \begin{document} \...
  • 45
0 votes
1 answer
35 views

Failed to find file "C:\dir1\dir2\file.pdf"

I have been at it for about an hour now and just can't solve the problem. When I try to build my document, which was OK just yesterday I get this in the messages tab of TexStudio: Process started: ...
  • 45
0 votes
1 answer
28 views

How to copy part of text to another place in text with regular expressions and replace

I am trying to use the regular expression feature from TexStudio to replace text 1) \hyperref[code1]{some text (code1)}\index{}; 2) \hyperref[code2]{some other text (code2)}\index{}; with 1) \...
1 vote
1 answer
40 views

texindy does not run (ubuntu 20.04, texstudio)

I'm trying to run texindy on a document. I need it because I'm writing in french and makeindex doesn't understand how to sort some words with diacritics. Unfortunately, after several tryings, I don't ...
  • 193
1 vote
2 answers
65 views

Where on Windows TeXStudio saves the output files (Auxiliary, pdf etc) of an unsaved document?

When we compile on Windows a saved document, TeXstudio saves auxiliary output files in the folder of the .tex file. But if we compile an unsaved document, I can't find where these output files are ...
  • 807
0 votes
1 answer
46 views

Mathaccent in math mode

I wrote the following line of codes: \documentclass[12pt, a4paper, oneside]{Thesis} % Paper size, default font size and one-sided paper \usepackage{hyperref} \usepackage[printonlyused]{acronym} \...
  • 3
0 votes
0 answers
15 views

Texstudio compile command no longer working launched from teletypes, but works from pseudo-teletypes [duplicate]

I recently updated my Latex distribution (to Tex Live 2022 from Tex Live 2017) on my Ubuntu Laptop, and the compile command of TexStudio no longer works. Instead, it yields the following error : ...
  • 23
0 votes
0 answers
41 views

Automating the Build and View (F5)

Is there a way to automate the Build and View (F5) function such that it knows which command to use amongst latex, pdflatex, xetex and lualatex? For example, if I load the fontspec, I want my ...
  • 492
1 vote
1 answer
44 views

TeXstudio - Go to command definition

Is there an option in TeXstudio to get from a command to its definition? (similar to Visual Studio's F12 or PyCharm's Ctrl+B) For example, I have the source line: \input{other.tex} The \equat{} is: $\...
0 votes
0 answers
84 views

How can I set a max line length in vscode texStudio? for source code formatting

It is very annoying that lines go to infinity esp when coming from Overleaf. I am open to solutions.
0 votes
1 answer
39 views

Could not start pdflatex

I hate to ask similar question to many that had been asked here before but none of the responses helped me solve my problem so I'm quite defeated at the moment. The problem I'm having is with ...
0 votes
0 answers
26 views

Yellow stripe on the header of the frame (TexStudio)

I have recently downloaded TexStudio, and imported my project from Overleaf into it. Now, when I run the preview, I get the following behaviour: The part, where the header was supposed to be, has a ...
  • 1
1 vote
1 answer
30 views

How can I set it so that when a number is pressed it leads to corresponding theorem (or formula)?

Literally, given a Theorem and a number, is there any way to make it move to that theorem when the number is pressed? Can anyone provide example or Templates? For example, let's see the next image : ...
0 votes
0 answers
24 views

Texstudio does not find .lof and .lot files [duplicate]

I have set up a subfolder for the aux-files which works fine so far (main_outputs). Only thing is that if I add a \listoffigures or \listoftables, I get the warning 'No file main.lot' / 'No file main....
  • 1
0 votes
1 answer
58 views

Getting the error "Something's wrong--perhaps a missing \item. ...}<section title>}{1}{section.1}". What should I do?

I am new to LateX and have started to like it very much. I have a document which on compilation gives the error as stated in the question. I am working with TexStudio and when I click on the error ...
0 votes
1 answer
53 views

How do I use multiple bib files with TexStudio?

My project uses multiple bib files: a.bib and b.bib. In order to compile the document, I need to pdflatex first, then bibtex on the aux files generated from those two individual bib files, and then ...
  • 1,241
0 votes
0 answers
29 views

TeXStudio background color depends on file?

Using TeXStudio on desktop Mac. Most files I open have a white background and workable color scheme for selected text, active line, etc. Other files have a black background with white text, and the ...
0 votes
0 answers
422 views

Miktex not compiling TexStudio

I am using a Win 10 Home, and currently almost two days trying to compile a folder with Tex files belonging to my master thesis. I had no problem in my former computer under repair, however I tried ...
2 votes
0 answers
82 views

How to embed all fonts in PDF?

I am writing my thesis on LaTeX using TeXstudio and Texlive on PC with Windows 10. I am using BT Charter, and for some reason I cannot get the font to embed to the .pdf file, and when I share the file ...
  • 47
1 vote
1 answer
80 views

How to use Pweave(Python + LaTeX) in TeXstudio of Linux Mint?

intro.tex (Can be skipped...😬) I recently switched from Windows to Linux Mint and just began learning Python. I wanted to make notes/reports using $\LaTeX$ and Python. Having used RSweave for a ...
0 votes
0 answers
41 views

Automatic \item in enumerate [duplicate]

TexPad has the function of automatically adding the command "\item" when the "enter" button is pressed within the enumerate environment. Is it possible to have something similar in ...
  • 359
0 votes
0 answers
62 views

Cryptic symbols inside verbatim in TexStudio

Using TexStudio I am getting this weird behaviour where code inside a verbatim environment (also happens with verb and lstlisting) becomes cryptic symbols. However if I copy the symbols and paste them ...
  • 33
0 votes
1 answer
108 views

Texstudio editor setup on Mac

Installed Texstudio on my new MacBook and faced a problem: in the editor the size of the tab is two spaces. Do you know how to change this value to four spaces? Haven't found this in editor settings.
  • 3
0 votes
0 answers
68 views

TexStudio save default settings

I'm working on macOS Monterey (version 12.3) and just did a fresh install of TexStudio (version 4.2.3). When I try to change some editor settings (e.g., the color scheme) I get the following message ...

1
2 3 4 5
37