bugtex4ht - Bugs: bug #325, tex4ht ignores font size on \verb...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #325: tex4ht ignores font size on \verb when adding \usepackage[T1]{fontenc}

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Wed 06 Jul 2016 03:49:43 PM EEST  
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri 17 Jul 2020 06:55:32 PM EEST, comment #2:

I think this is fixed already.

Michal Hoftich <michal_h21>
Project Member
Thu 14 Jul 2016 03:06:31 PM EEST, comment #1:

I gave more information in answer on Tex.sx[1]. It seems that tex4ht sometimes detects wrong font size.


Michal Hoftich <michal_h21>
Project Member
Wed 06 Jul 2016 03:49:43 PM EEST, original submission:

After few hrs of debugging I found out why tex4ht was ignoring the font size on a \verb.

It turns out that adding \usepackage[T1]{fontenc} causes this.

Posted question on this here



\else%assume pdflatex, I only use these two

compiled with lualatex
compiled with pdflatex

{\tiny \verb|IllustratingTheUseOfDiscreteDistributions|}

{\tiny IllustratingTheUseOfDiscreteDistributions}

Compiling using make4ht foo.tex and looking at the HTML shows that the font size of the \verb did not change.

Removing \usepackage[T1]{fontenc} now the font size is correct.

TL 2016

Nasser M. Abbasi <nma123>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by nma123 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 17 Jul 2020 06:55:32 PM EESTmichal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray