Hot answers tagged

3

standalone class can be used to create cropped figures but also to convert from pdf them to other formats like png, jpg, ... usually with imagemagick help. See, as example, Compile a LaTeX document into a PNG image that's as short as possible OP wants to obtain an eps file using pdflatex from TeXstudio. The idea is using standalone class to do all for ...


3

It is possible if you pop out the viewer. After doing this you see a new menu bar. This one offers View -> Grid. If you choose 2x1 you get a booklike preview. Make sure Single Page Step is unchecked, to get proper scrolling.


3

You might try this: Make a plain text file < filename.sh > and put the following in it: #!/bin/bash - pdflatex "$1"; chflags hidden *.nav *.out *.log *.gz *.snm *.toc *.aux *.bbl *.blg Save the file and make it executable (in linux chmod +x < filename >). Put a link to it in /usr/local/bin (or the mac equivalent of a system wide directory for ...


2

You can do something like that with Macros -> Edit Macros. Simple solution: Insert text on trigger Everytime you type the trigger rref the given text will be inserted (%| denoting the desired cursor position): Advanced solution: Script text insertion and start completer Instead of simply inserting text, you may run a script. In that case, you have ...


2

I can't tell you what happened, but I can tell you how to fix it. Open up the Preferences window (shortcut is cmd-,), and then click on the "Shortcuts" tab. Find the heading called "Basic Key Mapping", and click on the triangle next to it to uncollapse that section. Now find the command called "Select left (1 character)", and change its shortcut by ...


2

Without acronym as the option to glossaries → no acronyms Without \makeglossaries in the preamble → no acronyms Both are missing in the MWE (the \printacronyms is not necessary, I added it just to show them) \documentclass{article} \usepackage[acronym,nomain]{glossaries} \setacronymstyle{long-short} \makeglossaries \newacronym{svm}{SVM}{support vector ...


2

I think you need a) to use UTF-8 in your .bib file, b) use UTF-8 in latex, and c) use bibtex8 or biblatex (with biber) which can handle UTF-8 encoded .bib files (as bibtex CANNOT handle utf-8 encoded .bib files).


2

Assuming that you import those sub-documents with \input or \include with the preamble in the master document only, those separate files will not compile on their own. There are two possible solutions: Quick, one-time. Create a copy of the master file and remove all sub-documents that you do not need (or comment those inclusion lines). Compile. Voilà! If ...


2

If you want both forward and inverse search in one command it can also be done. Options (in the menu bar) -> Configure TeXstudio ... -> Commands (tab on the left) Set "External PDF Viewer" to "C:/Program Files (x86)/SumatraPDF/SumatraPDF.exe" -reuse-instance -inverse-search "\"C:/Program Files (x86)/TeXstudio/texstudio.exe\" \"%%f\" -line %%l" ...


1

It's not possible to explicitly exclude contents from the structure view. However, you can trick TeXstudio to not recognize the import by defining a new command \newcommand{\imgimport}[2]{\import{#1}{#2}} Then, TeXstudio will not recognize \imgimport{}{.pdf_tex} as import.


1

OK, I figured it out as soon as i posted the question, but other people may benefit from it (delete it otherwise). In Texstudio, the bibliography wasn't set to UTF-8 (in Adv. Editor tab), probably causing the strange effect to occur. by changing it to UTF-8 and saving the preset, the problem disappeared.


1

JabRef provides an integration with TeXStudio, so you can push citations directly into TeXStudio. Just select TeXStudio in the toolbar as the external application and then you can push the currently selected entry as \cite{key} to TeXStudio.


1

Up to now, it seems that only advanced editor (eg. Vim or Emacs) can fill your needs. For Vim (with a plugin manager like Vundle) i recommend you these plugins: ultisnips (a snippets manager) vim-snippets (including beamer snippets) For instance frame<TAB> produces \begin{frame}[t]{title} \end{frame} You can also add LaTeX plugins like ...


1

To solve this problem you need to create file shortcuts.ini in configuration folder. In my case: C:\MikTex portable\TeXworks\0.4\configuration. In created file write: actionSave_As = actionSave_All = or actionSave_As = ctrl+shift+s actionSave_All = After editor restart it should resolve the problem.



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