# Tag Info

3

The problem is probably that your format is used with \usepackage[english, polish]{babel} which transforms the meaning of some special char (technically it makes chars active), in this case probably the quote " which I suppose it is used to add some accent around... (I do not know Polish, so I don't know the details). If you use utf8 to input special ...

5

you can input a file with multiple spaces in its name by \documentclass{article} \begin{document} \input{"a\space\space b.tex"} \end{document} which works as you can see on the terminal LaTeX2e <2020-02-02> patch level 2 L3 programming layer <2020-02-14> (/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls Document Class: article ...

3

You can define new keys. \documentclass{article} \usepackage{todonotes} \makeatletter \newcommand\newtodooption[2]{% \define@key{todonotes}{#1}[]{% \setkeys{todonotes}{#2}% }% } \makeatother \newtodooption{q}{color=green} \begin{document} Abc \todo[q]{text goes here} Abc \todo[color=green]{text goes here} \end{document}

1

The keyval parser goes to some lengths not to expand macros so that you can use them in values without them being expanded at the wrong time. So you could force \q to expand before being passed in by \expandafter\todo\expandafter[\q] But that isn't very convenient, \newcommand\q{\todo[color=green]} is likely to be the simplest version.

3

That's a bug in IEEEaccess. It redefines TeX's \year primitive to set the year of the publication (so that you can type \year{2020}). That breaks TikZ (and several other packages) that rely on \year having its primitive meaning. You can work around that issue by tepmorarily saving \year as \TeXyear before loading IEEEaccess, and then restoring it after the ...

2

The problem is, as the error message says, that \msg_term:n is deprecated. This function along with a couple others were removed from the LaTeX3 kernel because they were not correctly named. I mailed the Elsevier team responsible for their LaTeX packages last october (2019) and was told that they would look into my suggestion, update the package, and send ...

4

The return value of -5 means that signature verification for a repository has failed. There is currently a bug in tlmgr that prevents a sensible error message from being printed, but this is being worked on and should be fixed soon: https://tug.org/pipermail/tex-live/2020-February/044775.html The most recent incarnation of this problem stems from the ...

0

The propossed solution is not complete. You will run into the same problem in other cv-scripts. Load spanish-babel as: \usepackage[spanish,es-noquoting,es-noshorthands]{babel} or \usepackage[spanish,es-noquoting,es-noshorthands,activeacute]{babel} in case you write María as Mar'ia. The short-hands interfere with moderncv.

1

Hi @khawla and welcome to TeX-SE. I'm assuming your are on Windows and using TeXstudio, much likely because I've got the same errors long time ago and the -synctex=1 is a default setup. And you are using pdflatex since it is written on the error message. In TeXstudio, go to Options -> Configure TeXstudio and then to Commands at the left menu. Check the ...

0

Ok so, I've been following the solutions proposed here. However, when I change the path for pdfLaTeX in the command section in preferences, I can compile but not compile & view. Any suggestions?

0

Thanks a lot Schrödinger's cat ! I was not able to supply the error format in time to you. I have slightly altered your code to work with my desired error format. This error format is a bit easier to generate from my dataset. I added plotting rows N to M to your code, which is explained here. Thanks again! \documentclass[tikz,border=3mm]{standalone} \...

0

Is this what you are looking for? \documentclass{article} \usepackage[a4paper, margin=2cm]{geometry} \usepackage{datetime} \usepackage{spreadtab} \usepackage{numprint} \npdecimalsign{.} \usepackage{tabularx} \setlength\parindent{0pt} \hbadness=99999 % or any number >=10000 \begin{document} \STautoround*{2} \begin{spreadtab}{{tabularx}{\textwidth}{ &...

0

Welcome! This adds the error bars. I was not sure how you want to provide the errors, so for the time being I just added six columns from your table which indicate the dimensions (+ and -) of the error bars. \documentclass[tikz,border=3mm]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.16} \begin{document} \pgfplotstableread{ 0 2 3 4 1 0.5 0.5 1 0....

0

Welcome to TeX.SE! First, you shouldn't use the minimal class; it isn't intended for end-users, only for specific tests by LaTeX developers. Second, your problem goes away if you add \usepackage[T1]{fontenc} to your document. T1 being more modern than OT1, this may be what you want to do. The problem when using OT1 here is due to the fact that \_ doesn't ...

0

The problem is that xstring will perform “all the way expansion” to the arguments to \StrSubstitute and \_ doesn't survive this process. \documentclass{article} \usepackage[abspath]{currfile} \usepackage{xstring} %%% Set a fake return. \def\theabsdir{\detokenize{/Users/Me/Example_with_underscore}} \StrSubstitute[0]{\theabsdir}{\detokenize{_}}{\noexpand\...

1

The KOMA classes are no longer compatible with titlesec. Some patches which more or less made it working have been removed. This means that this here compiles with texlive 2018 but not with a current texlive 2019: \documentclass{scrartcl} \usepackage{titlesec} \titleformat*{\section}{} \begin{document} \section{abc} \end{document} You can check your log-...

3

That error (not terribly clear, I'll give you that) happens because you are using \printbibliography in the preamble of the document. The command \printbibliography, as the name advertises, prints the bibliography, so it must appear after the \begin{document} (where you want the bibliography to appear). That error appears before the usual Missing \begin{...

0

Wow! Based on David Carlisle's response to my other question (Overfull \vbox caused by change of font), this script ending also eliminates the Overfull \hbox message: \end{tabular*} \end{scriptsize} \end{document}

1

(Edited to incorporate useful comments from @DavidCarlisle) A single line break is typically treated as a space in LaTeX. So, for example, consider the following: \documentclass{article} \begin{document} Hello world \end{document} (which has no space after "Hello") will output "Hello world" (with a space). At the end of a paragraph (indicated by a \par ...

2

First, amsart only supports tocdepth up to 3, because it only defines the variables \r@tocindentX for −1 ≤ X ≤ 3. Even then, this looks like a bug in amsart, when you set tocdepth to 3. The class defines: \def\l@subsubsection{\@tocline{3}{0pt}{1pc}{7pc}{}} and then also does: \let\l@paragraph\l@subsubsection The first ...

2

You have specified footnotesize text in a box based on a lineheight as set by scriptsize (which is smaller), so the text does not fit. so it's just a bug in your code. Note that size commands do not take an argument, it should be \footnotesize not \footnotesize{....} (but that makes no difference here) What is the intention of the \multirow{1}{*} here? ...

4

Welcome to TeX-SX. First of all, I would suggest you to save your files before compiling, at least the first time. If you do not save the file intentionally, TeXstudio will compile it as a temporary file, as you can check at the imagem. The name will be "texstudio_something". These files are stored at the AppData\Local\Temp. Which you can access through ...

7

yes you are right. The new version of tkz-base is incompatible with the version of tkz-fct.sty. There was a small problem uploading the new file on CTAN. You will have to wait a while before you can find the package on CTAN. Currently you will find the file v2.2 here I think \tkzActivOff is no longer necessary with the latest version of TikZ. \...

0

This is often caused by another MikTex process running at the same time. Close any other MikTex processes (or just reboot) and try again.

2

The nameref package uses gettitlestring that has code to support enumitem, but it is incomplete: it only manages \enit@format, but not \enit@align. \documentclass{article} \usepackage{enumitem} \usepackage{nameref} \makeatletter \g@addto@macro\GTS@PredefinedLeftCmds{% \GTS@TestLeft\enit@align\GTS@Cdr % package enumitem } \g@addto@macro\GTS@...

0

As suggested by @Sigur, here is a code with a simplified typing, which uses the \SI command from siunitx to ensure correct formatting and spacing of units. An unrelated remark: there's no difference between alignat{1}and a simple align. \documentclass{article} \title{Homework 3 my name} \usepackage{xcolor} \usepackage{amsmath} \usepackage{graphicx} \...

2

In your case you are trying to use two packages scrlayer-scrpage and fancyhdr. The culprit here is that package scrlayer-scrpage defines and uses for example an command \cfoot. With the call of the second package fancyhdr this package also tries to define and use an own command \cfoot and that is impossible, because that comand is already defined and in use ....

1

I solved the problem, and this is how: I opened the MikTeX Console application and updates by clicking "Update now" on the Overview page. After doing that, it works now :) (MikTeX does not automatically update, so every now and then you should manually search for updates by opening the MikTeX Console application.) Anyways, if this doesn't solve your problem, ...

4

\color is defined by LaTeX's base color support package, so loading it will get rid of that error. However this package provides only basic colour support, and xwatermark seems to need the extended features from the xcolor package (so adding \usepackage{xcolor} is a safe bet). Though this looks a lot like a bug in xwatermark: if the package requires xcolor ...

1

Use the YAML metadata block to enable graphics/graphicx like this: --- graphics: yes --- ## Chapter 12 \begin{figure}[htbp]\includegraphics[width=0.25\textwidth, height=!]{images/castle01.png}\centering\end{figure} lorem ipsum

1

You have an error in the .aux file, no need to copy the whole project just delete the aux (and probably your .toc file as well). The most common reason for corrupting the aux file in this way is killing the job after an error (by control-c on the command line or deleting the window running the job) This gives the operating system no time to flush any ...

1

There's a typo in the documentation (or rather, in the code). The documentation says footnotedistance, but the code actually defines footenotedistance, with the extra e. The code should work if you change that. This is unlikely to be fixed, as the last activity in the mdframed GitHub was in 2014, but I filed an issue anyway.

2

Open a bug report with adjmulticols. It seems to get the case of being inside a box wrong. \documentclass{article} \usepackage{adjmulticol} \begin{document} \begin{minipage}{5cm} \begin{multicols}{2} multicol in a box is fine \end{multicols} \end{minipage} \begin{minipage}{5cm} \begin{adjmulticols}{2}{2cm}{2cm} but this is not \end{...

Top 50 recent answers are included