2

I have been looking in the and Latex companion, and I did not find what I want to make. I write transparencies in beamer for my lectures, and I have observe that the space between numbers or letters is too small in the big screen, making difficult to read them properly. I have tried to modify the spaces following the answer in this answer in StackExchange: Answer in Stack, but failed and obtain a strange error lists on a suppo-pdf.mkii file that begins with: Use of \@@mptopdf@@newabove doesn't match its definition. \@@mptopdf@@newabove. A minimal non working example of my achievement is:

\documentclass[xcolor=dvipsnames]{beamer} %Class presentation \catcode`\ =13 \def {\,} \begin{document} \begin{frame}{Here, I find error.} \[ %Math mode... a 2 = 2 + 3 \] \end{frame} \end{document} 

I have seen that beamer package modifies heavily the categories codes, or so I understood. Is there any way to make the command to make larger horizontal space work? As an example, here is the same equation tipped without and with spaces. Here Latex takes care of the spacing, leaving too few space for a presentation, in my opinion: enter image description here

In the next picture, I add a \; space between letters: enter image description here

11
  • Welcome to TeX.Stackexchange! Commented Mar 20, 2019 at 11:02
  • 1
    You are the first person to have this concern. I'd like to see some examples of this. Anyway, here is why this does not work. You are making a space into a macro. But beamer is build on top of tikz/pgf and the option names in tikz often use spaces in them, this includes most beamer options. So when you make space active all these options no longer work. Commented Mar 20, 2019 at 11:29
  • I have added two pictures of the different equations to the question. Anyhow, is there any way to use the macro "trick" in beamer? Commented Mar 20, 2019 at 11:42
  • @alfeliz I am afraid that the only way is to add these spaces manually. :( Commented Mar 20, 2019 at 11:44
  • 1
    I don't really see any need to add spaces in this example, other than defining tag probably to insert its own space. Commented Mar 20, 2019 at 11:46

1 Answer 1

0

If you'd use a fragile frame, you could use this solution by @egreg:

\documentclass[xcolor=dvipsnames]{beamer} %Class presentation % from https://tex.stackexchange.com/a/32080/36296 \def\spacemath{\catcode`\ =12 \begingroup\lccode`~=` \lowercase{\endgroup\def~}{\ }} \everymath\expandafter{\the\everymath\spacemath} \everydisplay\expandafter{\the\everydisplay\spacemath} \begin{document} \begin{frame}[fragile] \frametitle{Here, I find error.} \[ %Math mode... a 2 = 2 + 3 \] \end{frame} \end{document} 

enter image description here

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.