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
1
vote
2answers
51 views

Generate a table from a list

Suppose I have a list of n items, is it possible to create a 2 by n+1 array? I have my MWE \documentclass{article} \usepackage{enumitem} \begin{document} %Example 1 \begin{enumerate}[label=\textbf{\...
2
votes
1answer
84 views

how to add two variables in latex

Is it possible to add two unrelated variables that hold an integer value? For example, I have this MWE \documentclass[addpoints]{exam} \usepackage{enumitem} \begin{document} \begin{enumerate}[...
0
votes
0answers
21 views

Extremely mysterious behavior of the disappearing .bbl file when compiling using TexStudio, no idea what could be causing this!

My .bbl file completely gets wiped out every time I compile. What could be causing this extremely weird behavior? Steps that seems to reproduce this error: Compile a .tex file stored in Path 1, call ...
0
votes
1answer
9 views

Option of not to show command description in TeXStudio

When using TeXStudio there is a command description that pops up when you typed a command. For instance, in the following picture, 16.2 Math symbols is what I meant. Is there a way to avoid showing ...
2
votes
1answer
42 views

What is the difference between “Build and view” and “Compile”?

In TeXstudio, what exactly is the difference between Build and view (F5) and Compile (F6)?
1
vote
1answer
30 views

TeXstudio can't write on pdf file [duplicate]

I recently started having compilation problems after updating my TeXstudio to the newest version (3.0.1) using Windows 10. Whenever I try to compile any tex files, I encounter the following error: I ...
0
votes
0answers
31 views

Adobe Acrobat Reader crashing after page 12 with PdfTeX

I am a beginner to LaTeX and a teacher brought this issue to my attention. I've been using TeXstudio as my editor with the PdfTeX compiler. Essentially what happens is when she (my teacher) opens the ...
0
votes
0answers
29 views

I am getting an error showing me as Paragraph ended before \@tempa was complete

\NeedsTeXFormat{LaTeX2e}[1996/06/01] \documentclass{cambridge7A} \usepackage{natbib} \usepackage[figuresright]{rotating} \usepackage{floatpag} \rotfloatpagestyle{empty} \usepackage{amsthm} \...
0
votes
2answers
49 views

Toggle between \dfrac and \tfrac in integrals

I would like to learn how auto-program my document to display integrals with fractions nicely. My MWE: \documentclass{article} \usepackage{amsmath} \begin{document} $\int_{\frac{1}{2}}^{\frac{\pi}{10}...
0
votes
0answers
15 views

Error: Could not start the command: pdflatex.exe -synctex=1 -interaction=nonstopmode “bare_conf”.tex

I am getting this error on tex studio, firstly I was using 2.0 of texStudio, now I updated my tex studio version but still, the problem exists. If I open any latex project then getting this error on ...
1
vote
0answers
41 views

Integrals with fractions as limits and display modes

I would like to learn how auto-program my document to display integrals with fractions nicely. My MWE: \documentclass{article} \usepackage{amsmath} \begin{document} $\int_{\frac{1}{2}}^{\frac{\pi}{10}...
0
votes
0answers
24 views

Is there a problem for TexStudio 3.01 on Mac?

I do not succeed with downloading TexStudio 3.01 from https://www.texstudio.org and use it with MacAir, and the product is identified as malware. I have installed and used earlier versions of ...
0
votes
1answer
28 views

Compiler does not start with --shell-escape (pdflatex)

I try to compile a document with shell-escape and pdflatex. But everytime I want to start compiling, my compiler does not even start. The logs do not show any error... I enabling shell-escape the way ...
0
votes
0answers
223 views

Updated MikTex to 20.10 version recently, however, there are errors after compilation: ifpdf.sty error, Can be used only in preamble. \ProvidesPackage

Even though everything is in correct place. In addition, the output PDF file top shows ifpdf[2019/10/25 v3.4, ifpdf legacy package. Use Iftex instead]iftex. Before this updating while MikTex is 20.7 ...
1
vote
1answer
28 views

Can't compile after reinstalling

I had some issues regarding some python code highlighting packages for the minted package. I ended up trying to revert all the changes since I could not make it work. Apparently I might have broken ...
0
votes
0answers
15 views

minted not finding pygments.sty after --shell-escape set

when I run pygmentize -V in my terminal I get Pygments version 2.3.1, (c) 2006-2017 by Georg Brandl. my Options -> Configure TexStudio -> Commands -> PdfLaTeX is set to pdflatex -synctex=1 -...
0
votes
1answer
31 views

Define a new math-delimiter in Texstudio

Is it possible to define a new math-delimiter for texstudio syntax highlighting ? For example, I would like to indicate that the \begin{mblock}...\end{mblock} environment is a math-delimiter.
0
votes
0answers
20 views

Automatically include TexStudio version in LaTeX code

When creating my .pdf with pdflatex in TexStudio, I would like to automatically include the current TexStudio version in my LaTeX code, so that I can, for example, print it at the document. In the ...
0
votes
1answer
41 views

Data file 'main.bib' cannot be read in encoding 'utf8': Wide character at C:\Users\…\inc\lib/Win32/Unicode/File.pm line 163 [duplicate]

I am trying to write a PhD thesis in TexStudio backended with biber & biblatex. I've been using JabRef to handle the bib file until several days ago. However decided to switch to Mendeley, but ...
0
votes
0answers
43 views

Scrolling the Output Produces Highlighting of Various Syntax. Why?

I am using TexStudio 2.6.6 When I scroll the syntax, there is no yellow highlighting that occurs. However, when I scroll through the output, various paragraphs, as well as certain commands such as \...
3
votes
1answer
338 views

How to learn “advanced” LaTeX?

I'm a math Phd student and I've been using LaTeX for a few years now, using MikTex 2.9, Texworks and sometimes TexStudio on my own machine. I'd like to know how LaTeX "works" as an ...
1
vote
0answers
14 views

User commands in TexStudio: how to refer to the current folder?

When I go to TexStudio -> Options -> Configure TexStudio -> Build -> User Commands, I can add arbitrary shell commands. Inside the commands, I can use the character % to refer to the ...
0
votes
0answers
29 views

Help on how to recover the corrupted tex file as I'm unable to see any lines inside?

It is really saddening to observe that my LaTex file got corrupted and the cause of it is unknown. I'm using Tex Studio as editor. The file size remaining big (say 150kb) but couldn't find any lines ...
0
votes
0answers
12 views

Build folder automatically when saving files on TeXStudio

How can I create a folder when saving files? For now when I save a file, I need to create a folder for the file before save everything in it. I wonder if there is an automated way to build the folder ...
0
votes
1answer
68 views

How to properly compile and run BibLaTeX

What is the full procedure of using biblatex? I have been active here only for a short time and I have already seen a lot of people struggle with different stages of biblatex. And most of the time the ...
0
votes
1answer
22 views

Auto-completion for \newcommand in TexStudio

I created a new command like this: \newcommand{\longref}[1]{{\ref{#1} (\nameref{#1})}} it works as expected - it prints the chapter number and it's name. Great. Now I'm using Texstudio, and it always ...
0
votes
0answers
26 views

Has TexStudio an integration with git for control version?

Has TexStudio a kind of integration with git or any other software for control version? Wanted Feature: I would like to select a specific commit and then compile the code. I normally do this manually: ...
0
votes
0answers
40 views

Unwanted Closing Brace Keeps Appearing with Every \Command{

Question: How may I prevent an annoying closing brace from appearing each time I type \begin{ or \ followed by some command{ Incidentally, I am using TeXStudio 2.6.6 I have gone to Options, Configure (...
0
votes
1answer
27 views

Save files in folders instead of separate files/customize pdf saving directory in TeXStudio

I use TeXStudio on Mac OS, and one thing I've always wanted to do is to save my files in folders instead of separate files. For now it saves stuff like this: But I want to combine the files for one ...
0
votes
0answers
18 views

Image directory not found in texstudio

I'm learning how to insert an image in TeXStudio on Mac OS. I tried to drag the image directly to the pdf, which gives the following: \documentclass[11pt,a4paper]{article} \usepackage[utf8]{...
1
vote
1answer
55 views

Problem running pdflatex

I am new to latex, and I have some problems when I try to run a latex code in TexStudio. I wrote the following latex program in TexStudio: \documentclass{article} \begin{document} Hello world \end{...
0
votes
0answers
33 views

Impossible to run the command: sage “Sage-example”.sagetex.sage (Windows 10)

Good evening guys. I've a big problem, as to simplify my school report, and don't do stupid mistakes while copy pasting some equations, I decided to try SageTex, and I've been struggling to make it ...
0
votes
0answers
19 views

Where do I add new .sty files to TexStudio?

I downloaded TexStudio a long time ago and have since forgot where everything is, since everything has been working fine. However, a current project requires me to put in a new .sty file that I don't ...
0
votes
0answers
45 views

Polyglossia error in gloss-english.ldf during compilation

I am running TeXStudio on Linux machine. \documentclass[oneside,a4paper,12pt]{extreport} \usepackage{fontspec} % loaded by polyglossia, but included here for transparency \usepackage{polyglossia} \...
0
votes
1answer
17 views

texstudio not synchro 'Go to source' in one of the chapter (or child document)

I'm having a problem with SyncTeX. 'Go to source' (i.e. from PDF to TeX and vice versa) only in one of my chapter, but in others it is spot on. Any idea what might be going on? NB I am compiling with ...
0
votes
0answers
28 views

if statement in nested foreach in tikzpicture not working - wrong syntax?

I attempt to place dots on certain grid locations by using a nested \foreach command as follows, but TeXstudio rejects the use of the second variable \y with an error 'unrecognized command'. Strangely ...
0
votes
1answer
39 views

Delete a macro leaving the argument intact

I'm using TeXstudio and I'm looking for a keyboard shortcut that deletes a generic macro while leaving the macro argument itself intact in the .tex source. For example I want to make a text normal by ...
1
vote
0answers
38 views

How to create a autocomplete list for my own packages in TeXstudio?

After learning how to create my own commands and how to make them available in TeXstudio through a autocomplete list with a .cwl file, I could not do the same with packages files I created with those ...
1
vote
0answers
25 views

Did TexStudio make a mistake? [duplicate]

I use the usepackage \theoremstyle{plain} \newtheorem{proposition}{Proposition} Then I write normally \begin{proposition} [Put name of proposition here] ... \end{proposition} If the name of your ...
0
votes
0answers
15 views

Inlcude sub and subsubfolders \def\input@path does not work

\makeatletter \def\input@path{{figures}{tables}{chapters}} \makeatother does not work on my machine. If I click on e.g. \input{chapter_01} where chapter_01.tex is a file in a subfolder. Compilation ...
1
vote
0answers
14 views

TexStudio auto-detected wrong-spelled words

Some words (not keywords but simply text) are not recognized as correct-English-spelled by TexStudio and the program automatically underlines them in red. For example: Questions: I guess Texstudio ...
0
votes
0answers
24 views

TexStudio build files in subfolder on a Mac

Looking for some help, most things I find don't seem to work and cause an error. Not sure if because a lot of them are from ~ 2006 kind of age or because i'm on a Mac. I'm using TexStudio and BibTex. ...
0
votes
0answers
15 views

Can TeXstudio scripting be used to restore the state of a split-view workspace?

While working in TeXstudio on my current project, I prefer a vertically split-view workspace with each view occupying 50% of the editor's height, 8 specific file tabs open in the north view, and every ...
0
votes
0answers
14 views

Custom Precompiler For Certain Extensions Only

Is there a way to configure the Texstudio build process so that a custom precompile command is run only for files with a certain extension? In other words, if the extension is .gtex I want the build ...
1
vote
0answers
24 views

How to insert a video in beamer using TexStudio/MikTex?

I am using TeXstudio/MiKTeX and Adobe Reader for my presentation. I want to insert two videos in that, one in .mov and other in .avi formats. I saw many similar questions about problems with ...
2
votes
0answers
116 views

How to stop TexStudio from creating 100 backup files?

I use TexStudio for Windows 10. Whenever I save a file, it creates a backup file with an extension "txs~NN" where NN is a number between 00 and 99. This fills my folder with many unneeded ...
0
votes
0answers
20 views

Table environment doesn't overlap tabulars

As suggested here, to solve the displaying problem with Adobe of border lines in colored cells, I make two tables (First with colored cells and 'hidden text' and then with blank cells) and then ...
0
votes
0answers
207 views

Error: Could not start the command: bibtex.exe

Recently, I started working with natbib again and now it seems not to be working anymore. Things that I've discovered: usually TexStudio made its own .bbl file, while currently it doesn't the ...
1
vote
1answer
43 views

TeXstudio 3.0.0 equations do not preview, even though I have the option enabled

This is similar to the issue Roland Salz had, but I have already followed the advice in that post, and toggled that setting, and restarted, but it doesn't seem to change anything. It seems like me ...
0
votes
0answers
246 views

After TeXstudio update (3.0) BibLaTeX does not work anymore: Error File `biblatex.sty' not found. \usepackage

I am currently writing a term paper. I did start it around march and let it rest until now. The problem I am facing is that I updated my Texstudio so that I have the newest version, but somehow now my ...

1
2 3 4 5
32