Skip to main content

New answers tagged

9 votes
Accepted

Add noise to Font Glyphs and specify Multiple Appearance for same character sequence

Needs luatex \documentclass{article} \providecommand\ttbasefont{texgyreTermes-regular.otf} \providecommand\ttoverprintnormal{0}% don't over-print \providecommand\ttrotatenormal{2} % don't rotate so ...
David Carlisle's user avatar
0 votes

Compiling of PDF/A-1B compatible document fails due to LaTeX Error: Loading a class or package in a group

I can confirm the trick based on moving of \RequirePackage{xmpincl} outside the group. With xelatex I've had to move also \pdftrue line before \RequirePackage{xmpincl} to prevent warning Package ...
Pavel Rychetský's user avatar
0 votes

Compiling of PDF/A-1B compatible document fails due to LaTeX Error: Loading a class or package in a group

For me a change of the line \RequirePackage{xmpincl} outside the group do the trick. My code from pdfx.sty from 2738 looks like: %%----------------------------------------------------------------------...
till Kadabra's user avatar
0 votes

Make newtxtext and newtxmath look Times New Roman upright

Following your last comment I give an answer using the command \mathrm and lgrmath package. \documentclass[12pt]{article} \usepackage{newtxtext,newtxmath} \usepackage[greek=up, Greek=it]{lgrmath} \...
Sebastiano's user avatar
  • 56.3k
0 votes

Store result of \ratio calculation for repeated use

