未分類

tex で分数がつぶれないようにする

投稿日:2020年11月6日 更新日:

tex で、複数行を書いたときに分数がつぶれないようにする。

displaystyle を使う。

first $\frac{1}{1+\sqrt{x}+\sqrt{y}}$

のかわりに、

second $\displaystyle \frac{1}{1+\sqrt{2}+\sqrt{3}}$

とする。

結果

上の段は分数がつぶれているが、下の段は分数がつぶれない。

[商品価格に関しましては、リンクが作成された時点と現時点で情報が変更されている場合がございます。]

ルパン三世 1【電子書籍】[ モンキー・パンチ ]
価格:660円(税別、送料別)(2020/12/27時点)

楽天で購入

-未分類

執筆者:


comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

matplotlib で x軸・y軸ラベルをつける

plt.xlabel と plt.ylabel を使う。 例 import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, …

no image

c++ で文字列を「区切り文字」を使って分ける方法

string の find を使って、区切り文字の場所を取得し、その位置で区切る。 例 #include <iostream> #include <string> using namesp …

no image

python3 でリストの偶数番目・奇数番目の項目を出力する

リストに対して、::2 を使えば良い。 例 list1 = [‘日’,’月’,’火’,’水’,’木’,’金’,’土’] list2 = list1[::2] list3 = list1[1::2] p …

no image

tex で数式モード内に普通の文字列を入力する方法

\textrm を使う。 例 $$y = f (x) \hspace{1cm} \textrm{This is a function.}$$ 結果

no image

C言語でchar文字列の長さを取得する (strlen)

strlen 関数を使って取得すればよい。sizeof という関数もあるが、strlen と振る舞いが異なるので注意。 例 #include<stdio.h> #include<strin …