# Tag Info

2

You can do what you want with a simple empty \item: \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{classicthesis} \usepackage[english]{babel} \usepackage{mathtools} \usepackage{enumitem} \begin{document} \section*{Examples} For each function $f$ given, \begin{enumerate} \item[]% ...

2

here is a solution \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{classicthesis} \usepackage{hyperref} \usepackage{graphicx} \usepackage[english]{babel} \usepackage{amsmath,mathtools} \usepackage{amsfonts} \usepackage{color} \usepackage{url} \usepackage{enumitem} \usepackage{multicol} ...

0

I had this issue and fixed it thus: sudo apt-get install xzdec tlmgr update --self tlmgr install etoolbox titling I was getting the error cannot setup TLPDB in /home/tama/texmf at /usr/bin/tlmgr line 5336. when trying to run: sudo tlmgr update --all So I tried to update tlmgr, thinking it an issue with ubuntu's packaged version of tlmgr. ~$tlmgr ... 2 the text input lines are very long. i've copied them into an emacs buffer, and triggered the command to count characters in a line. the line that comprises chapter 2, beginning textbf{2:1} gives a count of 9853, which is nearly twice the size of the defined input buffer. unless there's a real necessity not to break this text, i suggest putting a line break ... 0 Biber 2.2 DEV is now updated on SourceForge with an updated PAR::Packer module which is supposed to fix this. Now, biber should be able to unpack itself properly again after any OS tmp cache cleanup. 8 I can confirm this behaviour. To test: Create 1860 copies of example-image-1x1.pdf (or other image of your choosing) named 1.pdf, 2.pdf,..., 1860.pdf. If you use bash and you have TeX Live 2015 installed in the standard place, you can use the following commands: i=0; while [$i -le 1860 ] ; do ((i++)); cp ...

3

that perhaps there might be some case where that message is not generated, but the PDF file does not contain any content, or there are other catastrophic failures that can occur. This document doesn't produce any error or "no output PDF produced" warning but may be considered as perhaps an error that should be fixed. It may or may not be a case of the ...

5

\documentclass[12pt]{article} \usepackage{forloop} \begin{document} \newcounter{x} \forloop{x}{0}{\value{x}<5}{\noindent value is \arabic{x}\\} \end{document} You can also print the numbers as strings (zero, one, two , ...), if you load the fmtcount package and instead of \arabic{x} you can use \numberstring{x}.

3

Here x is a counter, so you need e.g. \arabic{x}.

1

I have no acces to comuter right now, so my answer will be short and non verifyed. I see three errors: In the for loop you can't let a space between } and { in the current version of tikzmath. Your draw command must be enclosed in { }; The coordinates in your draw command must be before the circle. You can check the following code: ...

2

Another option is to use minipage environment as seen in the code \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{classicthesis} \usepackage{hyperref} \usepackage{graphicx} \usepackage[english]{babel} \usepackage{amsmath,mathtools} \usepackage{amsfonts} \usepackage{color} ...

4

You need \leavevmode before the framed environment; however, I'd like to suggest you another approach using the tcolorbox package (which you are already loading). Below a comparative example with the original framed and then with a tcolorbox of defined width (a \makebox was used to center the box with respect to the \textwidth): ...

2

The document environment should only be declared once in your document. As such, main.tex should have the format \documentclass[..]{...} % <preamble> \begin{document} % <body> \end{document} and never have a \begin{document} % <body> \end{document} inside other .tex files you \input or \include. Your error is replicated in the ...

1

This is not the answer to the question (Thomas F. Sturm already stated that there was a bug in 3.70 of tcolorbox), but I wanted to suggest to use a separate newtcolorbox for this \l@part command -- it can be changed easier then: \documentclass[12pt,a4paper,openright,twoside]{book} \usepackage[english]{babel} \usepackage[most]{tcolorbox} ...

0

The log file given above shows that: I found no \bibdata command which means, you have not loaded bib database file in \bibliography{} command. Likewise, I found no \bibstyle command means, you have not given the bibliography style in \bibliographystyle{}.

2

UPdated Koma-script doc \newcommand*{\dictumrule}{\vskip-1ex\hrulefill\par} So updating the package will solve the probleme.

0

I hit the same problem. It seems that pandoc started using \tightlist in \begin{itemize} sections. My workaround was simply to add an empty macro for \tightlist to my template file (I run pandoc with --template=mytemplate.tex): \def\tightlist{}

0

