Tag Info

Hot answers tagged

7

I don't think this is possible without a .cwl file. But it's really easy to do this using a .cwl. You can just create a text file with the following code and name it mystyle.cwl. \qfigure{caption}{label}{mincapwidth}{width}{filename}#g The #g just indicates to TeXstudio that this is a command that includes a graphics file (so that the image will pop up ...


3

I assume, that your preamble is in a separate file. TXS interprets newcommand definitions and adds these to the list of known commands. Of course, this can only work, if TXS has parsed that part of code. Therefore, you either need to have the preample file open or activate the option "Editor -> Automatically load included files". Alternatively, you could ...


2

If you are working on WinEdt, you can simply add the following line as the first line of your document: % -*-TeX-*- -*-Hard-*- In this way way you are telling WinEdt that yours is a TeX document and you want to use "smart wrapping" (end of line = new line) instead of "soft wrapping" (default). For already opened documents, you will have to run the ...


1

For TeXstudio: You can control line wrapping at Options -> Advanced Editor -> Special Options -> Line Wrapping Note: The option "Hard Wrapping" uses Soft-Wrapping during the edit session. This makes editing easier. The soft wraps are converted to line breaks during the save operation. If you want to explicitly apply hard wraps during an edit ...


1

Update packages (I was using MikTex as a package manager), and then remove the cache as explained here. Compile, compile bibliography, recompile and build. Thanks to Aubrey Blumsohn and moewe.


1

Given that Apple are discouraging system wide environment variables, it would probably be best to place symbolic links to your folders in your TEXMFHOME which would usually be ~/Library/texmf You can create symbolic links with packages such as Path Finder or in Terminal with the ln command — see Create symbolic link — Ask ...



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