Tag Info

1

You have used pdflatex instead of latex, most likely the package you are using is based on pstricks.

4

Very likely you are using package acronym and have updated it recently. Older version have used \reset@newl@bel in the .aux files. Recently this was renamed to \AC@reset@newl@bel. Older .aux files are causing now the undefined command error. Either you can ignore the error or delete the .aux files. The error should be gone, when the .aux files are rewritten ...

0

I had a similar issue. I pinpointed the problem to be in the .bib file. My advice is to carefully examine your .bib file for possible ambiguous syntax. In my case, the problematic syntax was: ... title = {A 70~kW stationary fuel cell system}, ... The undefined control sequence issue was resolved, when this was changed to the following (i.e., the ...

0

thank you very much for having helping me. I found out that i have to use utf8 cause is the one predetermined in my TexStudio and also, the one which works better with accents. (I'm Spanish, so I use a lot)

3

To find the problem, just comment out chunks of code: if the error remains, the commented code isn't responsible (at least for that error); otherwise, the problem must lie in the commented code. Using this method, the problem can be isolated to the final item in the bibliography. The issue here is that you have input an accented character directly using ...

2

The problem is not with % but with the underscore! Use this \hyperref[shamir]{''http://en.wikipedia.org/wiki/Shamir\%27s\_Secret\_Sharing''}

4

The underscore characters require math mode, they are used for subscripts there. Thus you need \_ here for a underscore character. Alternatively \url or \nolinkurl can be used. The latter is \url minus the link property. An example with some variants: \documentclass{article} \usepackage[colorlinks]{hyperref} \begin{document} ...

2

In the title section: \HRule \0.4cm] { \huge {\color {blue}\bfseries Enhancing the efficiency of RF sources for future colliders}\\[0.4cm] % Title of your document \HRule \\[1.5cm] The first brace on the second line is unclosed. To find it, several methods are available: By just looking at the document, that's feasible when the document is not too ... 4 The class seems to assume, but not load, the calc package. this works \documentclass[12pt,oneside,a4paper]{abntex2} \usepackage{calc} \begin{document} \chapter{test} a \section{test} \end{document} 0 After an odyssey of trying anything that came to my mind and talking to Robert Koch i finally found a solution to my problem. I am going to post the answer so that in the off chance of someone running into the same issue in the future there is no need for endless trial and error. When i encountered the problem first i was using TeXstudio as an editor. ... 5 The error occurs as VTeX does not have the e-TeX extensions enabled. These extensions to Kunth's TeX (TeX90) provide for example \dimexpr as a primitive. The extensions were finalised in 1999 and are available in all major (free) TeX systems available today. However, according to http://www.micropress-inc.com/new.htm the last update to VTeX was around 10 ... 1 As mentioned in the comments, you should run biber to compile your bib file as you have used biber as the backend. \usepackage[style=authoryear,backend=biber]{biblatex} Here are the commands to compile your myFile.tex and your .bib files: pdflatex myFile biber myFile pdflatex myFile 1 Solved! The problem was that the babel package was outdated. I runned MikTeX 2.9 Updater (Administrator) and I updated all the packages. After that and a LyX reconfiguration it works now. 5 Here are some things I'd do: Equation 1: Replace \max_&Z ~ with \max_Z & (the ~ isn't needed) Equations 2 and 4: replace \mbox{s.t.~} with \text{s.t. } Equation 3: Supply a _ in front of j\in N, to make sure that this string is placed below the summation sign (3 instances) Omit \limits after \sum, since you're already in display math mode ... 0 I just happened to came with the same problem. As Ulrike Fischer and Javier Bezos pointed out, a simple update (as manager) from your MikTeX's administrative tools should work it out. 0 After inspecting the code, I could get through the compilation by commenting \ressubheading{My High School}{Hick Town, ON}{High School Diploma}{2000 - 2004} for which the entry part code was \begin{tabular*}{6.5in} {l@{\cftdotfill{\cftsecdotsep}\extracolsep{\fill}}r} \textbf{#1} & #2 \\ \textit{#3} & \textit{#4} \\ ... 1 The real problem is earlier. If you replace the line, where IIT Madras Logo is called (line 68 of the original template), e.g. as in the example, everything works OK. (You don't have this logo, I suppose.) % (c) 2002 Matthew Boedicker <mboedick@mboedick.org> (original author) http://mboedick.org % (c) 2003-2007 David J. Grant ... 2 I have a feeling this happens when copying and pasting from PDFs, and it has more to do with your reader than your LaTeX IDE. I bet if you copy+paste from your PDF to your notepad you'll get some weird characters for your utf8 ones (try to do this to see what happens). The fact that you just mentioned there is no problem with the utf8 characters you ... 2 LaTeX has problem with some of the characters with accents you used. This problem can be solved using various techniques: Add this into your preamble (and change your source file encoding to UTF-8): \usepackage[utf8]{inputenc} % Or \usepackage{fontspec} for XeLaTeX \usepackage[english]{babel} % Babel, replace with your language ... 0 (Too long for a comment, hence posted as an answer.) If I include the instructions \usepackage[utf8]{inputenc} and \usepackage[T1]{fontenc} in the preamble, I am unable to reproduce the errors you report having encountered, using the bib entries you posted. You may want to check your editor's input encoding settings, just in case these settings involve an ... 0 The above answer provides a workaround, but not the full solution, unfortunately. The syntax error goes away, but some funtionality is still broken, as already suspected by the poster. I have actually used "advanced nodes". Some time ago, I could use such a tikz-timing node as the endpoint of an arrow. Now, this does not work anymore; I have to use ... 3 \documentclass{article} \usepackage{tikz} \usetikzlibrary{spy,decorations.fractals} \usetikzlibrary{lindenmayersystems} \usetikzlibrary{shadings} \pgfdeclarelindenmayersystem{Koch curve}{ \rule{F -> F-F++F-F}} \pgfdeclarelindenmayersystem{Sierpinski triangle}{ \rule{F -> G-F-G} \rule{G -> F+G+F}} \pgfdeclarelindenmayersystem{Fractal plant}{ ... 2 For me, your compat=1.11 did not work (MacTeX 2015), but nevertheless If you look at your last tikzpicture you accidentally put the spy-introduction needed for the spy command after your shadedraw. Changing these yields \begin{tikzpicture}[spy using outlines={circle,black,magnification=3.5,size=4.5cm, connect spies}] \shadedraw[shading=color wheel] ... 4 First it is graphicx not graficx \cventry has 7 arguments, you have given only six at some places. \cvitem has only 3 arguments, you gave six. \Csh{} is unknown for me, hence I have commented it. With all these corrections, here is your code: \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{casual} \moderncvcolor{blue} \usepackage{graphicx} ... 2 Since David has already answered your question, I'll allow myself to 'just' improve on the aesthetics of the table: \documentclass{article} \usepackage[margin = 3.5cm]{geometry} % avoids `overfull \hbox' warning \usepackage[tableposition = top]{caption} % improved handling of caption \usepackage{booktabs} % improved horizontal lines ... 1 I would like to share another solution for the same issue which couldn't be solved by Frédéric's answer. In the process of installing minted (and trying to get it to work), I used one TeX file and different settings for python, pdftex and so on. Even compiling Frédéric's example would lead to undefined control sequences. Cleaning up the subdirectory ... 1 Here is the corrected code. Notice that the lines giving error need to be adjusted to eliminate m\s^2 and include the corrected m/s^2 for units. \begin{table}[htb!!] \centering \begin{tabular}{|c|c|c|c|c|c|} \hline \multicolumn{2}{|c|}{Experiment} & Initial tip deflection & frequency \omega & base acceleration a_b & Magnet gap \delta ... 4 ! Undefined control sequence. l.13 ... Uniform  \in \left[ 0.5,1.5 \right]\ m\s You have \s instead of /s 0 If you use biblatex +biber (which understands utf8),it compiles fine. Just add these lines to your preamble: \usepackage{biblatex} \addbibresource{kilder.bib} and replace at the end of the document: \bibliography{kilder} \bibliographystyle{plain} with: \nocite{*} \printbibliography 1 OK, so @Akira Kakuto got it in one: the \DramPer and \act commands add a blank page whereas \scene or \section does not. I simply didn't notice... sorry all, and thanks for your answers. The layout without these commands fit in just one page. 0 I managed to solve the problem by including opts_chunkset(fig.path = "./figure/") in paper.Rnw. 2 The problem are not the slashes/backslashes. Neither ksepwhich -progname=latex figure/Fig1.pdf nor ksepwhich -progname=latex figure\Fig1.pdf will work on miktex. If you want to find files in subfolders one must add ./ at the begin: ksepwhich -progname=latex ./figure/Fig1.pdf ksepwhich -progname=latex .\figure\Fig1.pdf will both output ... 0 I've had a similar problem with Texmaker at work (where some computers don't run with administrator privilege by default). I had to run the program as an administrator to 'find' the required packages and style files and successfully install them. 1 For using breakable, you must load the library : breakable. refer to the doc : texdoc tcolorbox section 9 \documentclass{article} \usepackage[breakable]{tcolorbox} \tcbuselibrary{hooks, breakable, skins} \usepackage{lipsum} \begin{document} \begin{tcolorbox}[enhanced, breakable, title=My breakable box] \lipsum[1-6] \end{tcolorbox} \end{document} 2 Finding out which package loads what is often a daunting task. Instead pass the options before document class. If there is still an option clash then you cannot use that option together with the other package loading. Also smartdiagram -> tikz -> {graphicx,xcolor}. \PassOptionsToPackage{table,xcdraw}{xcolor} \documentclass[a4paper,12pt]{report} ... 3 The error occurs at the first \lim right after \begin{alignat*}. This environment expects an argument, the number of "equation columns". Since \lim is not a number, TeX throws the error. Unless you have redefined $$and$$, they will cause further trouble, because they are usually used for inline math mode. Therefore I have replaced them by normal ... 5 It seems that your input source file is in UTF16 or UTF32. The UTF32 file includes (byte per byte): zero zero zero \ zero zero zero d zero zero zero o zero zero zero c ... TeX interprets \ zero as a control sequence with single character (ASCII-zero) and this control sequence (reported by TeX as \^^@ in log file) is not defined. Use only ASCII or ... 0 The only working idea was to install current TeXLive from tug.org and last stable Texmaker version to another PC. And also to uninstall LaTeX and completely clean this PC and then install TeXLive and Texmaker. 1 Is this you want? \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} \begin{align} \begin{aligned} P^{-1} &=P_{1}^{-1}+P_{2}^{-1}\\ P^{-1}\hat{x}&=P_{1}^{-1}\hat{x}_{1}+P_{2}^{-1}\hat{x}_{2}%.(7) \end{aligned} \end{align} \end{document} Actually, I should admit that I don't understand your code (\eqalignno and ... 2 As you can see from the command line, you've pressed the button 'PDFLaTeX' but you're invoking winedt.exe instead of pdflatex.exe. This means that you've made a mess with your configuration. First of all, be sure that you have a TeX distribution installed, either MiKTeX ot TeX Live. Then, in WinEdt, go to 'Options' -> 'Execution Modes'. There, press the ... 2 The warning you provided explains where the problem lies. Namely, the package alphalph is out of date and updating it should fix the error. See How do I update my TeX distribution? on how to update the package(s). 2 Several good answers have already been given, but I would do things a little bit differently. Like R. Schumacher, I would not use a \left, \right pair. Only I would put a \bigl, \bigr pair instead. (Two \big instructions would also have served, but \bigl and \bigr are more coherent and readable in this case, since they are supposed to be placed before left ... 2 To split something like that, we have multline \documentclass{article} \usepackage{mathtools} \begin{document} \begin{multline} B \times B = \{ (1,1),(1,3),(1,5),(1,7),(3,1),(3,3),(3,5),(3,7), \\ (5,1),(5,3),(5,5),(5,7),(7,1),(7,3),(7,5),(7,7) \} \end{multline} \end{document} 4 Just remove \right. and \left. and you will get I believe you want. \lbrace and \rbrace are not required to be paired. \documentclass[10pt,letterpaper]{article} \usepackage{mathtools} \begin{document} \begin{align} B \times B &= \lbrace (1,1),(1,3),(1,5),(1,7),(3,1),(3,3),(3,5),(3,7), \nonumber\\ & \hspace{5mm} ... 3 Always call \usepackage[caption=false]{subfig} with the revtex4-1 document class, which is not compatible with caption. The option is indeed meant not to load the caption package along with subfig (it will emulate the needed features). Note that it's better avoiding blank lines inside \subfloat (not required, though). More importantly, you're missing ... 3 It's necessary to use \protect or to robustify the command. However, other problems might appear, if hyperref is used, since pdftex will complete about invalid strings in bookmarks then. In this case, use \texorpdfstring as shown in the second version. \documentclass{article} \usepackage{amsmath} \usepackage[english]{babel} \usepackage{hyperref} % Not ... 2 You forgot to use amssymb. Also, you are better off using \[ ... rather than . In general, using LaTeX is not for the faint of heart; the challenges ahead of you are much greater. \documentclass{article} \usepackage{amsmath} \usepackage{graphicx} \usepackage{amstext} \usepackage{amssymb} % Missing in your example. \begin{document} \section{Chapter 1: ...

3

Here is something somewhat cleaner. I used the nccmath package to get medium-sized (numerical) fractions and mathtools to define an \abs command (absolute value) with a correct spacing and variable size. Last, I defined a \d command for the differential, with a correct spacing and an upright d: \documentclass[11pt,a4paper]{article} ...

6

This is still a little too wide but something like \documentclass{article} \usepackage{amsmath} \begin{document} Let there be a right triangle with angle $A$ (not with measurement 90 deg) whose adjacent has measurement 3 and whose opposite has measurement 2 therefore the hypotenuse of the triangle has measurement $\sqrt{13}$ so this means \[ ...

5

First, you have opening braces missing in the right hand side of your equation. Second, if you use aligned, you'd better provide & as alignment markers. This works: \documentclass{amsart} \begin{document} \label{3-6} \begin{aligned} \overline{\epsilon}_{ij} &= \frac{1}{V} \int_V {\epsilon}_{ij} dV\\ \overline{\sigma}_{ij} &= ...

Top 50 recent answers are included