1
vote
1answer
44 views

Formatting my basic tex report with specific spacing and font settings

Ok so I am configuring the settings of my tex file before starting my (mathematical) report and am going through my basic template and removing all packages I don't need and believe I have the very ...
5
votes
1answer
83 views

ConTeXt: Font change shifts column content

Background I would like to place balanced itemized lists inside a two-column layout. Problem Changing the font affects the balanced layout; the fonts are: Chivo Gentium Basic Code The ...
3
votes
3answers
125 views

Fit equations as same size of the text fonts

An inline equation is written with the sentence appears, It can be noticed the line spacing has been locally increased for that particular sentence containing the variable E. How to shrink the ...
8
votes
3answers
601 views

Desktop wallpaper with black background templates

I want to prepare some cheat sheets to be used as desktop wallpapers. I would like to go for something like this: It has, I think, context highlighting (or maybe just environmental highlighting) a ...
6
votes
1answer
114 views

Spacing between letters of multi-letter identifier changes randomly

I use multi-letter identifiers in my thesis, for which I wrote macros, for example: \newcommand{\spec}{\mathit{Spec}} In a text, I always refer to these identifiers as: some words $\spec$ even ...
4
votes
1answer
98 views

No spaces in a font created with Metafont

Finally I got my font created with Metafont, to appear on a PDF using LaTeX. Using the example in this answer. The problem is that I have no space between words. How can I get spacing between ...
9
votes
1answer
179 views

Two letter variables with upright Delta

I'm using newtxmath with the slanted and libertine option in order to get standard slanted greek letters in mathmode as well as the option for upright greek letters. My question concerns a common two ...
4
votes
1answer
181 views

How to avoid double dash seem as a continuous line?

I'm using listings to show some source code (bash scripts) in my document but there is a problem, when using mono spaced fonts, the space between dashes is very small and in the printed document two ...
5
votes
1answer
202 views

Optical Kerning with microtype

I am dissapointed with microtypes kerning. This MWE: \documentclass[ngerman,10pt]{article} \usepackage[ngerman]{babel} \usepackage{lmodern} \usepackage[T1]{fontenc} ...
9
votes
0answers
154 views

XeTeX font spacing awfulness [duplicate]

When using the Lato font (e.g., Google fonts or Lato fonts), I get completely overlapping text: When I view the PDF in Google Chrome's PDF viewer, it looks fine on the screen: but it still ...
4
votes
2answers
92 views

Prevent spacing in sub or super scripts with eulervm

When typing formulas to explain physics, sometimes non spaced text in super or subscripts is helpful. $q_{heat}$ To prevent spacing in subscripts, I often used \textit in math mode: ...
4
votes
2answers
217 views

Adjusting the position of \dot

I'm writing a paper that uses the symbol \dot{\mathcal{U}} which for me (in PDFLaTeX with Palatino math fonts) looks like this: As you can imagine, from further away, the dot is invisible. Is ...
8
votes
1answer
278 views

How to vertically center the fraction line?

I feel a bit weird because this is a really simple issue that apparently nobody has brought up so far but I find that very simple fractions produce output that looks vertically unbalanced. The ...
1
vote
1answer
307 views

Changing font color in a table adding unwanted extra spacing

I haven't been able to find a solution, so I'm hoping for any suggestions. When I try to change the font color in my table, I get extra spacing above and below the lines with the color-changed font. ...
12
votes
3answers
234 views

non-invasive kerning/spacing modification: what options are there?

Once in a while, you may want to (1) adjust or create a kerning pair (or, better yet, kerning class) in a font, or (2) adjust a particular glyph's sidebearings. examples of scenario (1) would include ...
6
votes
2answers
263 views

More than one width of a glyph in LaTeX or LuaLatex

I don't know where I can ask about it. I have font with 2 or 3 versions of letter 'a'. How I can put this information to LuaLaTeX, LaTeX etc.? When the paragraph are breaking/making LaTeX made ...
8
votes
2answers
252 views

Dollar sign with txfonts and fontenc

I have a strange problem with the dollar sign ($) and \textbf{} when using the txfonts and fontenc packages. The dollar sign has a space after it. Both packages are required to reproduce the problem. ...
1
vote
1answer
620 views

Layout for seminar paper; justified, font, size, spacing

I just started university and decided to graduate from Word for writing my papers, thesises and so on. But I have some problems with probably the most simple things... I got this template: here the ...
3
votes
1answer
56 views

Inter-word spacing issue with long code tags

I'm having an issue with the Sphinx Documentation Generator, you may be asking what this has to do with LaTeX. Well, we were hoping to use it for our specification documentation which needs to be ...
0
votes
1answer
142 views

Need help making sure a given thesis template is in line with my uni's style requirements (margin, spacing, font, etc)

I'm still in the process of getting Sunil Patel's Thesis Template.zip primed for writing. I've just overcome the unicode trouble and now need to make sure the template's in line with my university's ...
2
votes
0answers
294 views

Spacing & sizing with libertine and newtxmath

I'm using the following setup for the Libertine font: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[lining]{libertine} \usepackage[libertine, cmintegrals]{newtxmath} \begin{document} ...
4
votes
1answer
249 views

