Start your code in this way if you want to compile your text either with pdflatex or latex. Adequate it to your needs.
\RequirePackage{ifpdf}
\ifpdf
\documentclass[pdftex,letterpaper,12pt]{article}
\usepackage{lmodern}
% \usepackage{textcomp}
\else
\documentclass[dvips,letterpaper,12pt]{article}
% \usepackage[active]{srcltx} % for dvi viewers supporting source code mapping
\fi
But you may want to set the default zoom size in your viewer preferences option. Evince viewer allows to configure the buttons of the top bar, add the scaling buttons.
You have to use the \usepackage[pdflatex]{hyperref} package, compile with pdflatex (or rubber -d) and use the hypersetup setting I put in a comment above.
I do not remember LaTeX defaults, but for sure you can control zoom level using the hyperref package if you are not already doing so. Direct link to manual: here
Please note I do not have Acrobat Reader installed on the machine I'm writing these, so don't hesitate to report if somethings wrong. Also, assuming compilation with pdflatex.
发布评论
评论(3)
如果您想使用 pdflatex 或 Latex 编译文本,请以这种方式开始您的代码。
足以满足您的需求。
但您可能需要在查看器首选项选项中设置默认缩放尺寸。
Evince 查看器允许配置顶部栏的按钮,添加缩放按钮。
Start your code in this way if you want to compile your text either with pdflatex or latex.
Adequate it to your needs.
But you may want to set the default zoom size in your viewer preferences option.
Evince viewer allows to configure the buttons of the top bar, add the scaling buttons.
您必须使用
\usepackage[pdflatex]{hyperref}
包,使用pdflatex
(或rubber -d
)编译并使用 hypersetup 设置我在上面发表了评论。You have to use the
\usepackage[pdflatex]{hyperref}
package, compile withpdflatex
(orrubber -d
) and use the hypersetup setting I put in a comment above.我不记得 LaTeX 默认设置,但如果您还没有这样做的话,您可以使用 hyperref 包来控制缩放级别。直接链接到手册: 此处
请注意,我在编写这些内容的计算机上没有安装 Acrobat Reader,因此如果出现问题,请随时报告。另外,假设使用 pdflatex 进行编译。
I do not remember LaTeX defaults, but for sure you can control zoom level using the hyperref package if you are not already doing so. Direct link to manual: here
Please note I do not have Acrobat Reader installed on the machine I'm writing these, so don't hesitate to report if somethings wrong. Also, assuming compilation with pdflatex.