#StackBounty: #spacing #amsmath #white-space Simple LaTeX document sticks all consecutive words together (ignoring spaces) both inside …

Bounty: 50

listfilesdocumentclass[varwidth]{standalone}
usepackage{lmodern}
usepackage{amsmath, amsthm, amssymb}

begin{document}fontsize{30}{36}selectfont
Let $a$ be a symbol.
end{document}

The result is:

Let $a$ beasymbol.

I’m not sure how to not ignore spaces in the document.


Here’s the output log:

 This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6840 64-bit) (preloaded format=latex 2018.11.30)  30 NOV 2018 01:12
entering extended mode
**./latex_input.tex
(latex_input.tex
LaTeX2e <2018-04-01> patch level 5
("C:MiKTeX 2.9texlatexstandalonestandalone.cls"
Document Class: standalone 2018/03/26 v1.3a Class to compile TeX sub-files stan
dalone
("C:MiKTeX 2.9texlatextoolsshellesc.sty"
Package: shellesc 2016/06/07 v0.02a unified shell escape interface for LaTeX
Package shellesc Info: Restricted shell escape enabled on input line 69.
)
("C:MiKTeX 2.9texgenericoberdiekifluatex.sty"
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
("C:MiKTeX 2.9texgenericoberdiekifpdf.sty"
Package: ifpdf 2018/09/07 v3.3 Provides the ifpdf switch
)
("C:MiKTeX 2.9texgenericifxetexifxetex.sty"
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
("C:MiKTeX 2.9texlatexxkeyvalxkeyval.sty"
Package: xkeyval 2014/12/03 v2.7a package option processing (HA)

("C:MiKTeX 2.9texgenericxkeyvalxkeyval.tex"
("C:MiKTeX 2.9texgenericxkeyvalxkvutils.tex"
XKV@toks=toks14
XKV@tempa@toks=toks15

("C:MiKTeX 2.9texgenericxkeyvalkeyval.tex"))
XKV@depth=count80
File: xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
))
sa@internal=count81
c@sapage=count82

("C:MiKTeX 2.9texlatexstandalonestandalone.cfg"
File: standalone.cfg 2018/03/26 v1.3a Default configuration file for 'standalon
e' class
)
("C:MiKTeX 2.9texlatexbasearticle.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:MiKTeX 2.9texlatexbasesize10.clo"
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
c@part=count83
c@section=count84
c@subsection=count85
c@subsubsection=count86
c@paragraph=count87
c@subparagraph=count88
c@figure=count89
c@table=count90
abovecaptionskip=skip41
belowcaptionskip=skip42
bibindent=dimen102
)
("C:MiKTeX 2.9texlatexvarwidthvarwidth.sty"
Package: varwidth 2009/03/30 ver 0.92;  Variable-width minipages
@vwid@box=box26
sift@deathcycles=count91
@vwid@loff=dimen103
@vwid@roff=dimen104
)
sa@box=box27
sa@yoffset=skip43
)
("C:MiKTeX 2.9texlatexlmlmodern.sty"
Package: lmodern 2009/10/30 v1.6 Latin Modern Fonts
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  OT1/cmr/m/n --> OT1/lmr/m/n on input line 22.
LaTeX Font Info:    Overwriting symbol font `letters' in version `normal'
(Font)                  OML/cmm/m/it --> OML/lmm/m/it on input line 23.
LaTeX Font Info:    Overwriting symbol font `symbols' in version `normal'
(Font)                  OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 24.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `normal'
(Font)                  OMX/cmex/m/n --> OMX/lmex/m/n on input line 25.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26.
LaTeX Font Info:    Overwriting symbol font `letters' in version `bold'
(Font)                  OML/cmm/b/it --> OML/lmm/b/it on input line 27.
LaTeX Font Info:    Overwriting symbol font `symbols' in version `bold'
(Font)                  OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 28.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `bold'
(Font)                  OMX/cmex/m/n --> OMX/lmex/m/n on input line 29.
LaTeX Font Info:    Overwriting math alphabet `mathbf' in version `normal'
(Font)                  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 31.
LaTeX Font Info:    Overwriting math alphabet `mathsf' in version `normal'
(Font)                  OT1/cmss/m/n --> OT1/lmss/m/n on input line 32.
LaTeX Font Info:    Overwriting math alphabet `mathit' in version `normal'
(Font)                  OT1/cmr/m/it --> OT1/lmr/m/it on input line 33.
LaTeX Font Info:    Overwriting math alphabet `mathtt' in version `normal'
(Font)                  OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 34.
LaTeX Font Info:    Overwriting math alphabet `mathbf' in version `bold'
(Font)                  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 35.
LaTeX Font Info:    Overwriting math alphabet `mathsf' in version `bold'
(Font)                  OT1/cmss/bx/n --> OT1/lmss/bx/n on input line 36.
LaTeX Font Info:    Overwriting math alphabet `mathit' in version `bold'
(Font)                  OT1/cmr/bx/it --> OT1/lmr/bx/it on input line 37.
LaTeX Font Info:    Overwriting math alphabet `mathtt' in version `bold'
(Font)                  OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 38.
)
("C:MiKTeX 2.9texlatexamsmathamsmath.sty"
Package: amsmath 2017/09/02 v2.17a AMS math features
@mathmargin=skip44

For additional information on amsmath, use the `?' option.
("C:MiKTeX 2.9texlatexamsmathamstext.sty"
Package: amstext 2000/06/29 v2.01 AMS text

("C:MiKTeX 2.9texlatexamsmathamsgen.sty"
File: amsgen.sty 1999/11/30 v2.0 generic functions
@emptytoks=toks16
ex@=dimen105
))
("C:MiKTeX 2.9texlatexamsmathamsbsy.sty"
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
pmbraise@=dimen106
)
("C:MiKTeX 2.9texlatexamsmathamsopn.sty"
Package: amsopn 2016/03/08 v2.02 operator names
)
inf@bad=count92
LaTeX Info: Redefining frac on input line 213.
uproot@=count93
leftroot@=count94
LaTeX Info: Redefining overline on input line 375.
classnum@=count95
DOTSCASE@=count96
LaTeX Info: Redefining ldots on input line 472.
LaTeX Info: Redefining dots on input line 475.
LaTeX Info: Redefining cdots on input line 596.
Mathstrutbox@=box28
strutbox@=box29
big@size=dimen107
LaTeX Font Info:    Redeclaring font encoding OML on input line 712.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 713.
macc@depth=count97
c@MaxMatrixCols=count98
dotsspace@=muskip10
c@parentequation=count99
dspbrk@lvl=count100
tag@help=toks17
row@=count101
column@=count102
maxfields@=count103
andhelp@=toks18
eqnshift@=dimen108
alignsep@=dimen109
tagshift@=dimen110
tagwidth@=dimen111
totwidth@=dimen112
lineht@=dimen113
@envbody=toks19
multlinegap=skip45
multlinetaggap=skip46
mathdisplay@stack=toks20
LaTeX Info: Redefining [ on input line 2817.
LaTeX Info: Redefining ] on input line 2818.
)
("C:MiKTeX 2.9texlatexamsclsamsthm.sty"
Package: amsthm 2017/10/31 v2.20.4
thm@style=toks21
thm@bodyfont=toks22
thm@headfont=toks23
thm@notefont=toks24
thm@headpunct=toks25
thm@preskip=skip47
thm@postskip=skip48
thm@headsep=skip49
dth@everypar=toks26
)
("C:MiKTeX 2.9texlatexamsfontsamssymb.sty"
Package: amssymb 2013/01/14 v3.01 AMS font symbols

("C:MiKTeX 2.9texlatexamsfontsamsfonts.sty"
Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
symAMSa=mathgroup4
symAMSb=mathgroup5
LaTeX Font Info:    Overwriting math alphabet `mathfrak' in version `bold'
(Font)                  U/euf/m/n --> U/euf/b/n on input line 106.
)) (latex_input.aux)
openout1 = `latex_input.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Try loading font information for OT1+lmr on input line 5.

("C:MiKTeX 2.9texlatexlmot1lmr.fd"
File: ot1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info:    Calculating math sizes for size <30> on input line 6.
LaTeX Font Info:    Try loading font information for OML+lmm on input line 6.
 ("C:MiKTeX 2.9texlatexlmomllmm.fd"
File: omllmm.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info:    Try loading font information for OMS+lmsy on input line 6.
 ("C:MiKTeX 2.9texlatexlmomslmsy.fd"
File: omslmsy.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info:    Try loading font information for OMX+lmex on input line 6.

("C:MiKTeX 2.9texlatexlmomxlmex.fd"
File: omxlmex.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <30> on input line 6.
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <20.99991> on input line 6.
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <15> on input line 6.
LaTeX Font Info:    Try loading font information for U+msa on input line 6.

("C:MiKTeX 2.9texlatexamsfontsumsa.fd"
File: umsa.fd 2013/01/14 v3.01 AMS symbols A
)
LaTeX Font Info:    Try loading font information for U+msb on input line 6.

("C:MiKTeX 2.9texlatexamsfontsumsb.fd"
File: umsb.fd 2013/01/14 v3.01 AMS symbols B
)
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <10> on input line 7.
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <7> on input line 7.
LaTeX Font Info:    External font `lmex10' loaded for size
(Font)              <5> on input line 7.
 [1

] (latex_input.aux)

 *File List*
standalone.cls    2018/03/26 v1.3a Class to compile TeX sub-files standalone
shellesc.sty    2016/06/07 v0.02a unified shell escape interface for LaTeX
ifluatex.sty    2016/05/16 v1.4 Provides the ifluatex switch (HO)
   ifpdf.sty    2018/09/07 v3.3 Provides the ifpdf switch
 ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
 xkeyval.sty    2014/12/03 v2.7a package option processing (HA)
 xkeyval.tex    2014/12/03 v2.7a key=value parser (HA)
standalone.cfg    2018/03/26 v1.3a Default configuration file for 'standalone' 
class
 article.cls    2014/09/29 v1.4h Standard LaTeX document class
  size10.clo    2014/09/29 v1.4h Standard LaTeX file (size option)
varwidth.sty    2009/03/30 ver 0.92;  Variable-width minipages
 lmodern.sty    2009/10/30 v1.6 Latin Modern Fonts
 amsmath.sty    2017/09/02 v2.17a AMS math features
 amstext.sty    2000/06/29 v2.01 AMS text
  amsgen.sty    1999/11/30 v2.0 generic functions
  amsbsy.sty    1999/11/29 v1.2d Bold Symbols
  amsopn.sty    2016/03/08 v2.02 operator names
  amsthm.sty    2017/10/31 v2.20.4
 amssymb.sty    2013/01/14 v3.01 AMS font symbols
amsfonts.sty    2013/01/14 v3.01 Basic AMSFonts support
  ot1lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern
  omllmm.fd    2009/10/30 v1.6 Font defs for Latin Modern
 omslmsy.fd    2009/10/30 v1.6 Font defs for Latin Modern
 omxlmex.fd    2009/10/30 v1.6 Font defs for Latin Modern
    umsa.fd    2013/01/14 v3.01 AMS symbols A
    umsb.fd    2013/01/14 v3.01 AMS symbols B
 ***********

 ) 
Here is how much of TeX's memory you used:
 1827 strings out of 492971
 24200 string characters out of 3142021
 82294 words of memory out of 3000000
 5684 multiletter control sequences out of 15000+200000
 27991 words of font info for 45 fonts, out of 3000000 for 9000
 1141 hyphenation exceptions out of 8191
 34i,6n,56p,213b,195s stack positions out of 5000i,500n,10000p,200000b,50000s

Output written on latex_input.dvi (1 page, 320 bytes).

The problem persists with article instead of standalone. It also persists with no extra packages specified.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.