Math & Science ⇒ Width of the fractions separator line near of 4pt.
Width of the fractions separator line near of 4pt.
- Attachments
-
- Preamble_Vol III.pdf
- (46.53 KiB) Downloaded 271 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Width of the fractions separator line near of 4pt.
There is a reason for the behavior and it is somewhere in your code.
Width of the fractions separator line near of 4pt.
Thanks.
Code: Select all
\usepackage{etex}
\reserveinserts{28}
\setcounter{chapter}{61}
\usepackage[pagestyles]{titlesec}
\usepackage{ifthen}
\usepackage{array}
\usepackage{graphicx}
\usepackage{rotating}
\usepackage{longtable}
\usepackage{fnpos}
\usepackage{booktabs}
\usepackage{dcolumn}
\usepackage{slashbox}
\usepackage{pict2e}
\usepackage{multirow}
\usepackage{float}
\floatplacement{table}{tp}
\usepackage{morefloats}
\usepackage{flafter}
\usepackage{floatflt}
\usepackage{colortbl}
\usepackage{wrapfig}
\usepackage{enumitem}
\usepackage{eso-pic,everyshi,calc}
\usepackage{dashrule}
\usepackage{marvosym}
\usepackage{amsbsy}
\usepackage{yhmath}
\usepackage{txfonts}
\usepackage{textcomp}
\usepackage{mathcomp}
\usepackage{gensymb}
\usepackage{empheq}
\usepackage[e]{esvect}
\usepackage[spanish,es-nodecimaldot]{babel}
\usepackage{ccaption}
\usepackage[labelsep=endash,font={small,it},labelformat=simple,labelfont=bf,figurewithin=none,justification=centering]{caption}
\renewcommand{\thechapter}{\Roman{chapter}}
\renewcommand{\thesection}{\ifnum\value{section}<10 \arabic{chapter}0\arabic{section}\else\arabic{chapter}\arabic{section}\fi}
\renewcommand{\sin}{\sen \nolimits}
\renewcommand{\arcsin}{\arcsen \nolimits}
\renewcommand{\sinh}{\senh \nolimits}
\renewcommand{\tan}{\tg \nolimits}
\renewcommand{\arctan}{\arctg \nolimits}
\renewcommand{\tanh}{\tgh \nolimits}
\renewcommand{\csc}{\cosec \nolimits}
\renewcommand{\cot}{\cotg \nolimits}
\renewcommand{\lg}{\log \nolimits}
\renewcommand{\theequation}{\arabic{chapter}.\arabic{equation}}
\addto\captionsspanish{\renewcommand{\figurename}{Fig.}}
\addto\captionsspanish{\renewcommand{\tablename}{Tabla}}
\renewcommand{\thetable}{\tablename\;\arabic{table}}
\DeclareMathOperator{\gs}{\textrm{\!\textdegree}}
\DeclareCaptionLabelFormat{tabla}{#2}
\titleformat{\chapter}[display]
{\Large\bfseries\fillast\vspace{-25pt}}
{\normalfont\bfseries\chaptername\hspace{5pt}\thechapter}
{.5ex minus .1ex}
{\large}[\vspace{-15pt}]
\titleformat{\section}[runin]
{\normalfont\bfseries}
{\thesection.}{.5em}{}[.---\:]
\titlespacing{\section}
{\parindent}{1.5ex plus .1ex minus .2ex}{0pt}
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\vspace*{\fill}
\thispagestyle{empty}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
\setlist{noitemsep}
\setenumerate{labelindent=\parindent,leftmargin=*,labelsep=1em}
\setitemize{labelindent=\parindent,leftmargin=*,labelsep=1em}
\clubpenalty=10000
\widowpenalty=10000
\usepackage[bookmarks=true,bookmarksopen=true,bookmarksopenlevel=2,bookmarksnumbered=true,breaklinks=true]{hyperref}
- Attachments
-
- Pagina_214_Moreu III.pdf
- (15.53 KiB) Downloaded 236 times
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
Width of the fractions separator line near of 4pt.
thanks for posting code!
Sometimes seeing the preamble helps, but usually we need to see code that actually produces the wrong output, so we can check and fix it.
I think though that this may help you - insert the width you like:
\renewcommand{\frac}[2]{\genfrac{}{}{0.6pt}{}{#1}{#2}}
Stefan
Width of the fractions separator line near of 4pt.
\renewcommand{\frac}[2]{\genfrac{}{}{0.1pt}{}{#1}{#2}}
And the line of the fractions and the boxes until are very bolded, nothing's changed. I am wondering because the preamble of the other two volumes are the same of this one of the third volume, but the fractions line are correct in this volumes I and II.
I think it's possible that the package empheq in the preamble causes some type of conflict.
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
Width of the fractions separator line near of 4pt.
Could it be a PDF viewer issue? Please try a different PDF viewer, such as the Adobe Reader or a capable browser. I attach how it's displayed on my side:
Stefan
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
Width of the fractions separator line near of 4pt.
Stefan
Width of the fractions separator line near of 4pt.
Normally I use Adobe Acrobat DC like pdf viewer. Opened the file with Foxit Reader, I have the same problem (see the png). If I open the file with Firefox, all is normal! but with Opera I have the same extra bolded fractions line an rule of boxes (?). As you can see this extra bold rules on boxes (\boxed command) also appears on your png.
- Attachments
-
- Pag_14.png (49.7 KiB) Viewed 5964 times
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
Width of the fractions separator line near of 4pt.
Print it to verify. Electronic display is always a software approximation of the actual content.
It's ok for me. Even in the PDF you attached. Perhaps post code that actually produces such a bad image: a reduced copy of your document (small, dummy text) that brings the output when compiled. I tested with your preamble (I did not have your document code) and it worked fine.
Stefan
Width of the fractions separator line near of 4pt.
- Attachments
-
- Pag_14.png (49.7 KiB) Viewed 5956 times