
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}