[{"data":1,"prerenderedAt":534},["ShallowReactive",2],{"project-23282207":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":35,"aspects":36,"strip":45,"post_text":46,"what":47,"said":81,"maker_in_thread":174,"shape":183,"grid":188,"attempts":497,"same_week":498,"maker_shows":44,"maker_hidden":526,"reader_version":527,"card":528},"23282207","LaTeX.css","Make your website look like a LaTeX document","title","Show HN: LaTeX.css – Make your website look like a LaTeX document","https:\u002F\u002Flatex.now.sh","latex.now.sh","doerig",1590234979,2020,515,111,44,3028,2,"legend","dev_tools","css library","library",[24,25,26,27,28],"latex","css","typography","academic style","math rendering","mixed",-0.226,{"positive":32,"neutral":33,"mixed":34,"critical":33},5,12,4,33,{"design":37,"execution":40,"performance":42,"idea":43},{"positive":38,"critical":39},3,7,{"positive":41,"critical":34},0,{"positive":41,"critical":41},{"positive":18,"critical":44},1,[44,38,44,32,41,41,41,41,41,41,41,41,41,41,41,41,44,41,44,41,41,41,38,38,18,38,44,32,44,38,41,41,18,32,44,44,41,41,38,32],null,{"problem":48,"audience":54,"pricing":46,"motivation":46,"time_to_build":46,"stack":65,"openness":78,"stage":79,"team_size":80},{"value":49,"source":50,"evidence":51},"Making websites look like LaTeX-typeset documents","maker",[52],{"id":53},"post",{"value":55,"source":56,"evidence":57},"People wanting academic-style web pages, especially for math","inferred",[58,61],{"id":59,"by":11,"text":60},"23283446","Of course the audience this is intended for is pretty niche. Afaik there is only one other LaTeX-like library (the one I built my version upon) that achieves such a style. I…",{"id":62,"by":63,"text":64},"23284860","romwell","This is great! Putting anything mathematics-related on the Web and making it look half-decent is such a chore. Thank you for making it easier! MathJax and KaTeX are a great…",[66,72],{"value":67,"source":56,"evidence":68},"CSS",[69],{"id":70,"by":11,"text":71},"23286041","Thank you for this comment. I honestly didn't give it much thought at all when I copied it from the CSS reset [1] I used. I'll change it to `optimizeLegibility` asap. [1]:…",{"value":73,"source":50,"evidence":74},"MathJax",[75],{"id":76,"by":11,"text":77},"23284144","Honestly, I really don't know. MathJax has been very janky for some reason. I have tried using KaTeX (https:\u002F\u002Fkatex.org) but couldn't get it to work properly and some equations…","open_source","launched","unknown",{"praise":82,"objections":95,"requests":128,"questions":143,"alternatives":158},[83,88],{"value":84,"source":85,"evidence":86},"Good work, much needed for putting math on the web","commenter",[87],{"id":62,"by":63,"text":64},{"value":89,"source":85,"evidence":90},"Nostalgic look that evokes LaTeX documents",[91],{"id":92,"by":93,"text":94},"23285358","mattlondon","Nicely done - it instantly reminded me of that feeling of deep dreading when coming across a latex document so it looks like this is fairly spot on :) Not sure what it is,…",[96,107,118],{"value":97,"source":85,"evidence":98},"Does not feel like true LaTeX; hyphenation and spacing are weaker",[99,103],{"id":100,"by":101,"text":102},"23284470","e12e","Sadly, css\u002Fhtml hyphenation is still pretty awful. And AFAIK on mobile kerning is pretty far off too. So to me it feels more like a latex parody than homage, unfortunately.…",{"id":104,"by":105,"text":106},"23289959","smabie","Not bad, though the spacing and kerning are notably inferior. LaTeX would never have that many hyphens, though I suppose it isn't your fault. Nice work!",{"value":108,"source":85,"evidence":109},"Math rendering depends on JavaScript, so it is not pure CSS",[110,114],{"id":111,"by":112,"text":113},"23285405","enriquto","It is a bit dishonest to call it \"css\" when most of the heavy lifting (the math) is done by javascript.",{"id":115,"by":116,"text":117},"23288490","gwern","One bit of irony: LaTeX.css can't display math without... JS. (However, there is a solution if you're using Pandoc! Compile via texmath and then…",{"value":119,"source":85,"evidence":120},"Target audience seems niche",[121,125],{"id":122,"by":123,"text":124},"23283257","diablo1","What so it just styles your site to look like a dry academic paper? What use case does this have? I imagine someone out there really needs this and the target audience is small.",{"id":126,"by":123,"text":127},"23283363","Yeah but it's very edge-casey and not everyone's an academic so the target audience must be very small. Otherwise why write the CSS for it. If I wanted to write a CSS library I…",[129,136],{"value":130,"source":85,"evidence":131},"Support for automatic numbering and table of contents",[132],{"id":133,"by":134,"text":135},"23285370","fefe23","I noticed two big omissions: 1. No automatic numbering (and no automatic table of contents generation). 2. Latex will indent the first line of each paragraph (except the first…",{"value":137,"source":85,"evidence":138},"Follow booktabs table style",[139],{"id":140,"by":141,"text":142},"23284119","DominikPeters","Looks great, though I wish the table style followed the recommendations of the \\usepackage{booktabs} documentation [1] more closely. [1]…",[144,151],{"value":145,"source":85,"evidence":146},"Why some equations render with MathJax and others do not",[147],{"id":148,"by":149,"text":150},"23284107","scythmic_waves","Why do some of the equations show up as rendered by MathJax, but others still read `$\\mathbb{R}$`?",{"value":152,"source":85,"evidence":153},"How it differs from existing latexcss project",[154],{"id":155,"by":156,"text":157},"23287156","rdevnull","how is it different to https:\u002F\u002Fgithub.com\u002Fdavidrzs\u002Flatexcss ?",[159,167],{"value":160,"source":85,"evidence":161},"davidrzs latexcss",[162,163],{"id":155,"by":156,"text":157},{"id":164,"by":165,"text":166},"23284580","dig1","There is also https:\u002F\u002Fdavidrzs.github.io\u002Flatexcss\u002F",{"value":168,"source":85,"evidence":169},"WiTeX",[170],{"id":171,"by":172,"text":173},"23286286","snek","Related: https:\u002F\u002Fgithub.com\u002FAndrewBelt\u002FWiTeX or my modified version here: https:\u002F\u002Fgist.github.com\u002Fdevsnek\u002F9689917c8095febbf48b91c2f8f5a9af",{"comments":32,"answered":44,"key":175},[176,177,180],{"id":70,"text":71},{"id":178,"text":179},"23291352","Thanks, changed https:\u002F\u002Fgithub.com\u002Fvincentdoerig\u002Flatex-css\u002Freleases\u002Ftag\u002Fv.1.0.2",{"id":181,"text":182},"23289805","Thanks, it should be better now.",{"commenters":184,"max_depth":185,"maker_replies":32,"first_comment_mins":186,"lifespan_hours":187},77,8,159,84,[189,191,195,199,201,203,205,207,211,213,216,220,223,226,229,233,236,238,241,243,246,249,252,254,256,259,262,265,267,269,272,275,278,281,283,286,289,291,294,297,300,303,306,308,311,314,317,318,321,324,326,328,329,332,335,338,341,344,347,351,354,356,360,363,366,370,374,375,377,380,384,386,390,391,395,398,401,404,406,408,412,414,415,418,421,423,426,428,431,434,438,442,444,446,450,454,458,462,464,467,470,471,473,476,478,481,483,486,489,492,495],[100,41,44,190,101,41],"project\u002Fcritical\u002Fdesign",[192,41,38,193,194,41],"23285200","project\u002Fneutral\u002Fdesign","mpetroff",[196,41,41,197,198,41],"23289149","commenter\u002Fneutral\u002Fnone","chrismorgan",[200,41,38,193,194,41],"23302483",[202,41,41,197,101,41],"23305631",[204,41,41,197,194,41],"23306424",[206,41,41,197,101,41],"23310195",[208,41,44,209,210,41],"23285914","project\u002Fcritical\u002Fexecution","divbzero",[70,41,41,212,11,44],"maker\u002Fneutral\u002Fexecution",[214,41,32,215,210,41],"23286297","project\u002Fpositive\u002Fdesign",[217,44,41,218,219,41],"23283359","other\u002Fneutral\u002Fdesign","jjice",[221,44,41,197,222,41],"23283479","nbrempel",[224,44,41,218,225,41],"23283484","atrettel",[227,44,41,197,228,41],"23284152","elSidCampeador",[230,44,41,231,232,41],"23284214","other\u002Fneutral\u002Fnone","TheRealPomax",[234,44,41,231,235,41],"23284370","improbable22",[237,44,41,231,232,41],"23284388",[239,44,41,231,240,41],"23287374","shakna",[242,44,41,231,228,41],"23288446",[244,44,41,218,245,41],"23285000","jdnier",[247,44,41,218,248,41],"23283947","rwoerz",[250,44,41,218,251,41],"23284056","DavidVoid",[253,44,41,218,235,41],"23284212",[255,44,41,218,198,41],"23284673",[257,44,41,197,258,41],"23285625","flobosg",[260,44,41,197,261,41],"23285808","astroalex",[263,44,41,197,264,41],"23285891","rcfox",[266,44,41,197,258,41],"23286972",[268,44,41,197,261,41],"23318106",[270,44,41,197,271,41],"23286653","yesenadam",[273,44,41,218,274,41],"23285380","jfk13",[276,44,41,218,277,41],"23288742","dhosek",[279,44,41,218,280,41],"23290737","yur3i__",[282,44,41,218,232,41],"23284192",[284,44,41,218,285,41],"23287576","ncmncm",[287,44,41,288,198,41],"23289168","commenter\u002Fneutral\u002Fdesign",[290,44,41,288,285,41],"23290087",[292,44,41,218,293,41],"23284422","conjectures",[295,44,41,231,296,41],"23284841","supernova87a",[298,44,41,231,299,41],"23289660","quickthrower2",[301,44,41,218,302,41],"23287701","sneak",[304,44,41,218,305,41],"23284560","bmitc",[307,44,41,231,277,41],"23288752",[309,44,41,218,310,41],"23285325","airstrike",[312,44,41,231,313,41],"23285584","amelius",[315,44,41,218,316,41],"23286511","wenc",[133,18,44,190,134,41],[319,18,41,218,320,41],"23285400","cpach",[322,18,41,231,323,41],"23291037","pseingatl",[325,18,41,218,323,41],"23291031",[327,18,41,231,320,41],"23292770",[115,38,44,209,116,41],[330,34,41,231,331,41],"23283902","bryanrasmussen",[333,34,41,231,334,41],"23283956","qubex",[336,34,41,231,337,41],"23285060","hugey010",[339,34,41,218,340,41],"23286471","sah2ed",[342,34,41,231,343,41],"23290779","pantalaimon",[345,32,41,218,346,41],"23283540","giantrobot",[348,349,41,218,350,41],"23290605",6,"csarven",[352,39,41,231,353,41],"23285012","gitgud",[355,39,41,231,271,41],"23286725",[357,185,38,358,359,41],"23284063","project\u002Fmixed\u002Fexecution","LifeIsBio",[361,185,38,362,232,41],"23284228","project\u002Fneutral\u002Fperformance",[140,364,38,365,141,41],9,"project\u002Fmixed\u002Fdesign",[367,368,38,365,369,41],"23283417",10,"niknetniko",[371,372,41,231,373,41],"23283595",11,"fermienrico",[92,33,32,215,93,41],[111,376,44,209,112,41],13,[378,376,44,209,379,41],"23286384","ShitOpinionAcc",[381,382,38,193,383,41],"23290907",14,"tekkk",[178,382,41,385,11,44],"maker\u002Fneutral\u002Fdesign",[387,388,38,389,198,41],"23284605",15,"project\u002Fneutral\u002Fexecution",[181,388,41,212,11,44],[392,393,44,190,394,41],"23286902",16,"perl4ever",[155,396,38,397,156,41],17,"project\u002Fneutral\u002Fidea",[62,399,32,400,63,41],18,"project\u002Fpositive\u002Fidea",[402,399,41,197,403,41],"23285498","JadeNB",[405,399,41,231,277,41],"23288757",[171,407,41,231,172,41],19,[409,410,44,190,411,41],"23290139",20,"qznc",[148,413,38,389,149,41],21,[76,413,41,212,11,44],[416,413,41,417,232,41],"23284270","other\u002Fneutral\u002Fperformance",[419,413,41,197,420,41],"23284471","rubatuga",[422,413,41,197,232,41],"23286977",[424,413,41,197,425,41],"23285566","adimitrov",[427,413,41,197,232,41],"23286973",[429,413,41,231,430,41],"23286905","grizzles",[432,413,38,389,433,41],"23284806","mixedmath",[435,436,44,190,437,41],"23283522",22,"pgcj_poster",[439,440,38,193,441,41],"23287804",23,"nailer",[104,443,38,365,105,41],24,[164,445,41,231,165,41],25,[447,448,32,400,449,41],"23285420",26,"nicofcurti",[451,452,44,190,453,41],"23289808",27,"ggm",[455,456,44,190,457,41],"23292164",28,"znpy",[459,460,38,397,461,41],"23283272",29,"throwlaplace",[463,460,41,197,219,41],"23283344",[122,465,44,466,123,41],30,"project\u002Fcritical\u002Fidea",[468,465,41,469,461,41],"23283280","commenter\u002Fneutral\u002Fidea",[126,465,41,469,123,41],[59,465,41,472,11,44],"maker\u002Fneutral\u002Fidea",[474,465,41,469,475,41],"23283482","mastry",[477,465,41,197,461,41],"23283548",[479,465,41,469,480,41],"23283810","thanksforfish",[482,465,41,469,232,41],"23284299",[484,465,38,193,485,41],"23283515","KKPMW",[487,465,41,288,488,41],"23285122","jraph",[490,465,38,193,491,41],"23283521","kleiba",[493,465,41,231,494,41],"23284183","thomaspark",[496,465,32,215,232,41],"23284287",[],[499,504,509,513,518,522],{"id":500,"name":501,"points":502,"category":503},"23324598","Obsidian",1087,"productivity",{"id":505,"name":506,"points":507,"category":508},"23312339","Bear",685,"web_saas",{"id":510,"name":511,"points":512,"category":503},"23295989","Wiper",574,{"id":514,"name":515,"points":516,"category":517},"23283880","neut",456,"languages",{"id":519,"name":520,"points":521,"category":503},"23255732","newscatcher",420,{"id":523,"name":524,"points":525,"category":503},"23330228","Straight2Spam",318,false,"v2",{"id":529,"name":5,"line":6,"ai":526,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":530,"top":18,"kw":531,"maker":11,"domain":10,"tier":19,"attempts":41,"strip":532,"url":9,"mix":533,"praise":84,"objection":97,"sub":21},23282207,-0.23,[24,25,26,27,28],"1315000000000000101000332315130025110035",[32,33,34,33],1793991009993]