가정 줄 앞에 들여쓰기를 추가하려고 시도한 아래를 참조하세요. 실제 문서에서 사용한 서문의 패키지를 참조하세요. 나는 ragged2e가 들여쓰기를 죽인다는 것을 읽었습니다. \usepackage{tabularx,ragged2e,booktabs,caption}
으로 변경했는데도 \usepackage{tabularx}
Assumption 앞에 들여쓰기가 추가되지 않았습니다.
\documentclass[letterpaper, 12 pt, conference,onecolumn,draftcls]{ieeeconf} %%
\IEEEoverridecommandlockouts % This command is only
% needed if you want to
% use the \thanks command
\overrideIEEEmargins
\usepackage{color}
\usepackage[dvips]{graphicx}
%\usepackage{psfig,subfigure}
\usepackage{epsfig}
\usepackage{graphicx}
%comment below if any problem
%\usepackage[pdftex]{graphicx}
\usepackage{epstopdf}
\usepackage{here}
\usepackage{mathptmx} % assumes new font selection scheme installed
\usepackage{times} % assumes new font selection scheme installed
%\usepackage{lmodern}
\usepackage{bm}
%\usepackage{sansmath}
\usepackage{amssymb}
\usepackage{amsfonts}
%\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{cite}
\usepackage[utf8]{inputenc}
\usepackage{multirow}
\usepackage[T1]{fontenc}
\usepackage{float}
%\usepackage{textcomp}
%\usepackage{txfonts}
\usepackage{subfigure}
\usepackage{setspace}
\usepackage{enumerate}
\usepackage{tabularx,ragged2e,booktabs,caption}
\usepackage[mathscr]{euscript}
\DeclareMathOperator*{\argmax}{arg\,max}
\usepackage{ntheorem}\theoremseparator{.}
\newtheorem{mydef}{Definition}\theoremseparator{.}
\newtheorem{myalgo}{Algorithm}\theoremseparator{.}
\newtheorem{myassum}{Assumption}\theoremseparator{.}
\newtheorem{myprop}{Proposition}\theoremseparator{.}
\newtheorem{mytheo}{Theorem}\theoremseparator{.}
\newtheorem{myproof}{Proof}\theoremseparator{.}
\DeclareMathOperator*{\argmin}{arg\,min}
\newcolumntype{C}[1]{>{\Centering}m{#1}}
\renewcommand\tabularxcolumn[1]{C{#1}}
\begin{document}
\indent\begin{myassum}\label{asum_contro} \rm{The value of $(A,B)$
are known.}
\end{myassum}
\par\begin{myassum}\label{asum_contro} \rm{The value of $(A,B)$ are
known.}
\end{myassum}
\parindent30pt\begin{myassum}\label{asum_contro} \rm{The value of
$(A,B)$ are known.}
\end{myassum}
Please help me add an indent just before Assumption 1. I mean the
assumptions should start as a paragraph.
\end{document}
답변1
패키지 는 이전에 {}` 쌍 과 함께 사용해야 하는 를 ntheorem
제공합니다 .\theoremindent
\ntheorem
\theoremindent\parindent, i.e. without
정리 스타일을 사용하는 것이 더 좋습니다.
\documentclass[letterpaper, 12 pt, conference,onecolumn,draftcls]{IEEEconf} %%
%\IEEEoverridecommandlockouts % This command is only
% needed if you want to
% use the \thanks command
%\overrideIEEEmargins
\usepackage{color}
\usepackage{graphicx}
%comment below if any problem
%\usepackage[pdftex]{graphicx}
\usepackage{here}
\usepackage{mathptmx} % assumes new font selection scheme installed
\usepackage{times} % assumes new font selection scheme installed
%\usepackage{lmodern}
\usepackage{bm}
%\usepackage{sansmath}
\usepackage{amssymb}
\usepackage{amsfonts}
%\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{cite}
\usepackage[utf8]{inputenc}
\usepackage{multirow}
\usepackage[T1]{fontenc}
\usepackage{float}
%\usepackage{textcomp}
%\usepackage{txfonts}
\usepackage{subfigure}
\usepackage{setspace}
\usepackage{enumerate}
\usepackage{tabularx,ragged2e,booktabs,caption}
\usepackage[mathscr]{euscript}
\DeclareMathOperator*{\argmax}{arg\,max}
\usepackage{ntheorem}\theoremseparator{.}
\newtheorem{mydef}{Definition}\theoremseparator{.}
\newtheorem{myalgo}{Algorithm}\theoremseparator{.}
\theoremindent\parindent
\newtheorem{myassum}{Assumption}\theoremseparator{.}
\newtheorem{myprop}{Proposition}\theoremseparator{.}
\newtheorem{mytheo}{Theorem}\theoremseparator{.}
\newtheorem{myproof}{Proof}\theoremseparator{.}
\DeclareMathOperator*{\argmin}{arg\,min}
\newcolumntype{C}[1]{>{\Centering}m{#1}}
\renewcommand\tabularxcolumn[1]{C{#1}}
\begin{document}
\begin{myassum}\label{asum_contro} \textnormal{The value of $(A,B)$
are known.}
\end{myassum}
\begin{myassum}\label{asum_contro} \textnormal{The value of $(A,B)$ are
known.}
\end{myassum}
\begin{myassum}\label{asum_contro} \textnormal{The value of
$(A,B)$ are known.}
\end{myassum}
Please help me add an indent just before Assumption 1. I mean the
assumptions should start as a paragraph.
\end{document}