# Tag Info

1

The error was really strange-looking, at first, because \the\everyjob should expand to the contents of the \everyjob register, and then everything should work normally. The Missing { inserted message is clear: TeX was looking for a { (which is there, apparently), but didn't find it. The only way to have that is if { is not actually a {: \everyjob{} \catcode...

0

Try Pandoc: pandoc -o preprocessed_output.tex LaTeX_input.tex

0

It's not exactly clear to me what \g_@@_bleed_dim is meant to refer to. But you're using it as the trim offset from the bottom left corner of the page. But then you also set the bottom left corner of the bleed box to \g_@@bleed_dim, which is why your two boxes start at the same place. Also, (on my system at least) generating and N variant is said to be ...

1

U+200E is the left-to-right mark, which you probably copied and pasted into your document from the Web. You should probably remove it in your text editor. If you are mixing different languages in your document, and want to keep the bidirectional mark, you probably want to load babel or polyglossia instead and use their commands to switch languages. If you ...

1

The problem here is that LyX can be set up so that paragraph breaks in the source are "invisible" to the user. I'm not a LyX user, so, with some hints, the OP was able to diagnose and fix the problem himself -- see the edit in the question. More information appears in answers to this related question: Too much vertical space when displaying formulas in LyX....

3

The fonts bbold7 etc. were originally designed in MetaFont and used MetaFont's facilities to generate lots of optically scaled fonts. Therefore for every fontsize, the font, including the width of the letters, is slightly different. (That's why there are bbold5/bbold7/bbold10.) These MetaFont fonts ended up as Type 3 bitmap fonts in the PDF, so today we ...

2

Short Answer The command TEXMFVAR=texmf-var updmap-user should be TEXMFHOME=texmf TEXMFVAR=texmf-var updmap-user instead. The TEXMFHOME path needs to be specified so that updmap-user reads the font map config from the user directory, finds an entry for fontawesome in it and includes details about it in the map files generated at the TEXMFVAR path. See ...

0

Ok, sorry, I've actually find the answer to my own problem, it works when I execute makeindex %.nlo -s nomencl.ist -o %.nls -t %.nlg instead.

0

This solution is a dirty hack, so I will not accept it, hoping for someone to provide a better answer. A current workaround I have is modifying the commands used to create the makefile; this idea is from here and modify the commands including moving up a directory cd .. && and setting the output-directory --output-directory=./build as follows: \...

0

I use Firefox to show PDFs created from Beamer documents in presentation mode. With Firefox Here is how my workflow looks with Firefox: Enter this command to launch the presentation: open -a Firefox slides.pdf Press control + alt + p to switch to presentation mode. Alternatively, click the "Switch to Presentation Mode" button (the square button with ...

0

On CTAN, there is a somewhat dated script, AcroReloadPDF, available that was originally written for pre-9 versions of Acrobat Reader for Linux, in order to add a "Reload" entry to the File menue. Under Unix-like systems, it goes into the ~/.adobe/Acrobat/<version number>/JavaScripts/ directory. Though not tested beyond Linux, it may turn out to be ...

0

Sorry for the false alarm! In one of the early input files there is a note beginning with {\rm\small and the closing } is now missing which affected all the following 700 pages. This } was however properly placed on the back-up directory. It took me two days to discover this. Thanks to colleagues who took the time to share their knowledge. I did learn a lot ...

2

You have a new line in the second equation but not the first one. This makes a new paragraph, therefore adding white space. \documentclass[tikz]{standalone} \begin{document} This is some dummy text $$1 + 1 = 2$$ And supposely this is a bigger gap: $$2+2 = 4$$ \end{document}

1

Here is a way based on the answer of redefining the section here: \documentclass[margins=0.5cm]{article} \usepackage{filecontents} \begin{filecontents*}{bibs.bib} @article{test, title={An article}, year=2019, author={Me Only}, journal={A journal} } @article{testB, title={An other article}, year=2018, author={Me Again}, journal={Another ...

1

At present the answer is no for pdfTeX, but plans for TeX Live 2020 work are already in place and I (and others) will look to add a new primitive to support this (likely \pdfmajorversion). The main issue is not the primitive itself but the supporting 'environment': there are lots of places that test for the minor version as a boundary/cut off for different ...

4

When you use the encoding for a bit map you don't really reencode the font. To see the difference let's exchange A and B in your map: /B/A If you then compile (I have renamed your map): \pdfmapline{=cmr10 <testcmrenc.enc <cmr10.pfb} AB' \end the output looks like this: So the glyphs have been reencoded and have switched place. If you compile ...

4

The package index is not compatible with extramarks, because the latter requires commands that conflict with what the former wants to do. There are better ways for supporting several indices and I can't recommend index, that hasn't been maintained for fifteen years and still advertises being version 4.2beta and does several redefinitions of important ...

0

There are at least two issues here. First, you need to switch to the 8-bit T1 encoding, or PDFTeX will by default use an even older 7-bit encoding for output. Second, hyperref declares its own \url command and does not seem to be compatible with \usepackage{url}. The following workaround appeared to work for me: \documentclass{article} \usepackage[T1]{...

0

Don't use the low-level \firstmark with latex. In latex the mark is split in two parts and you access the left and right part with \leftmark and \rightmark. Marks should be used only in the header and footer and not in the text body as they are reliable only when a page is shipped out. \documentclass{article} \usepackage{fancyhdr} \pagestyle{fancy} \...

2

I don't understand the need of the everypar, you can set \leftskip and \rightright (see below, transported from latex code). \pdfrefximage doesn't quit vmode, so you need a \noindent before it. \rightskip0pt plus 1fil \leftskip0pt plus 1fil \parindent0pt \parfillskip0pt plus0pt minus0pt some text \par some text \pdfximage height 1in {example-image.png}\...

3

You can use a different page style on page one with \thispagestyle: \documentclass{memoir} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \lfoot{\thepage\ -- next foot} \fancypagestyle{firstpage}{% \fancyhf{}\lfoot{first foot}} \usepackage{lipsum} \begin{document} \thispagestyle{firstpage} \lipsum \...

0

The way references are ordered is controlled by the .bst file. If you want to change the ordering, then you need to modify that file. Here is how you can modify your elsarticle-num-names.bst file in order to have your references sorted alphabetically. I suggest creating a copy of that file and name it elsarticle-names.bst before modifying it. First, locate ...

1

I use TeXStudio with TeXLive and it works fine. Yesterday I was installing Julia, Atom, Juno, Anaconda and many other things and I also changed some paths in the environment variable of my computer. This caused my TeXStudio shows an exactly similar error as in the question here and also the question in the post in this link (click here). This is the error I ...

4

Try this: \documentclass{article} \newcommand{\test}{{abc}def} \begin{document} \uppercase\test \end{document} The output is Funny? A bit. The fact is that \uppercase is a TeX primitive that requires { after it. To this end, it expands tokens after it; any \relax token or space token is ignored and expansion is resumed. This expansion process ends as ...

7

latex provides \MakeUppercase because \uppercase will destroy lots of text, almost all text if you are using UTF-8 with non ascii letters. However the specific error here is \uppercase\chaptertitlename The braces are not optional, it has to be \uppercase{\chaptertitlename} hence the missing brace error that you show. But as noted above this will break ...

1

You do not define \FILENAME in the case that filecontents* is used, presumably you want something like this that defines it to be \jobname \documentclass[tikz, border=0mm]{standalone} \usepackage{array} \usepackage{readarray} \readarraysepchar{,} \usepackage{filecontents} % If the argument is provided at the Windows command prompt use it % otherwise ...

1

You are forcing the warning with terminaloptions = rotate. The following code works for me: \documentclass[a4paper, 11pt]{article} \usepackage{graphicx, latexsym, keyval, ifthen, moreverb} \usepackage{gnuplottex} \begin{document} \begin{figure} \begin{gnuplot}[terminal=epslatex] plot sin(x) \end{gnuplot} \caption{My figure.} \end{figure} \...

1

You can access the other glyph with a new alphabet, but imho it looks simply bad. The proportions don't fit. \documentclass[12pt]{article} \usepackage[lite]{mtpro2} %%%%%% *This package can be omitted* \usepackage[bb=boondox]{mathalfa} \usepackage{amssymb} \DeclareFontFamily{U}{futm}{} \DeclareFontShape{U}{futm}{m}{n}{ <-> s * [.95] fourier-bb }{} ...

0


2

You could take the k from EBGaramond (or its math companion to be precise). Minimal document showing that only $k$ is affected so you should be able to combine this with whatever other font-setup you have: \documentclass{article} \DeclareSymbolFont{ebgletters}{OML}{EBGaramond-Maths}{m}{it} \DeclareMathSymbol{k}{\mathalpha}{ebgletters}{`k} \begin{document} ...

0

Got it to work with XeLaTeX and a unicode-supporting font -- while I prefer libertinus (and it does beautiful math-mode Cyrillic and some Middle-Eastern scripts), it does not have good Asian coverage so for this I used my fallback Unifont. All you need to do get your glyph to display in math mode is to wrap it in \hbox (or even, apparently, \mathrm -- does ...

2

As @egreg said, you have to modify the WEB macro file. For output with hyperlinks, this file is called pdfwebmac.tex. (For use with non-pdfTeX, the file is called webmac.tex.) The changes concern the output to the CONTENTS.tex file. This output is produced by the \Z macro, which is called every time a starred section is created with \N; the definition of \N ...

0

Thanks everyone for helping me out! I just had a typo in my path, just as some of you had mentioned, that my path is not correct. Thats why it did not work. This is the correct way to add a new path to the .bash_profile PATH=/usr/local/texlive/2019/bin/x86_64-darwin:"\${PATH}"

0

Thouse are crop marks introduced by the crop package that is loaded by the bioinfo class. As the class file already loads the crop package, your MWE results in the following: ! LaTeX Error: Option clash for package crop. To remove the crop marks you could thus remove the line \usepackage[center, frame]{crop} and use the nocrop class option as follows: \...

9

That's not from “The TeXbook”, but is rather the typeset version of the WEB source for TeX (the program). This is available in the TeX Live distribution (possibly also with MiKTeX) as a hyperlinked PDF file, with texdoc tex or from texdoc.net. The red numbers are hyperlinks pointing to the corresponding module or section. If I hover on a link I get the ...

Top 50 recent answers are included