Different approach: Instead of calculating scaling factors for your images, make your slides the same size as the ppt slides (don't forget to also increase the font size accordingly) \documentclass[...
samcarter_is_at_topanswers.xyz's user avatar
0 votes

Calling pdflatex from a Python script

I came across the same problem - for whatever reason pdflatex must be called from the same path/ location where your tex/ idx files are located. So for me the following did the trick: os.chdir(os....
Vegetico's user avatar
1 vote
Accepted

psfrag using Overleaf and pdflatex compiler

There are two ways for using psfrag with pdfLaTeX. Both of them work in Overleaf. The first way is to use psfrag in the 'classical' way, so first the \psfrag substitution commands and then \...
Marijn's user avatar
  • 38.5k
0 votes

Compiled latex file in a separate folder on Mac (TeXstudio, MacTEX)

As pointed out here, MacTex's version of PDFlatex doesn't support --aux-directory option. It also points out other ways of accomplishing the same thing.
NameRakes's user avatar
  • 101
1 vote
Accepted

custom appearances on pdf annotation stamps without Acrobat Distiller / with pdf(la)tex / lualatex

Well such a stamp is a simple annotation, and an appearance is a simple xform. You can e.g. create them like this (I only checked in adobe reader and have no idea how other viewer handles such a stamp:...
Ulrike Fischer's user avatar
6 votes
Accepted

How do I define an alias/variable in LaTeX which is evaluated before compilation such that its value can be used by other packages?

You can define your own colors in metapost, and add them to the .mp file by means of \fmfcmd: \documentclass{article} \usepackage{feynmp-auto} \begin{document} \begin{fmffile}{example} \fmfcmd{...
campa's user avatar
  • 31.7k
0 votes

TIKZ Overlay Does Not Appear when PDFLATEX is run from Command Prompt

Clearing the picture is easy. Clearing it only for the current page seems ... less well supported. The following code relies on implementation details of the shipout hooks provided by the LaTeX kernel....
cfr's user avatar
  • 205k
0 votes

pdftex.def Error: File logo-eps-converted-to.pdf not found

Old post, but I'm going to put this here in case it helps someone else. I was having the same issue using pdflatex in TeXStudio and basictex on MacOS Sonoma 14.5. My problem was that I included the ...
mfrichtl's user avatar
6 votes
Accepted

Is DVI used as an intermediate format by pdfLaTeX and LuaLaTeX?

No: in PDF mode both pdfTeX and LuaTeX generate PDFs directly. However, both engines are well supported and stable, and as far as anyone can say will continue to be available in the long term. As such,...
Joseph Wright's user avatar
  • 261k
4 votes

Is DVI used as an intermediate format by pdfLaTeX and LuaLaTeX?

No pdftex (and luatex) have two separate backends built in, they generate either DVI or PDF, but one or the other, the PDF is not generated by transforming the DVI.
David Carlisle's user avatar
4 votes
Accepted

Number of dots in a dotted line

Instead of using \draw[dotted], use \path (which will not draw anything) and add node[sloped]{$\dots$} in the middle. Note: You may want to add draw as an option to your acteur style to prevent the ...
Sandy G's user avatar
  • 46.3k
3 votes

How to resolve LaTeX Error: Unicode character if Package CJK is forbbidden?

You only show part of the error message, the full message and help text is ! LaTeX Error: Unicode character 》 (U+300B) not set up for use with LaTeX. See the LaTeX manual or LaTeX ...
David Carlisle's user avatar
1 vote

Incremental build of large document

Yes, there exist two plugins (on Linux) for incremental compiling: TeXpresso by Frédéric Bour. knap by Kevin Klement
Akira's user avatar
  • 1,409
1 vote

Insert specific form of tau

Usually, a specific letter form has no real consequence on the symbol's meaning. Anyway, if you really need that letterform, you can import it from the standard Adobe Symbol font. \documentclass{...
egreg's user avatar
  • 1.1m
0 votes

How to merge (combine) multiple .tex files into a single .tex file?

Based on OP's comment Each chapter has its own .tex file and pdf file, the below suggestion may works: \documentclass{...} \usepackage{subfiles} ... \begin{document} \subfile{chapter1} \subfile{...
MadyYuvi's user avatar
  • 13.9k
0 votes

How to merge (combine) multiple .tex files into a single .tex file?

I have quite a lot of documentation for our software system all written in LaTeX. And in fact having a separate file for each chapter is my favorite structure. I use a kind of generic preamble file ...
Ronald's user avatar
  • 463
1 vote

Latex paragraph indentation missing

After the declaration \raggedright (which does not take any arguments), all hyphenation and paragraph indentations are disabled. So remove \raggedright{\texttt{Pyramid\_resources}} from the example. ...
daleif's user avatar
  • 55.1k
3 votes
Accepted

How to use bold horizontal and vertical lines in a specific row of table?

With {NiceTabular} of nicematrix. \documentclass[]{article} \usepackage{nicematrix} \begin{document} \begin{table}[htbp] \centering \caption{caption} \label{tab:1}% \begin{NiceTabular}{...
F. Pantigny's user avatar
  • 42.3k
0 votes

pgf import in LaTeX not working due to matplotlib axes font

Update: After some more researching I am now certain that the problem occurs because the pgf file uses the command '\mathdefault' which LaTex doe not know. I manually deleted all of these commands in ...
L_physics's user avatar
1 vote
Accepted

LaTeX not rendering in RMarkdown after update

Try adding format = "latex" to your CV_table() definition: CV_table <- function(x){ knitr::kable(x, format = "latex", booktabs = TRUE, col.names = NULL, escape= FALSE, linesep ...
the-mad-statter's user avatar
1 vote

How to get gnuplot error messages displayed when using gnuplottex?

If anyone is still searching a solution to this on Overleaf compilers, there is a log file name 'output.gnuploterrors' which shows all the gnuplot errors and warnings.
joseph praful's user avatar
1 vote

vertical line disappear

It appears that this is problem of preview by TexWorks. Not the problem of compilation. When I change scale, one or other vertical line appears or disappears. Ultimately, on some scale I saw image as ...
Aleks Kleyn's user avatar
0 votes

Biblatex apa style doesn't work while style=authoryear works flawlessly. Searching for the line causing the error

Thanks a lot for your support! I didn't know about the hash. This helped me to find the citations in question that contained special characters. For those interested, I also build a workaround ...
MrMistoffelees's user avatar
2 votes
Accepted

Undefined control sequence on almost every line of code

If I fix your code in the following way \documentclass[12pt]{article} \usepackage{lingmacros} \usepackage{amssymb} \usepackage{amsmath} \usepackage{tree-dvips} \newcommand{\smallenumsentence}[1]{\...
egreg's user avatar
  • 1.1m

Top 50 recent answers are included