Tag Info

Hot answers tagged

27

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


9

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.


8

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


8

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


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


8

On the top bar of TeXstudio click  Options   and then select  Configure TeXstudio select  Editor   from the left list of the Configure TeXstudio window The defaults should be: Font Family:    Courier New  or  possibly Monaco on a Mac Default Font Encoding:    UTF-8 If a different font is selected, the font may not have the necessary characters ...


7

TeXstudio's build process ('Build & View') by default runs pdfLaTeX but not a bibliography tool, which you need to do separately. There is also a need to change the settings to run Biber rather than BibTeX for creating a bibliography. Thus the steps required are as follows: In the TeXstudio preferences ('Preferences ...' on the Mac or 'Options -> ...


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

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


7

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+').


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!


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

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

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

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


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

For the recent version (4.1.1) of Texmaker, the solution provided in How do I open a pdf file in the TexMaker internal PDF viewer using a user-defined quick build sequence? should still work and open the internal PDF viewer instead of the external one. In TeXstudio (current version: 2.7.0), however, the implementation has changed: Now the internal PDF ...


6

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


6

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


6

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


6

This is not an answer but finding errors. Correcting errors is up to you. There are lot of things to point at: The error line 71: Undefined control sequence \background{0.3 0.4 0.7}{0.3 0.7 0.3}{0.3} stems from the fact that you are using pdflatex for compiling while your \background is defined as \newcommand{\background}[3]{\leavevmode% ...


6

You can use physics package and exploit its expval (or the short ev) command: \documentclass{article} \usepackage{physics} \begin{document} $\langle x \rangle $ $\langle x^{A} \rangle$ $\expval{x}$ $\ev*{x^{A}}$ $\expval{x^{A}}$ $\ev{x^{A}}$ \end{document} Or use mathtools package and define a macro \DeclarePairedDelimiter\ev{\langle}{\rangle}% ...


5

You can use % !TeX TXS-program:bibliography = txs:///biber. This is a general syntax. TXS understands a number of commands (each starting with txs:///). You will find the names when hovering over the command names in the options pages Command and Build. The above means that a call to txs:///bibliography (actually that's called when you click the Bibliography ...


5

First select in the menu: Edit->Setup Encoding... This will open a dialog. There you select UTF8 and click View With. For the future you can put the following lines at the top of your latex documents, of course you can adjust them as you need. % !TEX TS-program = lualatex % !TEX encoding = UTF-8 Unicode % !TEX spellcheck = de_DE TeXstudio will ...


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

Hunspell dictionaries (.dic and .aff) are more complex than just word lists (i.e. it contains information of possible affixes). Therefore, a proper entry cannot be generated from a single word. The solution in TXS is to store additional words in an ignore word list (.ign) next to the dictionary. This list can be populated via Context Menu -> always ignore ...


5

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, is the online LaTeX editor ShareLaTeX, a truly collaborative ...


5

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



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