質問用フォーラムです。ご質問の前に質問のしかたをご覧ください。

bxjsarticle&pdflatexにおける\footnote

- T S の投稿

TeX Live 2026において、bxjsarticleクラスをpdflatexで使用したときに、\footnoteを使うとエラーが出ます。

具体的には、

documentclass[pdflatex, a4paper, ja=standard]{bxjsarticle}
\begin{document}
This is a test\footnote{aaa}.
\end{document}

をコンパイルすると、

! Undefined control sequence.
\jsc@f@@t@prefix ->\inhibitglue
                                \ignorespaces
l.3 This is a test.\footnote{
                             aaa}.

というエラーがでてコンパイルが止まります。

手元の環境(MacOS上でhomebrewでmactexをインストールして使っています)でも、Overleafでも同じ症状が出ているのですが、皆様のところではいかがでしょうか?

また、良い解決方法があれば教えていただきたく思います。

なお、pdflatexではなくlualatexを使った場合には無事コンパイルが通ります。(コンパイルに時間がかかるようになってしまいますが…)

よろしくお願いします。

enumerate環境における行揃え

- significant kkom の投稿
enumerate環境で, \itemの途中から行を揃えて出力したいです. 先に添付ファイルを見ていただくとやりたいことが伝わるかもしれません.

split環境のように&を使ってそろえることができたらよいのですが, わかりませんでした.
そこで, 添付ファイルのように左側の文字数(正確にはバイト数)をカウントして, 適切な\vspaceを入れればよいのではないかと考えました.
lualatexのluaコードを使って挑戦してみましたが, 添付ファイルの通り微妙にずれてしまいます.
プログラミング自体全くの初心者なため, あまり良いコードではないと思います. 今回は下記のサイトを参考に書かせてもらいました,

https://qiita.com/zr_tex8r/items/af2905bc93ac2c936a67

この方法に限らず, 「\itemの途中から行を揃えて出力」をする方法を教えていただけないでしょうか. 回答のほどどうぞよろしくお願いいたします.

SublimeText 4でのコンパイル問題

- 久仁光 若松 の投稿

皆様、いかがお過ごしでしょうか?

SublimeText 4でのコンパイル問題についての報告です!

SublimeText 4でLaTeXのコンパイル[cmd+B]が漸く復活しました。

Sublime User Forumに最近頻繁に投稿されている

「Can’t build Latex」への最終解決法。(チョット大袈裟?)

結論は、古い方の「LaTeXTools」の削除と、

「LaTeXTools」の再インストールです。

小生の環境はMac OS 13.7.8 Ventura

Sublime Text 4 (Build 4700)最新版です。

TeXディストリビューションはMacTeX 2025を使用

復活までの半日の試行錯誤については、

長くなりそうなので、添付ファイルにて。

zip File 1.ネット検索過程の説明。

2.Package Control.sublime-settingsへの書き込み修正。

SublimeText4でコンパイル問題を抱えた方の参考になれば幸甚です。

インライン数式での改行

- でび まる の投稿

でびまる といいます。

今更かも分りませんがインライン数式での改行についてご教示ください。
経験的に、デフォルトではインライン数式中の改行は「=」や「+」、「-」の後で行なわれる様です。
(「=」は関係記号、「+」は2項演算子でしょうが代表的に)
不要でしょうが例を示してみると(bxjsarticle 始めてで使い方怪しいです)、改行しない1行目に「A」を付けても改行にならず、「い」や「AB」を付けると等号の後で改行され行頭に「0」が来ます。
「いろ」にしたらもっと押されて「+」の後で改行されてしまい行頭には「2=0」が来ます。

---------------------------------------------

\documentclass[lualatex,paper={65mm}{90mm},12pt,ja=standard]{bxjsarticle}

\pagestyle{empty}
\begin{document}
$a-b+c=1-3+2=0$いろはに

A $a-b+c=1-3+2=0$ BCD

い$a-b+c=1-3+2=0$ろはに

AB $a-b+c=1-3+2=0$ CD

いろ$a-b+c=1-3+2=0$はに

\end{document}

---------------------------------------------

(ファイル、画像の挿入、添付上手くできてないかも)

個人的には「=」や「+」の前で改行して行頭に「=0」や「+2=0」が来る様な設定ができると嬉しいのですが
その様な方法はあるでしょうか。組版の是非は別にして、改行位置の選択肢が増えればと思います。
ChatGPT などに聞いても使えそうな回答はなさそうに思います。(マクロはNGです)
よろしくお願いします。

VerbatimOut環境でのTABの扱い(platexとlualatexでの違い)

- 陽二郎 若座 の投稿

下記のソースをplatexとlualatexでコンパイルするときの動作が異なることに気がつきました.

TABの前の空白文字はTABに変えてテストしてください.

