I am trying to set up my markdown editor to export pdf similar to the style used in American Mathematics Society, just to make day to day writings look more formal, not for serious journal work. I am using a css snippet to set the format close to latex. But could never get it to look quiet right.
In the styleguide for AMS, they indicate the spacing are done automatically by LaTex:
Be aware that spacing between words is created automatically by LATEX
Does anyone know what is the default letter spacing, word spacing, and line spacing used? And if similar format can be acchived by a css snippet?
This is the css snippet I'm currently using:
.markdown-preview-view,
.markdown-source-view {
font-family: 'Latin Modern Roman', 'lmroman12-regular', serif;
font-size: 10pt; /* This matches the common body text size used in AMS documents */
line-height: 1;
letter-spacing: -0.05em;
word-spacing: -0.05em;
max-width: 900px; /* Approximate width for AMS content blocks, adjust as needed */
margin: auto;
text-align: justify; /* AMS documents often have justified text */
}