
Как мне отформатировать следующее в 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}