Tag
Graphics
- How to Fix an “Unrecognized Command” Error in LaTeXFind the command LaTeX does not recognize, then check its spelling, required package, compiler compatibility, and whether it is used in the right context.
- How to Fix “Unable to Load Picture or PDF File” in XeLaTeXXeLaTeX can include PNG, JPEG, and PDF files. Check the filename, path, format, TeXstudio compiler, and PDF validity in this order.
- How to Put One Figure Under Another in LaTeXPut two images one above the other in LaTeX by placing consecutive includegraphics commands in one figure float, with a paragraph break between them.
- How to Fix the “Subfigure Undefined” Error in LaTeXFix LaTeX subfigure errors by choosing the package that matches your syntax. See a compilable example using the modern subcaption package.
- How to Fix a pdfTeX Link-Nesting Error with \resizeboxA pdfTeX link-nesting error near \end{document} often comes from a hyperlink inside \resizebox; locate the link and use a safe workaround.
- Fix “Undefined Control Sequence \includegraphics” in TeXstudioThe error usually means graphicx was not loaded or TeXstudio is compiling a different file or TeX installation. Add the package and check the build log.
- How to Place Text Between Two Pictures in LaTeXPlace text between two LaTeX images by writing the image, text, and second image in sequence; use a figure or tabular layout to control placement.
- Why Doesn't My knitr Example Produce Graphics?Troubleshoot missing knitr graphics by checking chunk options, plotting commands, explicit printing, and whether you rendered the output document.
- Which LaTeX Package Generates QR Codes?Use the LaTeX qrcode package and its \qrcode command to encode text or a URL directly in a document, with adjustable size and error correction.
- Why Does a Black-and-White JPG Appear Black in a PDFLaTeX Document?A black JPG in a PDFLaTeX document often points to a CMYK or YCCK color-space issue. Check the file and convert it to PNG or sRGB.
- Why an Image Does Not Show with natwidth and natheightIn a DVI-to-PostScript workflow, natwidth and natheight set assumed dimensions; they do not make PNG or JPEG files render. Use EPS or compile to PDF.
- How to Align an Inkscape PDF+LaTeX Overlay in LaTeXUse Inkscape’s generated .pdf_tex as the main figure when possible; for a separate overlay, match page bounds and width, then align both boxes.
- TikZ or EPS: Which Should You Use for LaTeX Figures?Compare TikZ and EPS for LaTeX figures, including editability, compiler compatibility, output quality, and when to choose each format.
- How to Refer Readers to the Online Version in a Figure CaptionUse the journal’s required wording; otherwise, add a brief note saying the color version of the figure is available online.
- How to Place Two Images Side by Side in LaTeXPlace two images side by side in LaTeX with subcaption, set their widths to fit the line, and add individual or shared captions and labels.