# Tag Info

4

It's a feature in TeX. A subformula in math mode is a group of symbols surrounded by braces or by \left-\right. For instance $a+{b+c}$ has a subformula.1 If you type ${(a+b)}^{2}$, the exponent will be higher than in $(a+b)^{2}$, because you are setting an exponent to the whole subformula in the former case, to the parenthesis in the latter case. By the ...

4

Double subscript error occurs when TeX sees a second subscript attached to the main box, and because TeX's accent machinery is very low-level you're seeing an interesting side-effect here. The best fix is to load the accents package, which re-implements accents and fixes up a few infelicitations such as this: \documentclass{article} \usepackage{accents} ...

0

i don't know if this is what you need, but try this \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} ${a_b}_c$\\ $\hat {{a}_b}_c$\\ \end{document}

2

You misquote the error message in your title. It is not \end{tabulary} that is undefined. The first two errors in your document are ! Undefined control sequence. <recently read> \midule l.11 \end{tabulary} ? ! Undefined control sequence. \LT@echunk ->\crcr \LT@save@row \cr \egroup \global \setbox \@ne \lastbox ...

0

As it is said in the backref description, it does nothing but as a part of hyperref package: "Make hyper-references back from bibliography to citation." And iff you want to really reffer to pages in your work, you should use it. Just delete the use of this package and odd "pages" would go away or just study how to use packages you include. Thanks ...

3

You can't have \right( ... \left): they must be the other way around. I did some other refinements, such as \mid instead of | and \;\middle|\; where the bar should follow the bigger parentheses. Also \dots should be used instead of \ldots. \documentclass{article} \usepackage{comment} % enables the use of multi-line comments (\ifx \fi) ...

0

In many cases, they key thing is to run fmtutil and NOT sudo fmtutil-sys. Your Linux distribution is supposed to take care of updating the system folders, but it will not (and should not) touch your user directory (as it may be on a network drive, shared by multiple computers). The message Fatal format file error; I'm stymied tells you that the versions ...

4

\documentclass{article} \author{Christin Panjaitan} \title{My Practise \LaTeX\ Document} % <-- use \LaTeX, not \Latex \begin{document} \maketitle % <-- comes after \begin{document} Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et ...

3

You could use multlined: \documentclass[12pt, letterpaper]{article} \usepackage{amsmath, amssymb, mathtools} \begin{document} \begin{align*} &\begin{multlined}[.9\displaywidth] \forall a, b, c \in \mathbb{X} \ldotp (a \leq b \land b \leq a \Rightarrow a = b) \\ \land (a \leq b \land b \leq c \Rightarrow a \leq c) \land (a \leq b \lor b \leq a) ...

1

The error is due to the on-the-fly installation of missing packages. When the "ask me first" is used miktex tries to show a dialog and fails. This explains the erratic number of documents showing the problem. I made a bug report. In the meantime one can avoid the crash by setting the option to "yes" or "no", and by installing missing package before the ...

0

Using math-mode characters in the title without the necessary environment can lead to 4 head-scratching errors. Underscores are to be written \_ if used outside of math mode.

1

The subtable environment doesn't take a positioning optional argument like table, but wants instead a mandatory argument stating the width of the subtable. You probably want something like \documentclass [12pt,letterpaper]{report} \usepackage{subcaption} \begin{document} \begin{table}[htbp] \centering \begin{subtable}{.3\textwidth} \centering ...

3

Originally, you had \documentclass{article} \documentclass{tikz-qtree} ... A LaTeX document can only have one class as the error says. But you can also load packages to extend the functionality of the class. tikz-qtree is not a document class at all: it is a package. So, you want: \documentclass{article} \usepackage{tikz-qtree} ... EDIT After ...

2

stretch is connected to package setspace and defines how the lines of caption text are stretched. A value less than one means, that everything will look a bit cramped. To define the margins of the caption, use margin ;-) \documentclass{article} \usepackage{xcolor} \usepackage{blindtext} \usepackage{setspace} \usepackage{showframe} ...

0

