
次のものを LaTeX でフォーマットするにはどうすればよいでしょうか。
私の現在の LaTeX コードはこれを提供します:
(太字のテキストは今は忘れてください)
私のコードは次のようになります:
\documentclass [a4paper,12pt]{report}
\edef\restoreparindent{\parindent=\the\parindent\relax}
\usepackage{parskip}
\restoreparindent
%This is used throughout the rest of my paper to create a new paragraph by pressing 'enter' and indenting every paragraph%
\begin{document}
\section{Standards}
\textbf{ASTM:}
D9-12: Standard Terminology Relating to Wood and Wood-Based Products
D198-15: Standard Test Methods of Static Tests of Lumber in Structural Sizes
D1101-97a: Standard Test Methods for Integrity of Adhesive Joints in Structural Laminated Wood Products for Exterior Use
D2559-12a: Standard Specification for Adhesives for Bonded Structural Wood Products for Use Under Exterior Exposure Conditions
D3737-18: Standard Practice for Establishing Allowable Properties for Structural Glued Laminated Timber (Glulam)
D4688-14: Standard Test Method for Evaluating Structural Adhesives for Finger Jointing Lumber
D6874-12: Standard Test Methods for Nondestructive Evaluation of Wood-Based Flexural Members Using Transverse Vibration
D7199-07: Standard Practice for Establishing Characteristic Values for Reinforced Glued Laminated Timber (Glulam) Beams Using Mechanics-Based Models
\end{docuemnt}
各行の先頭とセクションの先頭の\usepackage{changepage}
コードで試してみました。\begin{adjustment}{2cm}{}
試してみましたが、間違った場所で\usepackage{tabto}
使用してしまったかもしれません\tab
私は試してみました\quad
おそらく他の選択肢も試したことがあると思いますが、試したオプションをすべて思い出すことはできません。
リストを作成するとうまくいくかもしれませんか? または、各エントリtheorem
を にしますamsthm
。いくつかやらなければならないことがあるので、もっと速い方法はないかと思っています。
答え1
カスタマイズされたリストの場合description
:
\documentclass [a4paper,12pt]{report}
\edef\restoreparindent{\parindent=\the\parindent\relax}
\usepackage{parskip}
\restoreparindent
%This is used throughout the rest of my paper to create a new paragraph by pressing 'enter' and indenting every paragraph%
\usepackage{enumitem}
\setlist[description]{leftmargin=2\parindent,labelindent=\parindent}
\begin{document}
\section{Standards}
\textbf{ASTM:}
\begin{description}
\item[D9-12:] Standard Terminology Relating to Wood and Wood-Based Products
\item[D198-15:] Standard Test Methods of Static Tests of Lumber in Structural Sizes
\item[D1101-97a:] Standard Test Methods for Integrity of Adhesive Joints in Structural Laminated Wood Products for Exterior Use
\item[D2559-12a:] Standard Specification for Adhesives for Bonded Structural Wood Products for Use Under Exterior Exposure Conditions
\item[D3737-18:] Standard Practice for Establishing Allowable Properties for Structural Glued Laminated Timber (Glulam)
\item[D4688-14:] Standard Test Method for Evaluating Structural Adhesives for Finger Jointing Lumber
\item[D6874-12:] Standard Test Methods for Nondestructive Evaluation of Wood-Based Flexural Members Using Transverse Vibration
\item[D7199-07:] Standard Practice for Establishing Characteristic Values for Reinforced Glued Laminated Timber (Glulam) Beams Using Mechanics-Based Models
\end{description}
\end{document}
答え2
adjustwidth
記述環境とパッケージの使用を組み合わせたソリューションlinegoal
:
\documentclass [a4paper,12pt]{report}
\usepackage{enumitem}
\edef\restoreparindent{\parindent=\the\parindent\relax} \usepackage{parskip}
\restoreparindent
\usepackage{changepage}
\usepackage{etoolbox, linegoal}
%This is used throughout the rest of my paper to create a new paragraph by pressing 'enter' and indenting every paragraph%
\begin{document}
\section{Standards}
\textbf{ASTM:}
\begin{adjustwidth}{}{-\dimexpr\parindent + \labelsep}
\begin{description}[labelindent=1.5em]
\item[D9-12:]\parbox[t]{\linegoal}{Standard Terminology Relating to Wood and Wood-Based Products}
\item[D198-15:] \parbox[t]{\linegoal}{Standard Test Methods of Static Tests of Lumber in Structural Sizes}
\item[D1101-97a:]\parbox[t]{\linegoal }{Standard Test Methods for Integrity of Adhesive Joints in Structural
Laminated Wood Products for Exterior Use}
\item[D2559-12a:] \parbox[t]{\linegoal}{Standard Specification for Adhesives for Bonded Structural Wood
Products for Use Under Exterior Exposure Conditions}
\item[D3737-18:] \parbox[t]{\linegoal}{Standard Practice for Establishing Allowable Properties for Structural
Glued Laminated Timber (Glulam)}
\item[D4688-14:] \parbox[t]{\linegoal}{Standard Test Method for Evaluating Structural Adhesives for Finger
Jointing Lumber}
\item[D6874-12:] \parbox[t]{\linegoal}{Standard Test Methods for Nondestructive Evaluation of Wood-Based
Flexural Members Using Transverse Vibration}\null
\item[D7199-07:]\parbox[t]{\linegoal}{Standard Practice for Establishing Characteristic Values for Reinforced
Glued Laminated Timber (Glulam) Beams Using Mechanics-Based Models}
\end{description}
\end{adjustwidth}
\end{document}