0

My tex should looks like that:

latex1

I can only do this:

latex2

My whole tex code:

\documentclass[12 pt, a4paper]{article}


\usepackage[cp1250]{inputenc} 

\usepackage{polski,enumerate,amsmath,amssymb, multicol}


\begin{document}

$\displaystyle S_k = \sum^{\infty}_{1=1}u_{k,l} (k=1,2,3,\dots)$, mamy $\displaystyle S=\sum^{\infty}_{k=1}S_k$, skąd, w myśl $(3)$

(dla $a>0$):
$$
a^{s_{k}}=\prod_{l=1}^{\infty} a^{u_{k, l}} \quad \text { oraz } \quad a^{s}=\prod_{k=1}^{\infty} a^{s_{k}}=\prod_{k=1}^{\infty}\left(\prod_{l=1}^{\infty} a^{u_{k, l}}\right) \text {. }
$$

czyli

%here is my formula I want to fix
$$
\displaystyle a^{\displaystyle \sum^{\infty}_{k=1} \sum^{\infty}_{l=1}u_{k,\:l}} = \prod^{\infty}_{k=l} \prod^{\infty}_{l=1} a^{u_{k, l}}
$$
\end{document}

And used packages:

\usepackage{polski,enumerate,amsmath,amssymb, multicol}

I want sum symbols and prod symbols look like the ones in the picture, another problem is that theres big space between equal symbol and my is short in comparison.

11
  • Please provide the missing parts we need to copy and compile: \documentclass, \usepackage, \begin+end document, with your code at the appropriate place, REPRODUCING your problem.
    – MS-SPO
    Commented Jan 6, 2023 at 10:46
  • In addition to what MS-SPO asked, be sure to specify which math font you're using, since you seem to want to get a specific look for math symbols.
    – Miyase
    Commented Jan 6, 2023 at 10:47
  • Done, i dont know how to specify font. Commented Jan 6, 2023 at 10:55
  • Please be sure to get rid of \usepackage[cp1250]{inputenc} .
    – Mico
    Commented Jan 6, 2023 at 10:56
  • 2
    cp12850 is a legacy code page. Any modern editor (and latex) should default to Unicode utf-8 so be able to use characters from all languages without changing encoding Commented Jan 6, 2023 at 11:04

1 Answer 1

6

You can use \limits rather than \displaystyle to use limits below the summation, displaystyle forces the superscript to be unreasonably large and hard to recognise as a superscript.

I used stix2 to use a bolder, more robust font.

In the final expression I used a double length = if you really need that. I also fixed the typo: k=1 on the first product, your question has k=l

enter image description here

\documentclass[12pt, a4paper]{article}

%any code copied from stackexchage is UTF-8 not cp1250
%\usepackage[cp1250]{inputenc} 

\usepackage{polski,enumerate,amsmath,amssymb, multicol}

\usepackage{stix2}

\begin{document}

$\displaystyle S_k = \sum^{\infty}_{1=1}u_{k,l} (k=1,2,3,\dots)$, mamy $\displaystyle S=\sum^{\infty}_{k=1}S_k$, skąd, w myśl $(3)$

(dla $a>0$):
\[
a^{s_{k}}=\prod_{l=1}^{\infty} a^{u_{k, l}} \quad \text { oraz } \quad a^{s}=\prod_{k=1}^{\infty} a^{s_{k}}=\prod_{k=1}^{\infty}\left(\prod_{l=1}^{\infty} a^{u_{k, l}}\right) \text {. }
\]

czyli

%here is my formula I want to fix
\[
a^{\sum\limits^{\infty}_{k=1} \sum\limits^{\infty}_{l=1}u_{k,\:l}} = \prod^{\infty}_{k=1} \prod^{\infty}_{l=1} a^{u_{k, l}}
\]

\[
a^{\sum\limits^{\infty}_{k=1} \sum\limits^{\infty}_{l=1}u_{k,\:l}} \!=\joinrel= \prod^{\infty}_{k=1} \prod^{\infty}_{l=1} a^{u_{k, l}}
\]
\end{document}
3
  • thanks!!!!!!!!!! Commented Jan 6, 2023 at 11:47
  • Is 1=1 also a typy? Commented Jan 6, 2023 at 12:46
  • @hpekristiansen er well at least 1=1 is true! Commented Jan 6, 2023 at 13:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .