Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

# Tag Info

134

LaTeX tends to require you to use  '' for double quotes and  ' for single quotes. The "smart quotes" will be done by the compilers. if you have already typed your text with " " throughout your document you can use the csquotes package to deal with them: \usepackage [english]{babel} \usepackage [autostyle, english = american]{csquotes} \...

97

Have your main document in the current editing window. Now, select Options > Define Current Document as "Master Document". This should do what I understand you are asking for. You will now see in the left pane the structure of the document, and regardless of what subfile you are editing, running a compile will compile your main document.

63

After some trial & error, I've come up with the following dark theme for TeXstudio, using (mainly) colours from the Solarized colour palette; thanks to @Holene for recommending the latter to me. I'm conscious this kind of tweaks is very much a matter of taste, and may not appeal to anybody else than me. However, my colour settings might be helpful to ...

59

Fifth option from bottom in the preferences panel. This version can undock the viewer (untick embed), which may not be present (or possibly moved) in some versions. the version shown is 3.0.2.

50

Your problem is that, after running pdflatex (or latex or whatever else) and bibtex (if you did it), you have to run pdflatex twice afterwards to get your document fully compiled. In TeXMaker, if you want to be able to perform the full compilation cycle and view your finished .pdf file by just pressing F1, you can configure your 'Quick Build' command, ...

48

To comment several lines at once in TeXMaker, select the lines and click Ctrl+T. To uncomment, click Ctrl+U. Edit To follow up on Torbjørn's comment, you can see the mostly used keyboard shortcuts under menu Edit > Comment You will see all of the default keyboard shortcuts and customize your keyboard shortcuts under menu Options > Configure ...

44

Opening quotes are  and closing quotes are ". For instance, \documentclass{article} \begin{document} `Thanks!" \end{document} For greater control over your quotations (in particular, for your concrete "search and replace" problem), you could consider using the csquotes package: \documentclass{article} \usepackage[english]{babel} \usepackage[...

41

I know this is an old post but I have been using home-brewed Solarized Dark/Light themes and I am willing to share with the hope that somebody will find them useful. Highlighting schemes for dtx/Sweave/Pweave/Asymptote/Lua/QtScript editing are also included, though I rarely use them so there may be some inconsistencies. Both themes are tested with current ...

39

You should update to the newest version of MiKTeX, because it does already come with Biber included (by update I mean uninstall old version, install newest version, then run update manager). Biber will then be installed under %ProgramFiles(x86)%\MiKTeX 2.9\miktex\bin\biber.exe Then you only need to tell Texmaker to use biber % instead of bibtex %.aux (see ...

36

The following theme is roughly oriented at thinkpixellab's Flatland Theme for Sublime Text. Updated for TeXstudio 2.11.2 in November 2016. [formats] version=1.0 data\normal\priority=-1 data\normal\bold=false data\normal\italic=false data\normal\overline=false data\normal\underline=false data\normal\strikeout=false data\normal\waveUnderline=false data\...

36

You can run custom commands in Texmaker (User -> User Commands) as well as TeXstudio (Configure -> Build -> User Commands). With that it should be possible to call Git command line tools from within the editor. Moreover in TeXstudio, you can combine this with scripting and triggers, which allows you to automatically trigger these actions e.g. on ...

34

You also need to install a TeX distribution, i.e. MiKTeX or TeX Live. The TeX distribution contains all the machinery needed to process source code and produce typeset documents; Texmaker is just a front end.

32

Added Update to the existing answer: For those using Texmaker Version's > 3.5.1 From Texmaker Version 3.5.1 onwards xelatex support has been added . Download Latest version of Texmaker: 4.1.1 dated Jan 3 2014 that has xelatex support in standard commands like shown below. xelatex has been added to the standard commands (with a new "quick compilation" ...

30

The "View PDF" button in TeXmaker only opens an already existing file, that has the same basename as your .tex file. Meaning, if you're writing in a file called MyReport.tex, it will look for a file called MyReport.pdf in the same folder as the .tex file, and open this in the specified viewer. To create a PDF from the source, you have to compile the ...

30

I had the same problem but the .dic files that I used didn't work. Texmaker Error : Can’t open the dictionary To solve this error you need to install the spell-checker Use: sudo apt-get install myspell-de-de myspell-en-us or use sudo apt-get install myspell-* Then find the dictionary: locate *.aff There were two directories that contained dictionary ...

29

I had a similar issue in Linux and removing _minted* directory solved the problem. Other option could be include the minted package with the option cache=false. Source: Github issue

28

Have you tried this in a terminal? $sudo apt-cache search texlive french texlive-doc-fr - TeX Live: French documentation texlive-lang-french - TeX Live: French$sudo apt-get install texlive-lang-french This example should work in a well installed TeX Live: \documentclass[french,11pt]{article} \usepackage{babel} \usepackage[utf8]{inputenc} \begin{...

26

If adding is what you just need then this answer might work for you. If you want to install a new dictionary, follow the link in the comment. With your terminal, cd to the directory of your TeXMaker dictionary. If you don't know where, in TeXMaker click Options > Configure TeXMaker > Editor You can see the directory of the dictionary in the option ...

25

On a Windows PC and on Ubuntu, it is Ctrl+Right arrow On Mac OS X it is Command+Right arrow ⌘+⇒ It can be changed to Tab (⇥), but this is by default linked to another shortcut. If you go to the Preferences, "Shortcuts" tab, open up the "Editor" and the "Basic Key Mapping" list. Scroll down until you find Next placeholder or one word right Double click ...

25

From http://texstudio.sourceforge.net TeXstudio has been forked from Texmaker in 2009, because of the non-open development process of Texmaker and due to different philosophies concerning configurability and features. Originally it was called TeXmakerX because it started off as a small set of extensions to Texmaker with the hope that they would ...

24

Here's a set of steps I took to get gnuplottex working in Windows. I'm running TeX Live rather than MiKTeX, so let me know if this doesn't work. First, you need to install gnuplot. The binary I used was taken from this page. When installing it, the only change from the default I made when following the installer was to select "Add application directory to ...

24

Install texlive-fonts-recommended: sudo apt-get install texlive-fonts-recommended

24

Here are a few examples of what I put in the field: \makeatletter (see What do \makeatletter and \makeatother do?) \makeatother \documentclass{@} (Texmaker only has \documentclass[@]{@} preconfigured) \cref{#label#} (for the cleveref package) \Cref{#label#} \qroof{@}.@ (for the qtree package) When you start typing one of these commands, Texmaker will offer ...

23

You have byte 147 in your file without declaring an input encoding, previously this would silently fall through and make whatever character happened to be in that position in the font encoding. From this year latex assumes UTF-8 if no encoding is specified and so this fails, you can add \UseRawInputEncoding at the start of the file, but better would be ...

22

In the newer versions they have also added a "Spell check" feature (Control + Shift + F7 ; or from the menu: Edit > Check Spelling) which allows you to add new words by clicking "always ignore". The custom words are stored in $HOME/.config/xm1/texmaker.ini (unix) or in C:\Users\[username]\AppData\Roaming\xm1 (windows) 22 A scheme based on monokai [formats] version=1.0 data\normal\priority=-1 data\normal\bold=false data\normal\italic=false data\normal\overline=false data\normal\underline=false data\normal\strikeout=false data\normal\waveUnderline=false data\normal\foreground=#f8f8f2 data\normal\fontFamily= data\normal\pointSize=0 data\background\priority=-1 data\background\... 21 Since version 3.3.3 Texmaker has a "save session" menu item in the File menu (see the first record in the changelog at http://www.xm1math.net/texmaker/log.html). So, open all the tex files you need, define the "Master document", as usual. Then do "save session". Next time, open the session file, not the tex files. The master will be automatically "selected"... 21 The makeglossaries program is quite easy to use: if your main LaTeX file is called file.tex, then all that's needed is to run makeglossaries file To add a suitable action in Texmaker, just go to the User > User commands > Edit User Commands menu entry and, in the window that appears, add makeglossaries in the upper box (it's just the name which will ... 21 I adapted the Solarized theme into Texmaker. I played around with the colors of Solarized and ended up with the following theme: You can add it at Texmaker's config file texmaker.ini, which should located at Linux:$HOME/.config/xm1 Windows: %APPDATA%/xm1 Mac OS X: \$HOME/.config/texstudio/ (In Finder, press Command+Shift+Dot to see hidden files and folders....

21

I know this is a very late reply but I'm just writing this for someone else who might have the same problem. I am using Texmaker on Yosemite and had the same issue. This page solved it: http://www.swisswuff.ch/wordpress/?p=166 In case it goes down, here are the steps: Get the dictionary file en_US.oxt from Open Office link rename the file to en_US....

Only top voted, non community-wiki answers of a minimum length are eligible