Tag Info

Hot answers tagged

6

The equals sign does not cause trouble in text mode: \documentclass{article} \begin{document} SELECT * FROM Table WHERE ID = 0 \end{document} Maybe some other character causes the trouble, for example, the underscore _. This can be set via \_ or \textunderscore. An alternative is verbatim input (also changes the font): \documentclass{article} ...


4

I looked at it again, and I do get problems after removing all the aux files and recompiling. It seems the harvard package does not handle URLs really well. Compiles just fine if I add this after the harvard package. \usepackage{url} \renewcommand{\harvardurl}[1]{\textbf{URL:} \url{#1}} The problem is that you have an URL with _ in it. The harvard does ...


3

The error says ! Package minted Error: You must invoke LaTeX with the -shell-escape flag. So you have to use the flag -shell-escape when compiling, that is, use it before the name of the file. To do this, move %1.tex to the end. -interaction=nonstopmode -shell-escape %.tex


1

Ok, I think I found a hack for this - don't have a Google account, so cannot post at the bug report; anyone who wants, feel free to repost/notify this there if useful. Anyways, first I discovered that using a \label, makes TexMaker ignore syntax checking: Then I looked through the source code texmaker-4.4.1.tar.bz2, and found that this is explicitly ...


1

In LaTex or PC Tex: Select the text you want to block or turn into a comment and use Ctrl Shift % Hold all three keys at once.


1

According to the release notes TexMaker (> Version 4.4) is using a script to hardwrap your code. This script needs to be triggered manually as shown below (Menu: User -> Run Script, unfortnately I have a German system only). However, TexMaker does not have any functionality to do this automatically or to show the desired 80-char-line as stated here.


1

Alternative solution (another editor) If you wish you can try another editor. TeXstudio is very good and powerful and it is based on TeXmaker. So you will not change so much what you know. TeXstudio allows you to determine the number of characters for wrapping lines and also how to wrap. See the Configure for Advanced Editor options (note the Show ...


1

In TexMaker, open your main document (the one that includes all the others), then choose Options/Make Current File the Master (or similar; I have the German version, so I do not know the exact text of the menu item ...). After that, compiling always starts with the main document.


1

There are two different solutions to your problem. 1. Texmaker sessions Define the master document, then choose "File" / "Save session" from the menu. In the future, when starting Texmaker, open the saved session instead of your tex file. 2. Package "subfiles" The subfiles package provides an interesting solution which is independent from Texmaker. In ...


1

@Shamim Hafiz might be right, because what solve my problem was to install the MiKTeX 2.9 in the compatibility mode pointing out that MiKTeX used to work well in Win7. I completed the installation and then, I also executed the Texwork editor (the default editor installed with MiKTeX) in the compatibility mode. After checking that my file was compiling ok ...


1

Ok, my mistake: instead of "running" pdf lateX, I would just use the F1 button. This is what I used to do with my old computer and I thought it was pdflatex compiling. Every finally worked when I indeed run Bibtex = F11, then pdflatex = F6 (not F1), then again (F6)



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