Tag Info

New answers tagged

1

I would like to suggest you to avoid the ulem package in this case and use the xeCJKfntef package instead. The xeCJKfntef package is a descendant of the old CCTfntef and CJKfntef, and it is a part of the xeCJK package. The xeCJKfntef package doesn't relay on the ulem package. Li Qing, one of the current maintainer of xeCJK, fixed this problem last month. ...


0

Here, I redefine \uline and \uwave to clip 1.5pt off of each end, which allows for a broken line/wave even for continuous characters. The \uwave behavior was a bit tricky because it insists on placing an integer number of waves, so the tail end is not always precise. \documentclass{scrartcl} \usepackage{ulem} \let\svuline\uline \let\svuwave\uwave ...


2

From my comment: A guess is that your are using sigplanconf.cls and that you usually need to write \authorinfo{Name1}{Affilation1}{Email1} Note that all arguments are contained within curly brackets. To hide the author info you could write \authorinfo{} %Name1} {} %Affilation1} {} %Email1} so the arguments to \authorinfo are ...


3

Apart from \textwidth needing to be text width the code generating errors did not appear to be used for anything so I simply deleted it. I also deleted all packages not used in the example. \documentclass [a4paper] {article} \usepackage {tikz} \title{teszt} \newcommand {\barany}[2]{% % \begin{tikzpicture}[scale=0.5,>=stealth] \draw ...


0

I had the same problem and after trying for two days i found out I had a problem in a figure. The figure was a .PNG, it was in the correct directory, but I have previously changed the file format by renaming it. I reopened the figure in a image editor and saved it again so it reconfigured colour properties etc. An then when i compiled the .tex file it ...


0

Judging from your error message, you are trying to run (a windows-style UNC version of) your file name as input to the XeTeX command. (If that is not the case, please copy and paste the exact call you make to start XeTeX.) It doesn’t work that way, you need to give the file name on the command line. It may also be worth trying some dedicated TeX editor for a ...


2

Your code produces { {\home \pranav \} } ! Paragraph ended before \graphicspath was complete. as the braces don't match (\} is the } character not a group end) changing \} to } It produces ! LaTeX Error: Undefined color model `Blue'. as \textcolor[Blue]{Hello world!} should be \textcolor{Blue}{Hello world!} changing [] to {} produces ! ...


1

Deleting the temp folder C:\Users\username\AppData\Local\Temp\par-7363686d6964746b, as mentioned in comments, worked for me fine.


2

The standard biblatex styles do not use pdf or file fields in the output, but the data is processed by the back-end to make it available (you might want for example a reading form of your database with hyperlinks to the PDFs). As described in the biblatex manual, the fields file and pdf are treated as equivalent: file is the 'native' name for biblatex with ...


3

Here's a solution that uses (a) the S column type of the siunitx to align the numerical entries on the decimal markers, (b) the \si macro (also of the siunitx package) to format the units, and (c) the tabularx package (and a modified form of that package's X column type for 6 of the 8 subheaders) to force the table to occupy the full width (and no more!) of ...


5

still a fraction over-full but... \documentclass[fleqn,10pt]{article} \usepackage[utf8]{inputenc} \usepackage{dcolumn,booktabs} \begin{document} \begin{table}\centering \begin{tabular}{ *{2}{D..{2.0} D..{4.1} D..{4.1} D..{1.2}}} \toprule & \multicolumn{3}{c}{Yellow conidia}& \multicolumn{3}{c}{Black conidia} \\ \midrule ...


1

I'm using the current MiKTeX 2.9, ecact from log file: pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) (preloaded format=pdflatex 2013.7.29). BTW: Which version do you use? It could be that your version is a little bit outdated?! Have a look at the beginning of your log file and add it to your question. If I copy the content of the zip file to a ...


3

If the subfile has the same preamble than the main file (that means if it is ok that the subfile preamble is ignored) then you can use the standalone package: \documentclass[12pt]{article} \usepackage{lipsum} \usepackage{standalone} \title{dsjgk}% \author{gfdl}% \date{today}% \begin{document} \section{first file} \input{1} \end{document}


