I want to include a table in a tex file and I get this error: ! LaTeX Error: File `standalone.sty' not found. Type X to quit or  to proceed, or enter new name. (Default extension: sty) Enter file name: ! Emergency stop.  I have tries to install the standalone fille from    but I can't install it.    \documentclass[11pt]{exam}     \usepackage[french,english]{babel}     \usepackage[utf8]{inputenc}%pour inclure documents      \usepackage{caption}     \usepackage[T1]{fontenc}     \usepackage[capposition=top]{floatrow}     \usepackage[top=1.5in, bottom=1.5in, left=2cm, right=2cm]{geometry}     \usepackage{multirow}     \usepackage{dcolumn}     \usepackage{standalone} \begin{document} .... \input {pi_tableau_diagnosis_adult} \end{document}
6833
I'm new to LaTeX, investigating using it for some work projects.  I'm using MiKTeX on Windows.  My employer's locked-down network blocks the application's automatic installation function.  I can take my laptop home and successfully install from there, but if I need a package in the middle of the day I'm stuck.  I am able to access the CTAN website and download the package files (.dtx or .ins?), but I don't know what do do with them.  How can I do a manual package installation?
81282
I have a problem with LaTeX packages. My problem seems to be with xcolor, and very close from this , but their solution does not work for me.   Unfortunatly, even if I put \usepackage[table,xcdraw]{xcolor} before \usepackage{xcolor} the problem continues...   Is there a simple/magic solution?  Here is the packages I use:  \documentclass[ 11pt, % The default document font size, options: 10pt, 11pt, 12pt %oneside, % Two side (alternating margins) for binding by default, uncomment to switch to one side french, % ngerman for German singlespacing, % Single line spacing, alternatives: onehalfspacing or doublespacing %draft, % Uncomment to enable draft mode (no pictures, no links, overfull hboxes indicated) %nolistspacing, % If the document is onehalfspacing or doublespacing, uncomment this to set spacing in lists to single %liststotoc, % Uncomment to add the list of figures/tables/etc to the table of contents %toctotoc, % Uncomment to add the main table of contents to the table of contents %parskip, % Uncomment to add space between paragraphs %nohyperref, % Uncomment to not load the hyperref package headsepline, % Uncomment to get a line under the header %chapterinoneline, % Uncomment to place the chapter title next to the number on one line %consistentlayout, % Uncomment to change the layout of the declaration, abstract and acknowledgements pages to match the default layout table, ]{MastersDoctoralThesis} % The class file specifying the document structure  \usepackage[utf8]{inputenc} % Required for inputting international characters \usepackage[T1]{fontenc} % Output font encoding for international characters  \usepackage{amsmath} % Use the Palatino font by default  \usepackage[table,xcdraw]{xcolor} % pas OK  \usepackage{xcolor} %OK  \usepackage{hyperref}  \usepackage[bottom]{footmisc}  \usepackage[backend=bibtex,style=authoryear,natbib=true]{biblatex} % Use the bibtex backend with the authoryear citation style (which resembles APA)  \addbibresource{example.bib} % The filename of the bibliography  \usepackage[autostyle=true]{csquotes} % Required to generate language-dependent quotes in the bibliography  \usepackage{capt-of}  \usepackage{subfigure}  \usepackage{caption}  \usepackage{float}  \usepackage{graphicx}  \usepackage{amssymb}  \usepackage{amsfonts}  \usepackage[framemethod=TikZ]{mdframed} \usepackage{lipsum} \mdfdefinestyle{MyFrame}{%     linecolor=black,     outerlinewidth=2pt,     roundcorner=20pt,     innertopmargin=\baselineskip,     innerbottommargin=\baselineskip,     innerrightmargin=20pt,     innerleftmargin=20pt,     backgroundcolor=gray!20!white}   And here is the table I used in one of the chapters ():   % Please add the following required packages to your document preamble: % \usepackage[table,xcdraw]{xcolor} % If you use beamer only pass "xcolor=table" option, i.e. \documentclass[xcolor=table]{beamer} \begin{table}[] \begin{tabular}{|c| &gt;{\columncolor[HTML]{FFFFFF}}c | &gt;{\columncolor[HTML]{EFEFEF}}c | &gt;{\columncolor[HTML]{FFFFFF}}c | &gt;{\columncolor[HTML]{EFEFEF}}c | &gt;{\columncolor[HTML]{FFFFFF}}c | &gt;{\columncolor[HTML]{EFEFEF}}c | &gt;{\columncolor[HTML]{FFFFFF}}c |} \hline Row 1: &amp; \#1   &amp; \#2  &amp; \#3   &amp; \#4   &amp; \#5      &amp; \#6     &amp; \#7     \\ \hline Row 2: &amp; 12 \% &amp; 1 \% &amp; 15 \% &amp; 25 \% &amp; 18.75 \% &amp; 12.5 \% &amp; 6.25 \% \\ \hline \end{tabular} \end{table}
74527
Sorry to start a subjective question, but want to understand "own.sty" file.  Other than all \usepackage{} what sort of other commands can be added to the makeyourown.sty file.  Can you include \let command, and \newcommands in it.   What sort of precaution / structure newbies should follow.
17724
With the 2020 fall update, the behaviour of \input{} changed. Before, I would have a main latex document (main.tex) and then the table contents in another file (table.tex) . Importantly, the file table.tex could be anywhere on my PC, because I could add directories that the \input command went through. So my set-up looked like this: The main.tex document: \documentclass[11pt, a4paper]{article}    \makeatletter \providecommand*{\input@path}{} \g@addto@macro\input@path{{&quot;C:/Users/me/inpath/&quot;}}% \input finds files in this directory \makeatother  \begin{document}  \begin{tabular}{lll} \hline \input{table.tex} \hline \end{tabular}  \end{document}  Then the file table.tex that would be placed in the directory &quot;C:/Users/me/inpath/&quot;: 1 &amp; 2 \\ 3 &amp; 4 \\  Unfortunately, this set-up no longer works. My question is: What is the best way to replicate this behaviour? For now, my solution would be to change the main.tex to: \documentclass[11pt, a4paper]{article}        \newcommand{\inpath}{&quot;C:/Users/me/inpath/&quot;}  \makeatletter\let\expandableinput\@@input\makeatother    \begin{document}  \begin{tabular}{lll} \hline \expandableinput{\inpath table.tex} \hline \end{tabular}    %%% Or alternatively \begin{tabular}{lll} \hline \input \inpath table.tex \hline \end{tabular}  \end{document}  Is there a more elegant way to achieve this? A solution similar to how things worked before the latex fall update? In which I can tell the TeX primitive \@@input where to look for files? What I have found so far is the information  and .
79474
I am using TeXworks 0.4.5 r1280 with MikTeX 2.9 on Windows 7 64-bit. When I add  \usepackage{datetime}   and try to typeset the document, I get a dialog window like this:    I select "Install", confirm UAC request and then get the following error on the console:  ! LaTeX Error: File `datetime.sty' not found.   If I try to typeset the document again - the dialog and the error appear again.  Same thing happens when I've tried installing wrapfig and a few other packages at random: cases, comma, dowith, microtype.  Other packages have installed fine before. What is wrong with my setup? Please let me know if you need more info about my setup in comments.  I've tried this solution: . Didn't work.
111710
I have to add .tif graphic in my LaTeX file, but it is not working.  \usepackage{graphicx}  \begin{figure}[h]     \begin{center}        \includegraphics[width=15mm]{myGraphic.tif}     \end{center} \end{figure}   After some research, .tif files won't work in pdfLaTeX or something. But I need to have my figure with .tif extension (not .jpg or others). How can I add .tif figure in my .tex file?
4643
I write some of my network notes in TeX. I wanted to make a table, and inside it insert an image:   .   I wrote a document:  \documentclass{article} \usepackage[demo]{graphicx} \usepackage{booktabs} \usepackage{array}  \begin{document} \begin{tabular}{m{3cm}m{3cm}m{5cm}} \toprule Configuration for ... &amp; Commands &amp; Topology\\ \midrule PPP: CHAP, PAP &amp; \#sh int se 0/0/0  &amp; \includegraphics[width=4cm, height=4cm]{chappap.png}\\  &amp; &amp; \\ \bottomrule \end{tabular} \end{document}   But instead of my network topology image, I see only this: .   I don't know what is wrong, cause my image is 100% in the same dir, as my *.tex file.  EDIT:  Changed my code as @Jubobs suggested, now everything is as I wanted:  \documentclass{article}     \usepackage{graphicx}     \usepackage{booktabs}     \usepackage{array}      \begin{document}     \begin{tabular}{m{3cm}m{3cm}m{5cm}}     \toprule     Configuration for ... &amp; Commands &amp; Topology\\     \midrule     PPP: CHAP, PAP &amp; \#sh int se 0/0/0  &amp; \includegraphics[width=4cm, height=4cm]{chappap.png}\\      &amp; &amp; \\     \bottomrule     \end{tabular}     \end{document}
58038
is shipped out with TeX Live, but not with MiKTeX, not even with a full installation.  Do you nonetheless know a way for manual installation? MiKTeX needs to know the path of the sty files, and the Asymptote binary file needs to know the path of the asy scripts. Thought of adding the Asymptote folder to the list of registered root directories in MiKTeX, but MiKTeX complains, that this would be “Not a TDS-compliant root directory”.  There is already a similar question: .
83233
I can compile this table separately but when I want to compile the whole file, it gives me an error, which is fixed by removing \multirow.  \usepackage{multirow}  \begin{table}[htbp] \begin{center} \begin{tabular}{|c|c|c|c|p{1cm}p{1cm}p{1cm}p{1cm}p{1cm}p{1cm}p{1cm}|} \hline A &amp; B &amp; C &amp; D &amp; \multicolumn{7}{|c|}{F}  \\ \hline \multirow{ 2}{}{1} &amp; 0 &amp; 6 &amp; 230 &amp; 35 &amp; 40 &amp; 55 &amp; 25 &amp; 40 &amp; 35 &amp; \\ &amp; 1 &amp; 5 &amp; 195 &amp; 25 &amp; 50 &amp; 35 &amp; 40 &amp; 45 &amp;  &amp;  \\ \hline \end{tabular} \end{center} \label{table2} \end{table}
71594
I need to install a LaTeX package on my MikTeX system.  Specifically, I am trying to make biblatex work, but I always get the error message:    ! LaTeX Error: File `biblatex.sty' not found.   I have changed the options to have the "Quick Build" command that includes biblatex too.   Code/commands are correct because it's working under Overleaf.
13121
At the moment I'm having a problem when trying to view my LaTeX file as a PDF. Whether I do it internal or external I both the error "File not found.".  I have no idea what file it means. I've read somewhere it has to with my Acrobat Reader, but I still can't get it fixed. And I think it's worth mentioning that I work on Windows 7, as I've also read that Texmaker on Windows has some bugs.  Any help will be appreciated!
51438
I have a question regarding LaTeX .. I have a table from an excel file which I print screened and posted as a figure in LaTeX. However, I want to make it a table. Problem is, the particular table has a lot of values in it so making it into a table manually is pretty tedious.  Is there a way to be able to reference an image as a table instead?
9619
This is about MiKTeX Revision 2.9.6360.  Immediately after the latest MiKTeX update, my Beamer files stopped compiling.  When i tried to compile a file that had been working fine I got a Package installation popup saying:  tex\latex\beamer\beamerbasemodes.sty  Is missing.  It is part of the following package  beamer   So i clicked to have it installed.  All that achieved is that i got an error message  ! LaTeX error: File 'beamerbasemodes.sty' not found   I repeated this a few times with minor changes to the file, and then went to the MiKTeX Package Manager to see what parts of Beamer are installed.  It said none were.  Either the update had removed Beamer, or the attempt to install beamerbasemodes on the fly had done it.  So I reinstalled it by hand.  In fact i did this several times in various ways.  It made one difference.  Sometimes the problem package was identified as  translator.sty  In case it would help, I ran Update FNDB and restarted my machine.  Each time I installed Beamer, the Package Manager then reported that Beamer was installed.    But when I tried to compile the file, the same things happened all over.   And when i went back to the MiKTeX Package Manager it reported Beamer is not installed.   Is Beamer now out of date?  Or is this a problem on the new update?  Is there a simple fix i can use?
12189
Please help me install latex (texstudio or texlive or any other package) in my laptop. I am using Ubuntu 14.04 LTS.
94506
I have this folder structure in my project:   main.tex mystyle.sty tex  mytex.tex  img  myimg.tex  dat  mydat.dat     And the following files:  main.tex:  \documentclass{scrartcl} \usepackage{mystyle}  \begin{document}   \input{tex/mytex} \end{document}   mytex.tex:  \begin{figure}[ht]   \centering   \input{img/myimg.tex} \end{figure}   myimg.tex:  \documentclass[tikz]{standalone} \usepackage{pgfplots} \usepackage{pgfplotstable} \IfStandalone{   \newcommand{\fromRoot}[1]{../dat/#1} }{   \newcommand{\fromRoot}[1]{./dat/#1} } \pgfplotstableread{\fromRoot{mydat.dat}}\datatable \begin{document}   \begin{tikzpicture}     \begin{axis}[width=10cm, height=6cm]       \addplot table[x=0,y=1]{\datatable};     \end{axis}   \end{tikzpicture} \end{document}   mydat.dat:  1 0.4032 2 0.40241 3 0.38704   mystyle.sty:  \ProvidesPackage{mystyle}  \usepackage{graphicx} \usepackage{amsmath} \usepackage{amssymb} \usepackage{standalone} \usepackage{tikz} \usepackage{pgfplots} \usepackage{pgfplotstable}   In my understanding should the path to the mydat.dat file be ./dat when I'm compiling the main file main.tex. But I always get the error message:  (./img/myimg.tex ! Undefined control sequence. \pgfplotstableread@filename ^^@-\datatable
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)
85703
My question is nearly identical to that posed in these:        but unfortunately, I've followed the instructions in various ways and LaTeX still doesn't find my .bst file UNLESS it is in ./ (the PWD).  I've tried 3 approaches:   export TEXINPUTS=.:~/my/path:  (attempted with both ~ and the full-path) put the file in ~/Library/texmf/  (I'm on a mac) specified the full path to the .bst file in the \bibliographystyle command   Any ideas what I'm still doing wrong?  I've tried texhash (even though it's not supposed to be necessary) and that also failed.  The fact that it works if I put the file in the same directory as the .tex file says it's not a problem with the .bst.