# Tag Info

22

TeXStudio uses the OpenOffice spelling dictionaries (as well as thesaurus). You can download any number of them from the OpenOffice site. The OpenOffice files have the extension .oxt but are actually .zip files so just change the extension and extract the dictionary. You place the dictionary files in the Dictionary folder in your TeXstudio installation. The ...

12

If your supervisor does absolutely insist on Word as Editor there is little you can do. However, if it is more the "Word-like user experience" (as opposed to "LaTeX source code user experience"), LyX might be a considerable compromise for the both of you! LyX is a "WYSIWYW" (What You See is What You Want) text processing system that uses LaTeX as back-end. ...

9

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 ...

8

Francis already gave an answer with \parbox. Werner gave a comment for boundaries. I would recommend to use the framed-environment: \documentclass{scrartcl} \usepackage{framed} \begin{document} \section{With parbox} \fbox{\parbox{\textwidth}{The \textit{two-step} model of XMCD: \begin{itemize} \item In the \textit{first step}, circularly polarized ...

7

TeXStudio isn't in the Repositorys of Ubuntu 12.04. You need to install it manually. To do this, go here for the 64bit Version or here for the 32bit version. You can install it by simply doubleclicking the .deb file. After updating your system to Ubuntu 12.10 or later you could install TeXStudio using the repository.

7

Under Options → Configure TeXstudio → Adv. Editor → Special options the option Auto Complete Parentheses dis-/enables the Auto-Completion of all braces, brackets and parentheses. The Tab Adv. Editor is visible after the checkbox Show Advanced Options is checked.

7

Short answer: dvipdfmx. Longer answer: dvipdfmx is an extension of dvipdfm, enabling access to more PDF-specific features. As such, it implements a superset of the features of dvipdfm, and is more powerful. dvipdft is a tool to use dvipdfm to make thumbnails (according to texdoc dvipdft). As such, it's not what you want at all!

7

The following settings should work: latex "/usr/texbin/latex" -synctex=1 -interaction=nonstopmode %.tex dvips "/usr/texbin/dvips" -o %.ps %.dvi ps2pdf "/usr/local/bin/ps2pdf" %.ps MakeIndex "/usr/texbin/makeindex" %.idx BiBTeX "/usr/texbin/bibtex" %.aux pdfLaTeX "/usr/texbin/pdflatex" -synctex=1 ...

6

In the Shortcuts panel of "Configure TexMakerX" expand the Editor tab and the Special Key replacements; then either delete the row for the double quote or add one and pick a rarely used key (I used §): insert it in the first space, and insert " in the second and third. Update for TeXStudio 2.3: In TeXStudio 2.3, there is no special key replacements option ...

6

This is still a recognized command (for legacy purposes), but should be avoided. See Does it matter if I use \textit or \it, \bfseries or \bf, etc. and Will two-letter font style commands (\bf, \it, …) ever be resurrected in LaTeX?. TeXstudio does allow you to add commands that are not recognized to its list of known control sequences. Under Options -> ...

6

You have to reconfig TeXstudio to use lualatex or xelatex instead of pdflatex which is preconfigured in TeXstudio. You can change it under options, then commands. You can also use the command line to test whether for example lualatex is running. lualatex test will compile test.tex with lualatex.

6

As benibela from the TeXstudio development group answered: The cursor has to be placed directly at the border of the parenthesis/environment. I.e. if | marks the cursor, it has to be either there: |\begin{example} or there: \begin{example}| (where it is highlighted) So, if you have the following code snippet \begin{itemize} \begin{enumerate} ...

6

To simplify the compilation and have more control over the compilation steps I recommend the cool tool arara. The tool is well explained in the documentation where you can learn also what are arara rules. The main idea is to setup the compilation steps in your root file. This can be achieved by the following syntax % arara: <rule> For pdflatex it is ...

5

Your quoting of the error message is misleading, the actual error is ! Undefined control sequence. <argument> \@chairmanname \\ \@chairmantitle l.91 \maketitle The undefined command is always the last token on the second line so \@chairmanname the later lines show the context where the error was detected which is ...

5

The macro \colon is defined in plain.tex as a punctuation mark (: is a relation symbol in math mode) \mathchardef\colon="603A and redefined by amsmath. Unfortunately, TeXstudio doesn’t recognize the command even if the amsmath.cwl completion file is selected. But we can create our own .cwl file. On my Windows 7 installation, custom .cwl files are stored ...

5

You have to add -synctex=1 to the commands: pdflatex -synctex=1 -interaction=nonstopmode %.tex xelatex -synctex=1 -interaction=nonstopmode %.tex lualatex -synctex=1 -interaction=nonstopmode %.tex After the next compilation there is a right-click menu item titled "Go to source" (Or shortcut Ctrl+').

5

Check if the configuration is correct and that TexStudio points to the program binaries. Wtih Windows PC: Options> Configure TeXstudio, select Build, option Default Compiler. With OSX: texStudio > Preferences, select Build, option Default Compiler. As for your question about the best editor, there is a Comparison of TeX editors documented on ...

5

First of all, TeXMakerX is now TeXStudio. If you are still running TeXMakerX then it is advised that you upgrade to the latest version of TeXStudio. minted uses Pygments of Python for the fancy coloring schemes. You need to invoke the -shell-escape option in order for LaTeX to allow Pygments to be used. In TeXStudio, click on the following menu ...

5

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 ...

5

Some modification of the @Jubobs's answer: 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=#d6d6d6 data\normal\fontFamily= data\normal\pointSize=0 data\background\priority=-1 ...

5

TeXstudio is mainly focused on LaTeX. Rnw is only supported in the syntax highlighting (because this was quite easy to implement), but it is not explicitly handled in the semantic parsing or the workflow. You cannot make TeXstudio recognize these commands without modifying the source code, because these things are partly hard-coded into TXS. Of course, you ...

4

So this can be done in two steps thanks to Qrrbrbirlbel afterall, in order to call xindy for indexing: Set texindy as your default index tool by going to optioins -> Configure TexStudio -> Build, Note: make sure to tick the show advanced options, as in the picture below: 2. You need to use the shell escape for xelatex or pdflatex, I use xelatex ...

4

LaTeX (and some packages) provide a large array of \tracing... macros. These macros include debugging information in the .log file that could potentially bloat the file. Remove them (either manually, or through an option within TeXStudio that has been enabled) to reduce the size of your .log and it will also increase the speed at which you compile.

4

Is there any PDF professional viewer which can be linked and used with LaTeX to improve the experience of the word people in using LaTeX? You may like to have a look at BaKoMa TeX Word; a Visual (True WYSIWYG) LaTeX Editor. This stand-alone software is not free though. Another option, and my personal favourite, is the online LaTeX editor ...

4

On a Windows PC 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 on the shortcut ...

4

In general, you should compile the main file, this is, the one that contains the \begin{document} and the \end{document}. If you try to compile a single chapter it should give an error. Maybe iMac supports this kind of partial compiling, but in general it's not supported. What you can do is to define your main tex as "Master document" (Options -> Define ...

4

Qrrbrbirlbel is exactly right: They probably are stored in the .exe. Proposal: Copy both xspace.cwl and hyperref.cwl to the %APPDATA%\texstudio\ folder and add the missing macros. Entries in %APPDATA%\texstudio\ override the ones integrated in TeXstudio. Also, I encourage you to share your updated cwl files, so we can integrate them for the next ...

4

Another way of doing this, but on a per-document basis, is to use arara, which is a tool for automating compilation of (La)TeX files. arara is part of TeX Live 2012, but if you use MikTeX you have to install it manually. To set up TeXStudio, add a new User command, as described in hpesoj626's answer, with the command arara %.tex In your document you ...

4

Based on Torbjørn's answer, there is a way to get the preview to show in the preview tab. First install preview.sty. On fedora/ubuntu, you can do this with sudo yum install tex-preview sudo apt-get install preview-latex-style The on TeXstudio go to Options > Preview > Display mode > Choose always show preview in preview panel. You can also tweak other ...

4

TeXStudio recognises commands that it finds in files ending with .cwl. The \eqref command and the align* environment come from the amsmath package, so you need to make sure that amsmath.cwl is loaded. Under some circumstances, this will happen automatically, but the mechanism isn't foolproof (e.g. it doesn't know that amsmath can be loaded indirectly via ...

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