Questions tagged [output]

about the main output of the (La)TeX compilation process. Not meant to be used for questions about {compiling} in general or the {output-routine}.

Filter by
Sorted by
Tagged with
1
vote
1answer
23 views

The defined command not work in \ifdefined

Why this MWE doesn't work? \begin{filecontents*}[overwrite]{myClass.cls} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{myClass} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} \ProcessOptions\...
14
votes
4answers
1k views

Converting mathematical TeX expressions

Is there a (hopefully simple) way to convert a mathematical TeX expression, such as \frac{\cos(x^2) - x}{x^2 + 1}, to expressions which you would use in a programming language? The outcome of the ...
1
vote
1answer
25 views

Output a result file from a original file with @nameuse

i have a file a.tex \documentclass{article} \begin{document} \makeatletter \gdef\wbsinput@files{,\jobname} \gdef\wbsinput@current{\jobname} \long\def\wbs#1#2{ {\expandafter\ifx\csname wbsinput@\...
2
votes
1answer
33 views

Differrent output for the solidus symbol (/) inside math mode

I have asked before how to create a macro for a new division symbol (Custom division symbol). To use it, I type $a \newdiv b$ and it works fine, but I'd rather type $a/b$ so that my code will be ...
6
votes
2answers
294 views

How do I write the hashtag symbol # into an output file?

I was successful before in writing the hashtag symbol # into an output file. please see the following MWE. \documentclass{book} \usepackage{newverbs} \Verbdef\myHashtagSymbolOne{#}% \newcommand*{\...
1
vote
0answers
18 views

Invalid numbers and output on listing when using linerange on lstinputlisting

I'm trying to use linerange inside a lstinputlisting. The command is able to read the file but omitts the content of the first line. I would expect if I use the following code to see the last line of ...
2
votes
3answers
65 views

How to fix an ugly fraction with exponent?

Here's a simple fraction that I find extremely ugly. What could I do to get a better looking result (without using a negative exponent) ? \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]...
0
votes
1answer
47 views

Why is there an extra (4) in the output of align?

\documentclass {article} \usepackage {amsmath} \usepackage {amssymb} \begin {document} With `` align* '' ( you require manual numbering) :- \begin {align*} \alpha &= \beta + \...
1
vote
0answers
41 views

Saving the PDF output file into a specific file using pdflatex inside VisualStudio C# [duplicate]

I am trying to run a .tex file using pdflatex with MikTex from inside VisualStudio C#. My problem is that I can't seem to get the PDF output in the right location. I saw that there is the "-...
0
votes
1answer
45 views

TeXnicCenter not working with Acrobat Reader

Even after updating to R20 in the PDF section, TeXnicCenter is not opening Acrobat Reader. I'm using Adobe Acrobat Reader DC version 2020.013.20074. The old trick does not seem to work.
1
vote
0answers
264 views

Error: Output routine didn't use all of \box255