The error message hints that a figure or a table are lost, but I saw this a few times with no text or float loss. The problem may be that a float is used inside a box. What makes it tricky to nail is the fact that the error might not arise immediately, but only after text is added elsewhere. Try replacing \marginpar with \marginnote (of the marginnote ...

0

Yet another way to crash the engine: \closeout18\bye causes a segmentation fault in pdfTeX and in XeTeX when trying to ship out the page. The last line shown on the terminal is [1zsh: segmentation fault (core dumped) pdftex '\closeout18\bye'

11

The error message you get from platex is ! Undefined control sequence. l.11 \headding {please stop crying and tell me what your problem is, Latex} ? and it's pretty much clear: the control sequence \headding is not defined. It's probably a typo and you should type \heading (one “d”), but it also seems to be a thing in lab.sty, so it's ...

3

This is a “feature” of LaTeX, I'm afraid. Since amsart automatically loads amsfonts, which defines \mathfrak; it appears that redefining commands defined with \DeclareMathAlphabet is not possible with the current kernel. The problem shows up with a very minimal document: \documentclass{amsart} \usepackage[frak=boondox]{mathalfa} \begin{document} {\small ...

2

The fonts used in this example are obtained from: Heather Regular DS Fette Gotisch EB Garamond08-Regular and, by changing some of the code, leads to the pictured fonts. The font(s) used should be saved in the same location as the document being worked on. Also use XeLaTeX \documentclass[a4, 11pt]{scrartcl} \usepackage[top=1.5cm, bottom=1.5cm, ...

1

The error has nothing to do with TikZ. It appears to be an incompatibility between mathalfa, amsart, \scriptsize $something$.... This is not a complete diagnosis but it narrows it down a bit. (At least we can eliminate TikZ.) Minimal example I can get to reproduce the error: \documentclass{amsart}% substitute article for working code \usepackage [ ...

0

I just had this problem while trying to add the adjustbox package. To get it to run again, I ended the pdflatex program from Task Manager (running as a background program), deleted all the support files for the LaTeX document (you can't do this without ending pdflatex), then reopened the main document. I just deleted the new code and the package, so it ...

2

Here's a solution with \begin{math}...\end{math} wrapping and some improvements for typesetting. The left ) in the second line is wrong, in my opinion. \documentclass[10pt,a4paper]{book} \usepackage[utf8x]{inputenc} \usepackage[greek]{babel} \usepackage{amssymb,amsmath,latexsym,amsfonts,amsthm} \usepackage{mathtools} \usepackage{cleveref} ...

1

bpchem's \CNlabel{<cpd>} in the end more or less does \ref{cn:<cpd>}. \schemeref now uses \psfrag (from the psfrag package) to replace the text string in the EPS with the LaTeX code for the label. However, if memory serves me right, hyperlinks, pdflatex and psfrag don't work together (I don't know why, though). There are two possible workarounds ...

0

Load hyperref only for the pdflatex run \documentclass{article} \usepackage[runs=2]{auto-pst-pdf} \usepackage{bpchem} \usepackage[tracking=bpchem]{chemstyle} \usepackage[version=3]{mhchem} \ifpdf \usepackage{letltxmacro} \LetLtxMacro\oldschemeref\schemeref \DeclareRobustCommand{\schemeref}[2][]{% \CNlabelnoref{#2}% \oldschemeref[#1]{#2}% } ...

1

The Basic scheme is pretty minimal and lacks a lot of packages which you are likely to need, especially if you often compile 'templates' of one sort or another. Even if you don't, you are likely to want to use many of those packages. Unless disk space is a real problem, it is much easier to just install the full version of TeX Live and then you know that ...

4

0

In my case I had a Windows 7 Professional, TexLive as the Tex distribution and the only way I got rid of the "Log file not found" error was after I read some of the current answers that indicated adding a full path to the lualatex executable script file like this C:\texlive\2014\bin\win32\lualatex.exe -synctex=1 -interaction=nonstopmode %.tex for the case of ...

2

Don't use empty lines in an align* etc. enviroment. In the example above, there's an empty line between the only math content line and the \end{align*} statement. The same is true for align, alignat and equation, gather etc. It's better to use \DeclareMathOperator for \alt, since alt is apparently an operator. \documentclass[12pt]{amsart} ...

5

Thanks to Manuel's comment, mtpro2 apparently also defines \SQRT. Then calculator overwrites that definition since it is loaded later. Hence, when you try to use \SQRT, it is calculator's definition which is active. So, the error you get is the same as that with the following code: \documentclass{article} \usepackage{calculator} \begin{document} $... 4 As Leucippus implies, subscripts (_{}), superscripts (^{}), \frac, \sqrt, \ln, \vert are commands that can only be used in math mode, so you need to enclose them in dollar signs or $$...$$. As such he has answered your question, this answer is just a suggestion for an alternative way of typesetting that table. Changes: I've added the array package, and ... 4 Using the amsmath package for formulas and enclosing them properly, ie$formula$, will remove the error. \documentclass[12pt]{article} \usepackage{amsmath} \begin{latin} \begin{table}[h!] \centering \begin{tabular}{|c c c|} \hline p & q &$\varphi_q^p(x)$\\ [0.5ex] \hline p & -1 & ‎$\vert‎ x \vert^p$\\ 2 & 0 &$\ln(x^2+1)\$ ...

0

Another possibility is to leave algorithmic and remove algpseudocode to eliminate incompatibility. But change the syntax a bit as this: \documentclass{article} \usepackage{amsmath,algorithm,algorithmic} \begin{document} \begin{algorithm} \caption{Resource Allocation Algorithm } \label{alg:algorithm_sum} \begin{algorithmic}[1] \STATE{Initialization of ...

3

First of all you are loading both algorithmic and algpseudocode (variant of algorithmicx) which are not compatible. The syntax you are using is the one of algpseudocode so don't load algorithmic. Moreover, you are using \text and forgot to load amsmath. Finally, the \Until command has to be used to close a \Repeat statement which is missing in your code. ...

6

there isn't any float option d. however, until the version of latex on tex live 2015, unknown options were simply ignored. effective with tex live 2015, options are checked and unknown ones are flagged as errors.

0

I have a solution, the problem is that I'm not particularly proud of it. Matlab appears to have a problem saving .eps files. The only way around this that I have found is to save a figure with a different extension (say, .png) and then convert to .eps using Inkscape or something similar.

1

The correct syntax for specifying a documentclass is \documentclass[<options>]{<name of class>} so \documentclass[article,12 pt] is wrong. The correct syntax is \documentclass[12pt]{article} If you try compiling a document like \documentclass[article, 12 pt] \usepackage{graphicx} \begin{document} Hello world. \end{document} on Overleaf ...

5

A minimal example reproducing the error is: \documentclass{article} \usepackage{hyperref} \begin{document} \footnote{\href{http://whatever}} \end{document} The solution: hyperref's \href has two arguments: \href{URL}{text}. Either use both or use \url{URL}: \documentclass{article} \usepackage{hyperref} \begin{document} ...

0

In this case, I'd use \left\{ \right\} to adjust the braces. But you can also use another fixed sizes, e.g. \Biggl\{ \Biggr\} (not so tall) \documentclass[10pt,a4paper]{book} \usepackage[utf8x]{inputenc} \usepackage[greek]{babel} \usepackage{amssymb,amsmath,latexsym,amsfonts,amsthm,cleveref} \begin{document} \mathbb{H} = \left\{ ...

1

Possible duplicate question of TeX Live error on Ubuntu 10.04: pdflatex.fmt doesn't match pdftex.pool. You should try deleting the folder. It's only a var directory, it shoud do no harm.

2

The use of \big-and-friend for sizing delimiters always take the form \big<delim>, regardless of whether it's the left or right delimiter: ... \big<ldelim> ... \big<rdelim> ... In your case, you have ... \bigg( ... )\bigg ... which is incorrect. You need ... \bigg( ... \bigg) ... or, better said, ... \biggl( ... \biggr) ... ...

2

As already I wrote answering to the crosspost on LaTeX-Community.org: You cannot use \verb within \caption, as egreg and Ulrike said in the comments her before. \verb is very specific, as it doesn't interpret LaTeX commands in its argument. So you cannot use it within macros. It's even more unusable in a moving argument, that means it's written into a ...

2

This question is a really nice example of why minimal examples rather than code fragments are extremely helpful both in explaining a problem to others, and in finding the source of a problem by yourself. Errors and line numbers If I turn the fragment of code you supplied into a minimal example, it compiles without error: \documentclass{article} ...

1

In addition to Gonzalo's correct reply that you need to run it with latex, not pdflatex: there are other small issues in your code replace \english{slide} by \arabic{slide} (this is the numbering of the slide, not a language thing! remove [] from your second slide (or add actual valid options; this is meant an indication of where options might be entered) ...

6

The code from the manual's examples works fine. Yours fails because you have lost a blank line: \documentclass[tikz,border=10pt,multi]{standalone} \usepackage{pgfplots} \pgfplotsset{width=7cm,compat=1.12} \usepgfplotslibrary{patchplots} \begin{document} \begin{tikzpicture}% 134 \begin{axis}[small,view={0}{90}] \addplot3[surf,shader=interp,patch ...

1

As there are usually many ways to obtain results in LaTeX, this is yet another. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} P(S_{t}) = \frac{1}{\sqrt{2 \pi t S_{t}} \, \sigma} \cdot \exp{\left[ - \frac{\left( \log \left( \frac{S t}{S_{0}} \right) - \mu t \right)^{2}}{2 \, t \, \sigma^{2}} \right]} \end{align} ...

6

I would tweak your formula as follows: Use \exp[...] instead of e^{...} notation Don't use \left and \right to autosize the parentheses; use \big and \bigg instead. Fine-tune the position of the "2" exponent, and add a thinspace before the final closing square bracket. \documentclass{article} \begin{document} $P(S_t) = \frac{1}{\sqrt{2 \pi t S_t} ... 7 do you want this equation? \documentclass{article} \usepackage{amsmath} \begin{document} \[ P(S_t) = \frac{1}{\sqrt{2 \pi t S_t} \sigma} \mathrm{e}^{\left [ -\frac{1}{2t} \left ( \frac{\log \left ( \frac{St}{S_0} \right ) - \mu t }{\sigma} \right ) ^2 \right]}$ \end{document}

Top 50 recent answers are included