3

use a main file of the form \documentclass[12pt]{article} \usepackage{lipsum} \title{dsjgk}% \author{gfdl}% \date{today}% \begin{document} \maketitle \section{first file} \input{body1} \section{second file} \input{body2} \end{document} then to have a document for just section 1 have \documentclass[12pt]{article} \usepackage{lipsum} \title{first ...


2

This should fix the problems. What have I done? added missing $ signs where required (I added 3 of these in total); avoided 'double subscripts' e.g. if you say $x_i_1$ you will get an error - you need to group things: $x_{i_1}$, for example; removed the tabular environments which aren't needed if you add align=center for the picture, and removed final ...


0

I had the same problem. Reinstalling MiKTeX with a thorough clean-up did not work for me. Running TexWorks as Administrator worked for me. It needed to install packages.


4

First, a remark: the error occurs even without sn edges style. I believe this is not a forest, but rather a pgf bug. I've tracked the problem down to \pgfintersectionofpaths of pgf's intersections library. The following code replicates the exact error without forest. \pgfintersectionofpaths{% \pgfpathmoveto{\pgfpoint{0.0pt}{-3.53297pt}} ...


0

Also be careful about installing miktex properly. Sometimes people just download miktex but forget to run setup after that.


0

Try pressing ENTER after i (but what you've tried works for me), and the insert the correction: $ cat foo.tex \documentclass{article} \begin{document} \LaTEX \end{document} $ pdflatex foo.tex This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) restricted \write18 enabled. entering extended mode (./foo.tex LaTeX2e <2011/06/27> Babel ...


6

Use the (newly created) pagectrl package: \documentclass{article} \usepackage[range=2-3, report-as=error]{pagectrl} \usepackage{mwe} \begin{document} \lipsum[1-40] \end{document} Note that issuing a fatal error will cause TeX to halt, but this error will not be thrown until \end{document}. I will be uploading this to CTAN later tonight. Until it's ...


8

Here is as far as I got. \documentclass{article} \usepackage[a4paper]{geometry} \usepackage{pdfpages} %\usepackage{tikz} \usepackage{everypage} \AddEverypageHook{\ifnum\value{page}>50 \errmessage{Too many pages}\errorstopmode\fi} \renewcommand{\contentsname}{My combined file} \setlength\parindent{0pt} \begin{document} ...


3

I'm not sure why this might be the case, but this error seems to be related to the font being used. I can replicate your error when I compile your MWE using the following configurations: no font specification (Computer/Latin Modern), compiled with pdfLaTeX or XeLaTeX \usepackage{palatino}, compiled with pdfLaTeX or XeLaTeX \usepackage{libertine}, compiled ...


4

With older versions of siunitx the standard settings attempted to create abbreviation units macros in such a way that existing definitions caused problems. With opex3 the provided defintion of \as is a shortcut for Appl.\ Spectrosc.\ which is where the issue comes. (Yes, there is a space at the end of that shortcut: not a great plan!) The reason the error ...


4

There are actually two issues with the way you're typesetting these tables. First, as already noted in @cfr's answer, you must use TeX's math mode for the macros \delta, \theta, and \leq (as well as for getting the proper spacing around the symbol <). Second, you need to apply some care with the way you enter numbers and their scientific units. The most ...


3

\delta, theta and \leq are commands for maths mode. You are trying to use them in text mode (which is the default). You need to switch to maths mode in order for it to work: Delta & $\delta < 4Hz$ & Sleep \\ Theta & $4Hz < \theta \leq 8Hz$ & Sleep \\ In each case, the first $ enters maths mode and the second leaves it, returning to ...


4

TeX does give more clues, you just did not show them in your quotation above. If there is a $x^{$ on a frame the error is [2]) Runaway argument? {title of bad frame} \begin {itemize} \item [Esophagus] Four columns \ETC. ! File ended while scanning use of \frame. <inserted text> \par You omitted the first three lines which tells ...


4

the immediate cause of the error is that % is the comment character in TeX so your line ending %\\ does not end with a typeset % it comments out the \\. Using \% fixes that. Then there is one row missing a \\. Fixing those two errors allows the document to run without error but the spacing is poor and the vertical lines are broken as the \\\\ construct ...


6

Only first \hline can be without preceeded \\. Next \hlines need to be written as \\ \hline. Edit: Sorry, my answer was only "LaTeX-like" answer to the LaTeX question. It means "do this and don't think about it". I try to improve this now. You can ask why there is the error message "Misplaced \noalign". The \hline macro is implemented by \noalign TeX ...


1

For the record, here is my final solution as a corrected version of the minimal example. This now produces what I want: \documentclass[norsk,a4paper,12pt,twoside,pdftex]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{array} \usepackage{makecell}%used for \macecell command, allowing for ...


4

You have \begin{minipage}{\vspace*{\fill{}}} That argument \fill{} should be \fill in the argument to \vspace {} is not legal in a length expression) but the argument is the width of the minipage so shoudl have a length like 3cm it can't have a horizontal or vertical space command. That is the cause of the error but I'm not sure I can guess the ...


2

My dear Village, I don't see any problem, except the minor typo in your part, which as a result prevented compilation. Ohh, what an error, to deceive the eye! The log the log! roared the beasts. But it wasn't there. Seriously, just capitalize instead of lowercase, although I'd prefer a diamond, over a bullet. \definesymbol[1][$\bullet$] ...


3

Here is how I would do it: \documentclass{article} \usepackage{amsmath} % useful if a lot of upright subscripts are needed \makeatletter \begingroup \catcode`\_=\active \protected\gdef_{\@ifnextchar|\subtextup\sb} \endgroup \def\subtextup|#1|{\sb{\textup{#1}}} \AtBeginDocument{\catcode`\_=12 \mathcode`\_=32768 } \makeatother \begin{document} \noindent ...


4

You should hardly ever need to use \\ and never use it before a blank line (end of paragraph). Also don't use math italic for words such as room. I wasn't sure of the intended layout, something like \documentclass{article} \usepackage{amsmath} \begin{document} \section{Test} We need to minimize: \[z=\sum_{i=1}^{15}x_i\] Subject to: \begin{gather*} ...


4

The wrapfigure environment has two mandatory arguments; you are missing the one used for the width: \begin{wrapfigure}{r}{\linewidth} \centering \includegraphics{DoorNumbers.png} \caption{Door assignment} \end{wrapfigure} Instead of \linewidth, use the length that better suits your needs.


1

Finally, after trying and trying. At start of this questions I had Ghostscript 9.10 and MIKTEX updated on late October´2014 and WinEdt9 but, after reading I have found no solution, I try and try and finally I solved the problem in this way: - updated Ghostscript from 9.10 to 9.15 - Updated all the packages of MIKTEX with the admin update tool. - Deleting ...


2

You don't have the macro \R defined. Presumably you want to represent a mapping from (the set A to the real domain. The latter is commonly defined using \mathbb{R}. As such, it would suffice to define \newcommand{\R}{\mathbb{R}} in your preamble: \documentclass{article} \usepackage{amssymb} \newcommand{\R}{\mathbb{R}} \begin{document} $v_i : A \to \R$ ...


0

add usepackage{stix} otherwise \mathscr isn't defined, which should be the correct error message.


1

You have to load the package mathrsfs for this. When compiling your code, I got some other message than you. Please check again. The problem for me was that \mathscr was not defined. % arara: pdflatex \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[left=1.5cm,right=1.5cm,top=2cm,bottom=2cm]{geometry} ...


3

There is an odd character before \pgfplotsset: \pgfplotsset{tick label style={ In the posting it is the Unicode replacement character, but it could be something else in the source code (a candidate would be the unbreakable space character, sometimes inserted by editors). After removing it, the example would probably run fine. Otherwise check the ...



Top 50 recent answers are included