The following is obviously not the source of your problem, but since it causes the same error, and this page is the first google hit for that error, I feel it might be useful for future readers to record it here anyway, if that's ok. So: the ! LaTeX Error: Not in outer par mode. can also be caused by forgetting to type an \end{table} a couple of lines ...

2

I have seen the same message when typesetting a tex file when using TeXShop. Cannot find control file something.bcf did you pass the "backend=biber" option to BibLaTeX? The message occurs when the tex file or other configuration files specify one BibTeX engine while TeXShop specifies another. For example if the Engine settings in TeXShop prefs ...

5

As you have rightly observed you are having problems because \c is already provided. Its purpose is to provide the cedilla diacritic, which can actually be added to a number of letters. The letter it is to be added to should appear as an argument of \c, e.g. \c{c} produces ç. Accordingly, if you want to define an alternative \c macro, you must issue ...

8

This redefines it for math mode only, retaining its original use in text mode. EDITED , per egreg's recommendation, to use \DeclareRobustCommand in lieu of \def. The \expandafter in the definition allows the following \fi to be absorbed, so that the text version of \c can operate on the actual argument that follows. \documentclass{book} \let\svc\c ...

0

Not really. I found out I need different encoding for my iMac and MacBook to prevent the errors. Probably some different makeup of the environments. I decided to be pragmatic and uncomment one of these LaTeX commands depending on the machine I'm working on: \usepackage[latin1]{inputenc} % works on iMac \usepackage[utf8]{inputenc} % ...

2

If the answer of @Alder Miguel is not sufficient, try also adding \usepackage[T1]{fontenc} \usepackage{lmodern} to your preamble.

2

Try adding the \usepackage[utf8]{inputenc} to show LaTeX how to recognize some characters. I have compiled this code: \documentclass{beamer} \usepackage[utf8]{inputenc} \begin{document} \begin{frame} \begin{itemize} \item This is normal text \item This item has a greek symbol: $\alpha$ \item This item uses it as a subscript $C_\alpha$ ...

0

Add \usepackage{float} and use the option [H] in the figure. \documentclass{article} \usepackage{graphicx} \usepackage{float} %figure inside minipage \begin{document} \begin{minipage}{0.48\textwidth} \begin{figure}[H] \caption{\label{fig:label} Figure title} \includegraphics[width=\textwidth]{filename} \end{figure} \end{minipage} \end{document}

1

