# Tag Info

7

Don't use % if you want to write the % character directly. The % character is reserved to indicate a comment after which everything is ignored. This is no problem at the end of a line, but the % should not occur in between, say, $11 %$, because this way TeX has entered math mode which is not correctly closed (unless there's a stray \$ following in one of ...

6

You need to keep the colour restore within the noalign so need {} but colortbl allows you to colour \hline, so do you need this? \documentclass{article} \usepackage{color, colortbl} \begin{document} \begin{tabular}{l} x \\ \noalign{{\color{red}\hrule height 1pt}} \rowcolor{blue} x \end{tabular} \end{document}

4

You can use \texttt{++} instead, can't you? \documentclass{article} \usepackage{tcolorbox} \definecolor{mycolor}{rgb}{0.122, 0.435, 0.698} \newtcbox{\mybox}{nobeforeafter,colframe=mycolor,colback=mycolor!10!white,boxrule=0.5pt,arc=4pt, boxsep=-3pt,left=6pt,right=6pt,top=6pt,bottom=6pt,tcbox raise base} \begin{document} \mybox{C\texttt{++}} ...

4

I hope, at least this compiles for the O.P. ;-) \tcboxverb is designed for such small boxes with verbatim content. I've added a myboxstyle TikZ style for this. \documentclass{article} \usepackage[most]{tcolorbox} \definecolor{mycolor}{rgb}{0.122, 0.435, 0.698} ...

3

Solution 1 As GoogleDrive does not support (yet) exclude patterns, but does support exclude folders, one option is to dump all output files to a separate folder (in the case of MikTeX you can alternatively specify this for all the output files except the PDF) and make sure that GoogleDrive doesn't sync that folder specifically. (And temporary and ...

3

you can use \scrollmode or \batchmode so that TeX does not stop on errors but it would be a really bad idea to do so. The class should simply predefine constructs like \author if you have \def\author{your name goes here} in the class then you get that text unless the user sets author, or you could instead have \def\author{\ClassWarning{MG}{author name ...

Only top voted, non community-wiki answers of a minimum length are eligible