The following code breaks with ! LaTeX Error: Something's wrong--perhaps a missing \item.  \documentclass{article}  \usepackage{tikz}  \begin{document} \begin{tikzpicture}      \node {%         \begin{itemize}             \item{Won't work}          \end{itemize}}; \end{tikzpicture}  \end{document}    But this compiles just fine:  \documentclass{article}  \usepackage{tikz}  \begin{document} \begin{tikzpicture}      \node[text width=2cm] {%         \begin{itemize}             \item{Works}          \end{itemize}}; \end{tikzpicture}  \end{document}    Is this a limitation of TikZ in general or am I on an older version?
120980
Compiling the following code with pdflatex:  \documentclass{article} \usepackage{tikz}  \begin{document} \begin{tikzpicture}[remember picture, overlay]      \draw (current page.center) node {         \begin{itemize}             \item test         \end{itemize}     };  \end{tikzpicture} \end{document}   ... throws the compiling error:  ! LaTeX Error: Something's wrong--perhaps a missing \item.   The pdflatex version I use (Debian Wheezy) is the following:  pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) kpathsea version 6.1.0 Copyright 2012 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). There is NO warranty.  Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Compiled with libpng 1.2.49; using libpng 1.2.49 Compiled with zlib 1.2.7; using zlib 1.2.7 Compiled with poppler version 0.18.4   What can I be doing wrong?
91164
What is the  difference between \node and \coordinate in TikZ? Exchanging them does no visual effect in my (to be honest: still simple) pictures.  When to use what?
36931
I use Texstudio and Miktex on Win 7 as a portable version.  Today i updated my miktex-packages and everything worked fine except the "\usepackage{tikz}" command.  I made a fresh reinstall with the newest versions of miktex and texstudio, opened my latex-document and compiled it. Miktex installed all missing packages on-the-fly except pgf/tikz, wich gave an error instead. I installed it manually in the package manager but texstudio still says "File "tikz.sty" not found".  Unfortunately I have to use the portable version, because I don't have any admin rights. The last time I worked on that document, everything worked fine.  Any ideas?
67404
Consider this script:  \documentclass{article}                                                                                                                                                                             %\usepackage[latvian]{babel} \usepackage{listings} \begin{document}                                                                                                                                                                                           \end{document}   I get an error   (/usr/local/texlive/2018/texmf-dist/tex/latex/listings/listings.cfg)) (./latvianpres.aux)  ! LaTeX Error: No counter 'chapter' defined.   if I uncomment the line  %\usepackage[latvian]{babel}   What is the problem and how to solve it?
72387
TeX Code  \documentclass{standalone} \usepackage{tikz}  \begin{document}  \begin{tikzpicture}    \coordinate (A) at (0, 0);   \coordinate (B) at (2, 3);    \node[draw,minimum width=10mm] at (A) {};   \node[draw,minimum width=10mm] at (B) {}; \end{tikzpicture}  \end{document}   How such path can be drawn using Tikz?
102174
While making a poster, I've got two columns with blocks with itemize inside them. MWE:  \documentclass[final]{beamer} \mode&lt;presentation&gt;{}  \usepackage{times} \usepackage{amsmath,amssymb} \usepackage[english]{babel} \usepackage[latin1]{inputenc}  \begin{document} \begin{frame}[t]{}   %\leavevmode \begin{columns}[t, onlytextwidth] \begin{column}{.5\linewidth} \begin{block}{Contributions} \begin{itemize} \item First Item \item Second Item \end{itemize} \end{block} \end{column} \begin{column}{.5\linewidth} \begin{block}{Approach} \begin{itemize} \item First Item \item Second Item \end{itemize} \end{block} \end{column} \end{columns}  \end{frame} \end{document}   My local installation and ShareLaTeX would misalign the bullets(baselines added by me):   This problem seems similar to:        But this time it happens when itemize is inside the block. If one removes the blocks it works fine.  Am I missing something or does it look like a Beamer bug?  Thanks! I'm a LaTeX noob, sorry if I missed something stupid.
63157
This isn't a real question, so I'm marking it community wiki.  When I was new to LaTeX, I thought that the \usepackage command worked much like the #include command of the C language: just put whatever you need in the preamble, in whatever order you like.  But then bugs began to bite me and I realised, with growing horror, that commutative packages seem to be the exception rather than the rule.    so  that I think it would be useful to have a list here of problematic interactions between pairs of packages, and their correct order.  Also, a question for amusement:   I want to know if there exists three packages A, B and C, such that A has to be included before B and B needs to be included before C, but C needs to be included before A.
33360
OK, I've been staring at this for an hour.  I know there's an error in this frame, as the document compiles fine if I put \end{document} in the frame before this.  But this frame gives an error   File ended while scanning use of \next   Where is it?????  \begin{frame}[fragile] \frametitle{PROC TEMPLATE for a fancy graph (part 1)} \begin{alltt} proc template;  define statgraph scatdens2;  begingraph;   *BEGIN DEFINING THE GRAPH;    entrytitle "Scatter plot with density plots";     *CREATE A TITLE;    layout lattice/columns = 2 rows = 2     columnweights = (.8 .2) rowweights = (.8 .2)       columndatarange = union rowdatarange = union;    *LAYOUT LATTICE...SETS UP A GRID OF GRAPHS;    *COLUMNWEIGHTS AND ROWWEIGHTS SETS     THE RELATIVE SIZE OF THE INDIVIDUAL COLUMNS AND ROWS;  \end{alltt}  \end{frame}
108431
Here is a MWE:  \documentclass{article}  \usepackage{hyperref}  \begin{document}  a  \end{document}   When I compile my document on , I get the following errors:  ! LaTeX Error: Option clash for package hyperref.  ...   l.6 \begin {document} ?  ! Emergency stop. ...   l.6 \begin {document} No pages of output. Transcript written on arXivSubmission.log.   Seems bizarre that having a single package in the preamble causes an error.
103306
I'm doing the following thing  \documentclass[leqno]{amsart} \begin{document} Example. \begin{itemize} \item Such and so \item the following holds    \begin{align}        x - 2    \end{align}        always. \item whatever else \end{itemize} \end{document}   Since I number my equations on the left, what I don't like about this is that the equation number is closer to the margin than the itemize bullets, while I would like it to be the other way around. Is there a way to do that? Maybe I should create a box or minipage with tikz (or something similar)?
41221
Everything works perfectly except until the error below. I'm slightly new at LaTeX and perhaps I'm missing a package, but I already have the graphicx package. Any help will be greatly appreciated!  ! LaTeX Error: Unknown graphics extension: .eps.  See the LaTeX manual or LaTeX Companion for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.24 \includegraphics[width=2.6in]{02_1.eps}  ?
102227
I am writing a document on writelatex.com and I get an error with this:  \begin{equation}  [any text here returns an error]  \end{equation}   The error message is      Display math should end with $$.   I don't undestand this and I can't understand what the problem is, I have other documents when this code works fine. Is it possible that I'm missing some package?
75194
I'm somewhat of a LaTeX noob, and this is driving me completely nuts.  When I type  \documentclass{article} \usepackage{enumitem}  \begin{document}     Some text     \begin{itemize}[noitemsep]         \item Item 1         \item Item 2         \item Item 3     \end{itemize} \end{document}   I don't want the space which appears in between the text "Some text" and the itemization to be there:    When I search around on Google all I see is tons of long, complicated advice on this site, StackOverflow, forums, etc. on how to not fix the problem ("parskip is evil", etc.), or tons of vague/confusing answers on what package to look at, with no actual example for me to learn from.  So while this question is already asked many times, I have never found a single concrete answer to this question.    The question couldn't be simpler: How do I "properly" get rid of this extra space?
6628
I was surprised to find that standalone package can not compile a document with an equation:  \documentclass{standalone} \begin{document} \begin{equation} % not working! F(V, T) = E(V) + D(T) \end{equation} \end{document}   Is there an option or some workaround that allows this? The current error is something like:   ! Missing $ inserted.   in line 4. (The idea of course is that the including (main) document can just \input the standalone without knowing if is going to be an equation or something else)
7112
How can I ger a line break after the label of a description environment item? I'd like to keep the indentation and the bold face for the item label, but I'd like to have the body of the item in a separate paragraph, because it starts with an itemize environment and indenting that looks really strange.  Adding \\ does not work (error message “no line to end here”), neither does a blank line or \par (no effect). Even \,\par has no effect.  Example:  \documentclass{article} \begin{document}  \begin{description} \item[Animals:]   \begin{itemize}   \item Dog   \item Cat   \item Fish   \end{itemize} \item[Colors:]   \begin{itemize}   \item Red   \item Green   \item Blue   \end{itemize} \end{description} \end{document}   It renders like this:
38224
When I delete the second \item, it compiles fine. However, with the second \item, I get ERROR: Missing $ inserted and the math renders incorrectly:  \documentclass[12pt]{article}  \newcommand \frob[2] {\langle #1,#2 \rangle_F}  \begin{document} \begin{itemize}  \item What I want: $  \langle A,B \rangle_F  \geq  \langle C,D \rangle_F $.   \item What I get: $  \frob{A,B}  \geq  \frob{A,B}  $.  \end{itemize} \end{document}     Would appreciate any help with this issue!
118425
Please why does  \begin{document} \begin{tikzpicture} \foreach \x [remember=\x as \lastx (initially A)] in {B,...,H}{%   $\overrightarrow{\lastx\x}$, } \end{tikzpicture} \end{document}   give  Missing character: There is no , in font nullfont!   in the log file while in document body? Removing the comma (,) after $ relieves the warning.