6

Replace at first the last quote with the editor and "Search and Replace" "<space> -> } Then repcae the first quote with " -> \enquote{ and then use always: \documentclass{article} \usepackage[french,ngerman,english]{babel} \usepackage[autostyle]{csquotes} \begin{document} \enquote{quote} \enquote*{quote} \enquote{quote \enquote{quote ...


4

Here's a LuaLaTeX-based solution, which doesn't require you to modify the existing "..." and '...' pairs of quotes. It consists of a Lua function called msq (short for 'make smart quotes') and two utility LaTeX macros which switch the Lua function on and off. \documentclass{book} \usepackage[english]{babel} % or some other suitable language choice \...


2

TeXstudio does not recognise \begin{eqnarray*} ... \end{eqnarray*} as math env, therfore all math commands will be marked as "math command outside math env", this is known wont-fix TeXstudio-Bug, but as described on https://sourceforge.net/p/texstudio/bugs/1500/ you can avoid this bug with "activate latex-l2tabu.cwl in option/completion": (Picture: CC-BY-SA ...


2

Go to Options->Configure TeXstudio, then go to the Build tab and add your command at the end of the Build & View


1

the title of the block is missing: \begin{block}{Title} \begin{equation*} \ket{\psi_{n\bm{k}}} = \frac{1}{\sqrt{N}}\sum_{\bm{R}}e^{i\bm{k}\cdot\bm{R}}\ket{\phi_{n\bm{R}}} \end{equation*} \end{block}


1

Assume that there is no line break between the two delimiters $. The following script will check if the cursor is in the math mode and select the math code. %SCRIPT var linenum = cursor.lineNumber(); var colnum = cursor.columnNumber(); var strLine = editor.text(linenum); // get current line var left = strLine.indexOf("$"); while (left != -1) { var n = ...


1

You should run the installer as administrator. right click on the installer then choose "Run as administrator".


1

\newpage \renewcommand{\baselinestretch}{1.5} \newlength\figurelen \settowidth\figurelen{Figure} \renewcommand{\cftfigindent}{0em} \addtolength\cftfignumwidth{\figurelen} \renewcommand\cftfigpresnum{Figure } \addcontentsline{toc}{chapter}{\listfigurename}{ \listoffigures} \newpage \newlength\tablelen \settowidth\tablelen{Table} \renewcommand{\cfttabindent}{...


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