I get this error message for my footer: \begin{textblock*}{0.9cm}(3.5cm,9.25cm) \raggedleft {\usebeamercolor[fg]{title in head/foot}\usebeamerfont{title in head/foot} \hspace*{10cm}{\textbf{IEB}\...
1
vote
1answer
76 views

Conditional naming of the output PDF file

My target is to have an output Solved Exam.pdf when \ifSolution is true, and The Exam.pdf when \ifSolution is false. However, I don't know if this answer is relevant here to change the \jobname and ...
0
votes
0answers
44 views

Difference in pdf output quality

I noticed that viewing the documents I compile with latex on the Adobe Acrobat viewer, the result seems to be higher quality - i.e. the characters look more defined, somewhat more "crisp" - ...
6
votes
1answer
89 views

The mystery of the disappearing asterisk [duplicate]

I have a weird "bug" in my table. For some reason one asterisk does not show up. I am using LuaLaTex which as I understand it uses Unicode so all these weird glyphs I've got in my table ...
0
votes
1answer
241 views

Why do I get “Require” and “Ensure” instead of “input” and “output” phrases in my pseudocode in IEEE Access format?

When I wrote the following pseudocode in \documentclass{article} format, I get "Input" and "Output" phrases after the compilation but when I write the same latex code in the IEEE ...
0
votes
1answer
26 views

Omit environment-content from being printed

I've created a very simple environment for myself to make reminders/comments visible inside the document: \newenvironment{todo}{~\\\color{red}}{~\\} However, now I want to create a pdf for someone to ...
2
votes
2answers
41 views

How to force even number of pages in output document?

Similar things have been asked, but I would like to know how to do in order to have my output PDF be an even-number-of-pages document. This code \AtEndDocument{\cleardoublepage} only makes the "...
1
vote
1answer
69 views

Why Does Merely Invoking a Package in the Preamble Alter the Output?

My subsequent question is something I encountered today and is related to the post: On Sizing and Positioning Drop Caps Using the code \documentclass[12pt]{article} \usepackage{color} \usepackage{...
0
votes
1answer
34 views

List of abbreviations with glossaries package doesn´t work

i´m trying to create a list of abbreviations by using the glossaries package. The problem is, that i´m not getting the list of the acronyms, no matter what i try, i don´t get an output at all. My MWE ...
0
votes
0answers
63 views

Does ConTeXt have any tool for outputing a plain TXT file of the document?

I a working with some students who have very very slow Internet, and they struggle even to open a 20 kb file, so I'm sending just a plain text file instead. It does work to copy and paste from the PDF,...
0
votes
0answers
187 views

How to change Pandoc's PDF conversion style?

In the past I could get Latex and Markdown files converted to PDF with Pandoc and I could get the output in different PDF styles. Now I forgot how I did it, and I can just get the default style. The ...
0
votes
0answers
50 views

Pixelated output even with cm-super and lmodern forces bold W, why?

I have a big problem with Adobe Acrobat Reader. My W's are bold or my ,,t'' and ,,y'' are pixelated regarding which usepackage I am using. This behaviour varies depending on the zoom-level of the pdf-...
1
vote
0answers
32 views

pdfLatex output has “Copyright (c) AMS”. How to remove?

Compiling with pdflatex: \documentclass[11pt]{article} \begin{document} 1 \end{document} and postprocessing with gs -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -dBATCH -sOutputFile=b.pdf a.pdf and running ...
1
vote
1answer
40 views

T1 fontenc with utf8 inputenc don't behave well together in the output pdf

if I use the following document \documentclass[11pt, a4paper, english]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \begin{document} Why is this output so strange öäü at zoom ...
0
votes
0answers
20 views

Getting this type of error while executing the tex file ==> Fatal error occurred, no output PDF file produced!, Kindly help [duplicate]

LOG FILE : This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 2.9.7440 64-bit) (preloaded format=pdflatex 2020.6.5) 10 JUN 2020 16:35 entering extended mode **./JHYD-PPT.tex (JHYD-PPT.tex LaTeX2e ...
0
votes
1answer
40 views

newwrite: Adding text to a existing outfile

I have \documentclass[a4paper]{article} \begin{document} \newwrite\myoutfile \immediate\openout\myoutfile=\jobname-myoutfile.txt \immediate\write\myoutfile{ aaa } \immediate\closeout\myoutfile \...
2
votes
0answers
251 views

Output *.pdf file to a different directory using latexmk

I'm using latexmk in Visual Studio Code and I'd like to output the .pdf file to the current directory (same directory as the .tex file), while outputting all auxiliary files to a different directory. ...
0
votes
0answers
95 views

Overleaf | Image compilation differences between the built-in and downloaded pdf

After writing a document in overleaf, I see the following output in the built-in pdf viewer- Note the differences between figure in the two outputs. But after downloading the pdf, when i open it in ...
0
votes
1answer
52 views

XeTeX with LyX: English sentences inside math mode compile in the wrong order

I'm having this strange problem when I compile documents containing math formulas with English text embedded in them. For example, if my input on the LyX editor looks like this: Then the PDF output ...
1
vote
1answer
240 views

How to automatically produce a separate title page?

Sometimes (in my field) a journal requires an anonymised version of the manuscript and a separate title page to be submitted. Other journals sometimes require other subsets of the overall document to ...
2
votes
1answer
45 views

Have MetaFont read an arithmetic expression from a file

I know this is a question that possibly does not belong to pure TeX, as MetaFont is part of a project to which TeX relates, ie as part of building TeX. My question is as follows: I call MetaFont from ...
1
vote
1answer
367 views

Opening compiled document in Android

This is my third question regarding LaTeX on Android. In first question (Installing Latex on Android) I learnt to install termux app from Google Play Store. In second question (How to compile tex ...
2
votes
1answer
62 views

Slope fields are not symmetric using tikz

Using this code to try and plot the slope fields for xy' - y = 0 (which is y = cx) and there's a clear lack of symmetry on both sides. \documentclass{article} \usepackage{amsmath} \...
2
votes
1answer
225 views

How to fix an issue about multiple output lines in algorithm

When I write a pseudo code using algorithm and algorithmic. Output statement overflow a line like below. \begin{algorithm}[!h] \textbf{Input:} The set of public $parameters$\\ \textbf{Output:} ...
0
votes
0answers
103 views

Output a PDF as a byte array or stream

Is it possible for pdflatex to output a PDF as a byte array or stream, rather than writing the bytes to disk? I want to repeatedly write a PDF and immediately extract it's text; if I can avoid ...
0
votes
1answer
129 views

How To Fix Rendering of use xltxtra usepackage With XeLaTeX?

How To Fix Rendering of use xltxtra usepackage With XeLaTeX?
0
votes
0answers
117 views

Same main.tex but compile pdfs with dynamic name & use variable in other file

i use Texmaker. Is possible, when main.tex create many different pdf output. i want to definite variable for output pdf name in "pdfoutputname.tex" and then use this variable to main.tex My ...
0
votes
1answer
30 views

How to fix a text out of the lower margin?

I was reading my text and found a part of the text out of the lower margin. I tried to remove [h] from all the floats, however the result still being a part out of the margins. Any help? \...
2
votes
1answer
37 views

How to delay and re-order output? Is it possible within a list?

I'd like to make reports using LaTeX, meaning that I would be able to take notes chronologically and that those notes would be organised in groups before being output. I already tried to achieve ...
0
votes
0answers
37 views

Are there any guides to using LaTeX's log files and other output?

I am using WinEdt and MikTex. When I PDFtex my document, it produces a rather huge log file, most of which is stuff I don't need, but some of which is important. Are there any good guides to using ...
2
votes
0answers
160 views

Formatting code of a tex file output by Lyx

When converting a LyX document to a TeX file, I've noticed that the resulting code is not formatted in a "pretty" way. For example, when writing my own documents in LaTeX, I will tab lines with ...
0
votes
1answer
571 views

PDF not created after compilation

Suddenly when I compile the latex document a PDF file is not generated. I have no errors, and the only change from the last time when everything was OK is that my laptop restarted itself. Is there ...
2
votes
1answer
2k views

How to make TeXstudio show console output in its GUI like what TeXworks does?

When a file with hundreds of pages starts to be compiled, users will wait for several minutes but the "message" window of TeXstudio does not show the compilation progress bar. TeXworks shows the ...
4
votes
1answer
337 views

output directory Asymptote in TeXLive

How does the asymptote and asypictureB packages determine the output file and working directories? I tried to use asypictureB and TeXLive to produce my files and put all the output files to a ...
0
votes
0answers
92 views

pdf output of book documentclass

I am getting slightly confused with the pdf output of the book document class. I am writing the textbook for my Discrete Math course and I chose to use the book class with the default options. I ...
1
vote
0answers
41 views

Why all rows of the table are not produced in the output? [closed]

Full output After zooming the last part of page 2nd I put more than 60 rows in the source but the output pdf shows only 60. Why? \documentclass{article} \usepackage{forloop} \usepackage{...
0
votes
1answer
64 views

Print out all relevant document information. (Maybe a package?)

I starting to make a table which print out all for me relevant document information in one table like actual paper width, count of words, actual font size actual font type ... Is there maybe a ...
4
votes
1answer
258 views

Incorrect output with algorithm2e when using “newtxtext” package

I have a LaTeX document displaying an algorithm and the output is incorrect when I use the package newtxtext with algorithm2e. Here is the minimum working example that shows this problem. \...
0
votes
0answers
32 views

Marking/underlining certain expressions in output pdf

I'm currently writing my Master's thesis and want to avoid the use of "weasel words", i.e., ambigous and vague expressions that should not be in a scientific document. Is there a simple way I can make ...
2
votes
0answers
1k views

Why TexStudio can not show eps-figure?

I am using xelatex to plot eps-image in pdf-file. But the eps-image is not showing and I want to know why Something I have found: Case 1: xelatex + TexStudio -> eps-image can not show, pdf-image ...