Option pagecolor The latter part Option `pagecolor' is not available anymore is a warning from package hyperref about an unused option. The warning can be removed by removing the option setting pagecolor. Missing supp-mis.tex The file supp-mis.tex was renamed to supp-mis.mkii. TeX Live contains the file supp-mis.tex with the following contents: % This ...

1

Do you have to use this class file? It has really a lot of problems due to its age. The error you get is due to this line of redefinition of \year macro but there are many other problems \def\year#1{\gdef\@year{#1}}. What I would suggest is that take only the first part of this class file about the page sizes and the fonts but rewrite it with the updated ...

0

Another answer which only applies to Beamer: Somehow beamer doesn't like the ' in formulas. That means if I write $t'$ I get the error, whereas $t^\prime$ works. I'm not sure if this only happens under certain conditions -- just mentioning it here since it's another possible source of this error.

0

This is really more a response to @HeikoOberdiek's knowledgeable answer, but it is unsuited for a comment. First, I tried two of your proposed workarounds, the "more automatic solution" and the redefinition of \@combinedblfloats. The former did not work for me (I got a couple of * Additional boxing messages, but the error still happened), but the latter ...

1

The e acute has been added as UTF-8 encoding so you need \usepackage[utf8]{inputenc} in the preamble, or you could enter é as \'{e} .

0

So I ran your MWE (well done, by the way), and you're just missing one line: put it before \end{document}. \printglossaries Make sure you're compiling your .tex file; then compiling your glossary with makeglossaries on your .glo file; then compiling our .tex file again. With this process, adding the above line to your MWE printed the glossary just fine. ...

5

The MWE is a good starting point. From there I could simplify it further. frontmatter sets the title in the optional argument of \twocolumn. Thus \twocolumn[] is sufficient. The text can be replaced by vertical spaces. The class can be replaced by the standard article class. MWE: \documentclass{article} \usepackage{hyperref} \begin{document} \twocolumn[] ...

1

A similar mistake might also be caused by something as simple as trying to build the wrong file(e.g. clicking a PDFLaTeX command while being in the "abstract" file, which is part of your document). You should be in your main file(where you call and "gather" all the "smaller" files) when you're building. I hope this saves some time for newbies like me, as ...

3

The error is a "undefined label", so you can supply a label with \item[] as Mico suggest, or you can define a label: \documentclass[english]{article} \usepackage{enumitem} \newlist{wideenum}{enumerate}{4} \setlist[wideenum]{label*=\arabic*.,wide} \begin{document} \begin{wideenum} \item abbreviation \item dfjks \ldots \end{wideenum} \end{document}

1

I have exactly the same problem. I suppose chemgreek is missing in the package from the repository. So to circumvent the problem, I've dowload manually chemgreek.sty and put it in MiKTeX 2.9\tex\latex\chemmacros and refresh FNDB afterwards. Hope it can help you

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

2

This runs without error. \documentclass[12pt]{report} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setlength{\textwidth}{6.25in} % original 6.25 \setlength{\textheight}{8in} \renewcommand{\baselinestretch}{1.3} \oddsidemargin 20pt % Left margin on odd-numbered pages. \evensidemargin 20pt % Note that \oddsidemargin = ...

5

@Ulrike Fischer points out that amsart is doing some typesetting in the AtBeginDocument-hook when not every babel command has been set up. So it breaks when it encounters the @brackets command in \leftmarginii. Try \makeatletter \def\@rllanguagename{hebrew} \makeatother

2

The full error message is Package biblatex Warning: Conflicting options. (biblatex) 'firstinits' conflicts with 'uniquename=full'. (biblatex) Setting 'uniquename=init' on input line 62. see the output or .log file. So it is coming from biblatex and is not a fatal error. The style is setting the uniquename option, so I ...

5

labeling is defined with all KOMA-classes and available with apackage scrbase. It takes a mandatory argument, the item with the longest width for alignment. \documentclass{scrartcl} \usepackage{siunitx} \begin{document} \begin{labeling}{Termination resistors:} \item[Frequency range:] \SI{200}{\mega\hertz} to \SI{1000} {\mega\hertz} in steps of ...

0

Since the 2015 release of latex2e, you don't need any more fixltx2e: all changes in this package have been incorporated into the kernel: \documentclass{article} \begin{document} Test\textsuperscript{superscript\textsuperscript{1}} \\ Test\textsuperscript{superscript\textsubscript{1}} \\ Test\textsubscript{subscript} \end{document}

4

This is my terminal output if I use TeX Live 2015/prerelease: This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./wein.tex LaTeX2e <2015/01/01> Babel <3.9l> and hyphenation patterns for 79 languages loaded. ...

1

I've just copied from the (older) fixltx2e.sty package on my disk the relevant definition. This should work, with older kernels too (still have TL 2014 release) \documentclass{article} \makeatletter \DeclareRobustCommand*\textsubscript[1]{% \@textsubscript{\selectfont#1}} \def\@textsubscript#1{% {\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}}}} ...

10

\IfFileExists can be used to only load the package if the package file exits: \IfFileExists{mathabx.sty}{\usepackage{mathabx}}{% % place for definitions to simulate the missing package, example: \providecommand*{\widecheck}{\check}% } If the package does not exist, macros defined by the package can be provided in the third argument of \IfFileExists or ...

3

the error is not in cite it is simply that \apj is not defined, the bib file presumably intends you to load a package to define it, if not just \newcommand\apj{some journal name} will do. Unrelated but don't load epsfig package unless you really mean to emulate a document from the 1980's (which is the reason I wrote that package).

-1

for windows user, xelatex in texlive 2014 can be a possible way to work around. I had tried \pdfminorversion=4 from jmartinez, it works. Thanks.

Top 50 recent answers are included