動作環境はmacOS上のTeXLive2026のTeXShopです.

```

\documentclass{article}
\usepackage{fancyvrb}
\begin{document}
Test VerbatimOut.
\begin{VerbatimOut}[codes={\catcode009=12\relax}]{output.txt}
    SPACE
 TAB
\end{VerbatimOut}
\end{document}

```

platex ではoutput.txtに`^^I`が入ってしまいますが, lualatexではTABのままです.

行頭のTABを消すのがLaTeXのverbatim環境の使用だったと思いますが, fancyvrbパッケージは考え方を変えて, TABを通すようになっているように見えます. そこは理解できるのですが, `^^I`がファイルに出力されると, 出力ファイルが使いツールで使いにくくなってしまいます.

他の環境でもこのような現象があるのでしょうか?

Bibtexの使い方

- ueki ichiro の投稿

富士通ノートパソコンにWindows11、2023年版のTexを載せて論文を書いています。或る雑誌のLaTeX template に下記のようにデータを入れてコンパイルし、続いてBibtex でコンパイルしたところ、添付のスクリーンショット ss-1 のようなエラーメッセージが出ました。この中に出てくる\citation等のコマンドは美文書作成入門第8版にも載っていません。このエラーにどう対処したらいいかわかりません。templateで指定されているpackage のlea20250909とinf48.bib、logファイル、 およびエラーメッセージに出てくるleatest.aux を添付します。どう対処したらいいかご教示下さい。  植木

%!TEX TS-program = pdflatex

%backend for bibliography = biber

\documentclass[11pt,twoside]{article} %do not change the options

%%%%%%%%%%%%%%%%%%%

%STYLE FYLE OF THE JOURNAL

\usepackage{lea20250909}

%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%

%TITLE, AUTHOR, DATE

\title{The Role of the Infinite in the Development of Mathematics} %insert your title in lowercase letters

\shorttitle{short title} %insert your short title in lowercase letters. if you want to use your title, copypaste it here

\author{\textsc{}}

%to prepare for blind peer review: remove your name

%to prepare for publiation: insert your name. The first letter has to be uppercase, whereas the other letters have to be lowercase.

%\author{\textsc{Firstname1 Lastname1} and \textsc{Firstname1 Lastname2}} in case there are two authors

%\author{\textsc{Firstname1 Lastname1}, \textsc{Firstname1 Lastname2} and \textsc{Firstname3 Lastname3}} in case there are three authors

\date{} %leave empty

%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%

%USER PACKAGES BELOW

%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%

%USER SETTINGS BELOW

%%%%%%%%%%%%%%%%%%%

\theoremstyle{leatheoremstyle} %lea style for theorems, definitions, etc

\newtheorem{thm}{Theorem} %feel free to use your own abbreviations

\newtheorem{defn}{Definition} %feel free to use your own abbreviations

%feel free to add your own environments using the \newtheorem command

%%%%%%%%%%%%%%%%%%

\bibliography{inf48} %insert name of your bibliography file

\begin{document}

%%%%%%%%%%%%%%%%%%%

%TITLE, AUTHOR, ABSTRACT, KEYWORDS

\thispagestyle{empty} %style for the first page

\maketitle

\begin{abstract} %insert abstract

The following hypothesis is proposed, 'In mathematics, contradictions involved in the development of human knowledge are represented with the infinite'. Then the author describes a history of mathematical physics on the base of the hypothesis, and he concludes, 'The contradiction in mathematical description of motion was represented with the infinite within recursive (computable) set level, by early Newtonian mechanics. The contradiction to describe discontinuous phenomena with continuous functions was represented with the infinite higher than the recursive set level, namely with the infinite of arithmetical set level in second order arithmetic (ordinary mathematics), by mechanics of continuous bodies. The contradiction about ``ether'' was represented also with the infinite of arithmetical set level. Contradictions appeared in macroscopic physics applied to microscopic phenomena were represented with the further higher infinite in third or higher order arithmetic (set-theoretic mathematics), by quantum mechanics'. The hypothesis is supported by studies in the higher infinite.

%leave whitespace between the text and the keywords

\begin{keywords}

infinity\sep contradiction\sep history\sep mathematical physics\sep dialectic\sep reverse mathematics

%replace by your own keywords and delete \ldots

\end{keywords}

\end{abstract}

%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%

%MAIN TEXT

\section{Introduction}

\ \

'Philosophy of science without history of science is empty; history of science without philosophy of science is blind' \citep{Lakatos}.

\ \

E. Wigner said, 'The first point is that the enormous usefulness of mathematics in the natural sciences is something bordering on the mysterious and that there is no rational explanation for it' \citep{Wigner}. This quotation from the pioneer of quantum physics shows that elucidating the essential nature of mathematics is important for the natural science.

\end{document}