How to change the spacing in latexit for Times New Roman font?

I've successfully changed the font used in Latexit (equation creator) to Times New Roman by changing the engine to xelatex and by adding this to my preamble: \usepackage{mathspec}
 ...
19
votes
2answers
499 views

Too much space before digit “1”

In many fonts, the digit 1 contains a lot of empty space on its left side. Maybe this is desirable inside a number like 512, but it looks wrong to me when the 1 appears at the beginning of a word, as ...
10
votes
1answer
193 views

Width threshold for space detection

I'm writing this stuff pdf2htmlEX, for each distance between two consecutive letters, I need to check if there should be a space character or not. Especially for PDF files generated by LaTeX, which ...
5
votes
3answers
808 views

monospaced fonts not respecting spaces?

Why does true type fonts consolidate spaces and is there any way to stop this? I need easily add white space between words equal to the width of a space(which for monospace should be the same for all ...
3
votes
1answer
841 views

Weird behaviour of copying - no space between words

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{tgtermes} \begin{document} Polska, Rzeczpospolita Polska -- państwo unitarne w Europie Środkowej, położone ...
5
votes
0answers
177 views

Space between Hebrew letters larger with MacTeX than with MiKTeX [closed]

I'm writing LaTeX using LyX on Macintosh, and in Hebrew. My problem is that when exporting the document I get bigger spaces between my Hebrew letters than if compiling the same file on a Windows ...
5
votes
2answers
131 views

How can I decrease the space between the symbol “<” and text?

I use "0<F<1" in Latex, however in the pdf it is "0 < F < 1 ", I want to reduce the space between text and <, just like "0<F<1", would someone tell me how to do it?
5
votes
1answer
147 views

Retrieve em-width from another font

I’m trying to align verbatim segments with their outputs. Consider this MWE: \documentclass{article} \usepackage{lmodern} \usepackage{fancyvrb} ...
2
votes
1answer
222 views

Sans serif math with corrected spacing

With the sfmath package I find that there is too little space between some symbols. In an expression like $n_1$ for instance the subscript is too close to the base. Although the space between the ...
7
votes
1answer
181 views

How can I force pairs of brackets [][] to be closer to each other in \texttt?

\documentclass{article} \begin{document} Normal margin here. Normal margin here. Normal margin here. Normal margin here. Normal margin here. Normal margin here. Normal margin here. Abcdefgh ...
4
votes
1answer
258 views

What settings for \[x]spaceskip would you suggest for Linux Libertine?

Quite contrary to my own answer here, I think that the default \spaceskip setting for Linux Libertine is rather unfortunate: seemingly, the shrink component is too high (and I end up getting to narrow ...
8
votes
2answers
297 views

Different hyphenation pattern when using oldstyle figures?

It appears that there are different hyphenation patters when using oldstyle figures or not. Consider the following MWE: \documentclass[a4paper,10pt]{scrartcl} \areaset[current]{336pt}{600pt} ...
15
votes
3answers
2k views

Making a LaTeX document appear as though it were typeset in MS Word

I am typesetting a document in LaTeX for which I have been given exact specifications that are intended for an MS Word-processed document (single-sided, single-spaced, 0.75 inch margins, no more than ...
1
vote
2answers
205 views

Displaying HTML, Asian fonts, fonttype and tabs

How do I get LaTeX to just print the following lines as plain text? The angled brackets are messed up when I compile the .tex file into .ps the main texts are bounded by <p>...</p> within ...
12
votes
2answers
288 views

How does TeX know how to space different typefaces?

My understanding of how TeX makes things look so nice is that it goes over each paragraph and spaces each letter/word to look 'right' based on how dark it is, how wide it is, and the characteristics ...
3
votes
1answer
261 views

Spaces between Hebrew letters

I am writing in Hebrew, but my output doesn't look so good because the spaces between thew Hebrew words are too big. They are somehow bigger than usual, and also the font itself, just doesn't look ...
3
votes
2answers
557 views

Math mode spacing (or glyph bounds) with mathspec

With mathspec, when you change the math font to an OpenType font, the spacing within equations is not fine: it is the same than the text mode spacing. For example in the equation $e^j$, the 'j' will ...
6
votes
1answer
454 views

Weird font/spacing issue with LuaTeX & Asana Math

Trying to use LuaTeX font support in some big document, everything went fine except a little glitch with Asana Math font. Here is the issue: \documentclass{standalone} \usepackage{unicode-math} ...
13
votes
1answer
864 views

Italic Correction for Linux Libertine Font

I was looking for a new font for the manuals of my LaTeX packages and found the Linux Libertine most pleasing. However it seems that it doesn't support italic correction (yet). I assume that a font ...
2
votes
2answers
841 views

Stretch space characters horizontally

I'm using XeTeX to mimic another document, but I only have a similar font which I stretch using the extend and letterspace options. My main problem is though, that my font's spaces (U+0020) are only ...
31
votes
3answers
3k views

Bad spacing of math letters within italic text

I use the standard AMS theorem style, which means that my theorems are set in italic. In combination with math variables, this sometimes gives horrible spacing: The input If $U$ or $V$ \dots yields ...