New answers tagged

0

If I add \showtokens{#1} in the definition of \mytypeout, just before the \typeout, I get, for the first call, > First column matter & A Line of random content \\ . \mytypeout ...@linefeed #2\@nil ->\showtokens {#1} \typeout {\detokenize {#1}... l.62 } This clearly means that \meaning#1 is ...


3

The following MWE reproduces the problem \documentclass{article} \usepackage[backend=bibtex,style=authoryear]{biblatex} \addbibresource{biblatex-examples.bib} \nocite{vangennep} \begin{document} \printbibliography \end{document} one gets ! Undefined control sequence. <argument> ...nameprefix {van}\isdot }\ifprefchar ...


4

If you look in the log file the full path of the input file is shown, which tells you after the fact which file is input. If you want to control in advance which file is input then you need to look at TEXINPUTS this may be set as an environment variable or (more usually these days) as a setting in a texmf.cnf file. You can use kpsexpand to see the current ...


0

As far as I know, \input{filename} inserts the file 'filename' -- if it does not exist it automatically looks for 'filename.tex' You can use \input{filename.tex} to erase any ambiguities.


1

This is not an answer, but I want to try to confirm what I think is the same bug, and this is far too long for a comment. I use the following code: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \fill[orange, opacity = 1] (0,0) rectangle (1,1); \fill[orange, opacity = .99] (2,0) rectangle (3,1); \end{tikzpicture} ...


0

Here is an (not real document) example \documentclass{article} \begin{document} bla\label{yes} \ifnum\value{page}=1 \makeatletter \write\@auxout{\string\refstepcounter{page}} \makeatother\fi bla bla\pageref{yes} \end{document}


2

You should use braces for the subscript: x_{\bar b}. Also, you can use \\[1ex] for example to increase a little the vertical space between lines in cases. I'd use \text{} from amsmath package to write text in math mode. Finally, notice that you should use & to insert conditional cases. I think that what you want is almost this: \begin{equation*} ...


5

The \message primitive expands input in the same way as \edef and needs something which produces a 'raw' new line to get the desired effect. On the other hand, \\ is a command to produce a line break in typesetting, so fails here (it is also not expandable, hence the odd error). You therefore need to insert a character equal to \newlinechar. In the LaTeX ...


6

You don't say, but \reserved@a suggests that you are using latex in which case \message{ab^^Jcde} works although it is better to use latex constructs such as \typeout or \PackageInfo In plain TeX the above \message will work if you set \newlinechar=`\^^J


2

TeX's hyphenation rules do not work on the basis of words, except for special exceptions specified in \hyphenation. The body of the hyphenation rules are generated by matching substrings of words in the document to a set of letter patterns that encourage or discourage hyphenation at that point. So there is no sense really in which TeX does not "know" a word ...



Top 50 recent answers are included