%%%%%%%%%%%%%%%%%%%

%ACKNOWLEDGEMENTS

\section*{Acknowledgements} %to prepare for blind peer review: remove this section

%to prepare for publication add this section

%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%

%BIBLIOGRAPHY

\printbibliography %backend for bibliography = biber

%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%

%% AUTHOR INFO %%%%

%%%%%%%%%%%%%%%%%%%

\begin{flushright}

Ichiro \textsc{Ueki}\\ %insert your last name in lowercase letters but the first letter should be a capital letter

Member of The History of Mathematics Society of Japan, Member of The Tokushima Society for The History of Science, Japan\\

Email: \href{mailto:ueki1@snow.ocn.ne.jp}{ueki1@snow.ocn.ne.jp}\\

ORCID iD: \href{http://orcid.org/0000-0002-1550-5314}{0000-0002-1550-5314} %remove if you don't have an orcid id

\vspace{.7cm}

Ichiro \textsc{ueki}\\ %insert your last name in lowercase letters

Member of The History of Mathematics Society of Japan, Member of The Tokushima Society for The History of Science, Japan\\

Email: \href{mailto:ueki1@snow.ocn.ne.jp}{ueki1@snow.ocn.ne.jp}\\

ORCID iD: \href{http://orcid.org/0000-0002-1550-5314} %remove if you don't have an orcid id

\end{flushright}

]

添付 ss-1.png

定理環境と箇条書き環境について

- eevee314 の投稿

amsthmパッケージを使って定理環境を構成し,その中で箇条書き環境を使うことを考えています.環境はWindows10,TeX Studio 2026,uplatexです.

箇条書き環境は通常の地の文のような書式にしたいです.つまり文章の左端は通常通り,アイテムの最初の記号および各段落の最初は一文字分字下げされた状態にしたいです.そのためには例えばenumitemパッケージを用い,wideというキー設定を行えば良さそうであることが分かりました.

ただこの設定のもと定理環境の先頭で箇条書き環境を使う場合,一つ目のアイテムの字下げのみが余分です.これがなくなるような上手い設定方法はないでしょうか?

参考用TeXファイル

\RequirePackage{plautopatch}
\documentclass[uplatex,dvipdfmx]{jsarticle}
\usepackage{amsthm}
\newtheoremstyle{mythm}{}{}{\normalfont}{}{\bfseries}{}{ }{}
\theoremstyle{mythm}
\newtheorem{thm}{定理}
\usepackage{enumitem}
\begin{document}
\begin{thm}
ああああああああああああああああああああああああああああああああああああああああああああああああ

あああああ
\begin{enumerate}[wide]
\item ああああああああああああああああああああああああああああああああああああああああああああああああああ

あああああ
\item ああああああああああああああああああああああああああああああああああああああああああああああああああ

あああああ
\end{enumerate}
\end{thm}
\begin{thm}
\begin{enumerate}[wide]
\item ああああああああああああああああああああああああああああああああああああああああああああああああああ

あああああ
\item ああああああああああああああああああああああああああああああああああああああああああああああああああ

あああああ
\end{enumerate}
\end{thm}
\end{document}

LatexWorkshopでpdfファイルが開けないです。

- 勘定 奉行 の投稿

環境はWindows11、vscode1.118.1です。

私はlatexmxをインストールし、vscodeで自動ビルドを組んでtexファイルへの書き込みをリアルタイムでpdfファイルに更新しています。

現在問題なのはなにをしてもpdfファイルがvscode上で開けないことです。pdfファイルを見ようとすると

Web ビューの読み込みエラー: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..

というエラーが出ます。今ではいったん"latex-workshop.view.pdf.viewer": "browser",とsetting.jsonに書き、ブラウザで見るようにしてます。

latexmxによる自動コンパイルは問題なくでき、生成、更新されるpdfファイルは正しく表示されています。どうしたらvscodeでpdfファイルが見れるようになるのでしょうか。ご教授お願い致します。

二段組オプションbが効かない

- 十文字 KO の投稿

texlive2026を新しくインストールし、lualatex (LuaHBTeX 1.24.0)で2段組み処理するとフロートオプションbが効かなくなりました。LuaHBTeX 1.21.0 (texlive2025)では効いてました。環境はWindows11 Homeです。原因わかりますでしょうか?

\documentclass[twocolumn]{ltjsarticle}

\begin{document}

ほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげ
ほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげ
ほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげ

\begin{figure*}[b]
\centering
\fbox{図図図}
\end{figure*}

ほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげ
ほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげほげ

\end{document}

\rubyを使用した際の行間の不揃いを直したい

- t bz の投稿

\rubyを使用した際に行間が空いてしまいます。
行間を一定に保つためにはどうしたらよいでしょうか。
ちなみに、\rubyはokumacroのものを使用しております。