我的代码可以在台式机上运行,​​但不能在笔记本电脑上运行

我的代码可以在台式机上运行,​​但不能在笔记本电脑上运行

无论出于什么原因,当我在笔记本电脑上运行此代码时,我总是收到错误,它说我有一个多余的 {,但是当我在另一台机器上运行这个确切的代码时,它工作正常。当我删除指定行上的 } 时,它说我忘记添加 }。请帮忙!我刚刚更新了我的文本生成器,希望这能解决问题,但并没有。谢谢

\documentclass{article}

\usepackage{mathptmx}
\usepackage{anyfontsize}
\usepackage{amsmath,mathtools}
\usepackage{array}
\usepackage{graphicx}
\usepackage{color}
\usepackage[most]{tcolorbox}
\usepackage{pgfplots}
\pgfplotsset{width=7cm,compat=1.8}
\usepackage{tikz}
\usepackage{float}
\usepackage{subfig}
\usepackage{color}


\sloppy
\definecolor{lightgray}{gray}{0.5}
\setlength{\parindent}{0pt}


\addtolength{\oddsidemargin}{-.875in}
\addtolength{\evensidemargin}{-.875in}
\addtolength{\textwidth}{1.75in}

\addtolength{\topmargin}{-.875in}
\addtolength{\textheight}{1.75in}

\begin{document}

\section{Experimental Setup}

\begin{figure}[H]
\centering
\includegraphics[scale=0.7]{experimentaldesign.png}
\caption{96-well plate containing A549-HLC3 I cells treated with 25 $\mu$M Rapamycin (RAP), 5 nM Bafilomycin(BAF), and 0.1$\%$ Dimethyl Sulfoxide (DMSO) as VC. Cells were treated with Period I(PI) treatments for 24 hours, cells were then "rinsed" with drug-free media and treated with treatments for period II (see above). Red lines represent wells not included in the analysis, blue lines represent images taken for period I, and red circles represent wells where images where taken for Period II(PII).}
\end{figure}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{Results}

\begin{figure}[H]
    \centering
    \subfloat[\centering Cells Treated with Same Drug Input During PI and PII]{{\includegraphics[width=6cm]{AtoA.png} }}%
    \qquad
    \subfloat[\centering Average Punctae per Cell]{{\includegraphics[width=9cm, height = 8cm]{AnalysisPIPII_01.png} }}%
    \caption{\textbf{(a)} side-by-side images taken for PI (left) and PII (right) for VC, RAP, and BAF. VC-R and VC-B represent vehicle control images taken with a Fluorescent Olympus IX83-Inverted Microscope with specific light intensity settings for Rapamycin and Bafilomycin respectively. \textbf{(b)} Average punctae per cell analysis using SparQ pluggin for FIJI(ImageJ). Error bars represent standard deviation ($\pm$SD). }%
\end{figure}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{figure}[H]
    \centering
    \subfloat[\centering VC to RAP and BAF]{{\includegraphics[width=6cm]{VCto2.png} }}%
    \qquad
    \subfloat[\centering Average Punctae per Cell]{{\includegraphics[width=9cm, height = 8cm]{AnalysisPIPII_02.png} }}%
    \caption{\textbf{(a)} Cells treated with VC for PI (left) then treated with RAP and BAF for PII (right). \textbf{(b)} Average punctae per cell analysis. Error bars represent standard deviation ($\pm$SD).}%
\end{figure}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{figure}[H]
    \centering
    \subfloat[\centering RAP to VC and BAF]{{\includegraphics[width=6cm]{RAPto2.png} }}%
    \qquad
    \subfloat[\centering Average Punctae per Cell]{{\includegraphics[width=9cm, height = 8cm]{AnalysisPIPII_03.png} }}%
    \caption{\textbf{(a)} Cells treated with RAP for PI (left) then treated with VC and BAF for PII (right). \textbf{(b)} Average punctae per cell analysis. Error bars represent standard deviation ($\pm$SD).}%
\end{figure}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{figure}[H]
    \centering
    \subfloat[\centering BAF to VC and RAP]{{\includegraphics[width=6cm]{BAFto.png} }}%
    \qquad
    \subfloat[\centering Average Punctae per Cell]{{\includegraphics[width=9cm, height = 8cm]{AnalysisPIPII_04.png} }}%
    \caption{\textbf{(a)} Cells treated with BAF for PI (left) then treated with VC and RAP for PII (right). \textbf{(b)} Average punctae per cell analysis. Error bars represent standard deviation ($\pm$SD).}%
\end{figure}

\section{T-test}

\begin{figure}[H]
\centering
\includegraphics[scale=0.5]{Ttest.png}
\caption{Schematic Diagram for Determining the Correct T-Test to Use.}
\end{figure}

\end{document}

在此处输入图片描述

相关内容