\documentclass[letterpaper,11pt]{texMemo}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[dvipsnames]{xcolor}
\usepackage{indentfirst}
\usepackage{wrapfig}
\memoto{Anna C. Kelley, CEO and the BACH Creative Board of Directors}
\memofrom{Tanner N. Borskey, Project Developer}
\memosubject{Definition Memo: Defining What Solar Powered Traffic Signs Are and What They Are Used For}
\memodate{Thursday, January 10, 2019}
\logo{\includegraphics[width=0.65\textwidth]{bach.jpg}}
\begin{document}
\maketitle
The purpose of this memo is to define "Solar Powered Traffic Signs" so that BACH Creative will understand why solar powered traffic signs are needed, how solar powered traffic lights work, and the different types of solar powered traffic signs available.
\color{cyan}
\section*{Why Solar Powered Traffic Signs Are Needed?}
\subsection*{Traditional Traffic Signs}
\color{black}
Traffic signs can be seen at pedestrian crosswalks, railroad crossings, speed warnings, school zone warnings, etc. Standard traffic signs in urban areas have illumination from surrounding light sources such traffic lights, security lights on buildings, and vehicle headlights. Compared to urban areas, rural area traffic signs often only are illuminated by driver headlights which is not sufficient. Unfortunately these traffic signs are currently the most common style of traffic signs still seen today. They are dependent on surrounding area light sources for illumination, outdated, and often ignored which ultimately increases the dangers of the road.
\begin{wrapfigure}[9]{L}{0.5\textwidth}
\centering
\includegraphics[width=0.5\textwidth]{stat1.png}
\caption{Fatal Crashes by Traffic Control Devices [1]}
\end{wrapfigure}
\color{cyan}
\subsection*{Solar Powered Traffic Signs}
\color{black}
Solar powered traffic signs are the most up to date solution to increase traffic safety. These redesigned traffic signs prove to allow more visibility no matter of location or area. The number of fatal crashes just involving a STOP sign are the second leading result in fatal crashes in both 1999 and 2000 as seen in Figue 1. The inability to see a STOP sign due to lack of illumination are one of the leading reasons why these fatal crashes occur. Solar powered traffic signs would help eliminate a great percentage of fatalities by providing drivers with a bright, continuous flashing signal on the sign resulting in the sign becoming appearance becoming more visible to all drivers on the road. Inventor, David Hubbell states, "There is, therefore, a need to have an illuminated traffic sign that is visible to a driver before the vehicle's headlights hit it without depending on ambient lighting sources for illumination." \cite{bierman2006self}
\color{cyan}
\section*{How Do Solar Powered Traffic Signs Work?}
\color{black}
I NEED THIS SECTION HEADING AND TEXT TO ALIGN LEFT
\bibliographystyle{plain}
\bibliography{biblist}
\end{document}
答案1
以下删除wrapfig
并使用insbox
(insbox
不是 LaTeX2e 包,而是通用代码,因此是\input
)。如果您遇到不再受影响的内容,您可以使用\insboxrestore
(我只是将其\let
作为内部使用insbox
)来结束insbox
当前段落和每个后续段落的效果。要获得带有\section
标题的漂亮输出,需要进行一些手动放置(因此需要宏),并且必须抑制抑制重置下一个段落形状的\vspace
效果(因此需要对)。\section
\begingroup...\endgroup
为了获得的宏\caption
的内部insbox
,必须使用\parbox
(或minipage
)和capt-of
包的(也由包和 KOMA 脚本类\captionof
提供)。caption
要更改插入图像和周围文本的边距,您必须使用类似
\makeatletter
\setlength\@InsertBoxMargin{<length>}% package default is 2mm
\makeatother
请注意,在下文中,我使用,article
因为我的本地机器上没有texMemo
,因此不会搜索它。我还删除了您的\color
,因为它们的使用方式是错误的,但无法提供修复,因为我不知道 的texMemo
内部结构。
\documentclass[letterpaper,11pt]{article}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[dvipsnames]{xcolor}
\usepackage{indentfirst}
\input{insbox}
\usepackage{capt-of}
\makeatletter
\@ifdefinable{\insboxrestore}{\let\insboxrestore\@restore@}
\makeatother
%\memoto{Anna C. Kelley, CEO and the BACH Creative Board of Directors}
%\memofrom{Tanner N. Borskey, Project Developer}
%\memosubject{Definition Memo: Defining What Solar Powered Traffic Signs Are and What They Are Used For}
%\memodate{Thursday, January 10, 2019}
%\logo{\includegraphics[width=0.65\textwidth]{bach.jpg}}
\begin{document}
%\maketitle
The purpose of this memo is to define "Solar Powered Traffic Signs" so that BACH
Creative will understand why solar powered traffic signs are needed, how solar
powered traffic lights work, and the different types of solar powered traffic
signs available.
\section*{Why Solar Powered Traffic Signs Are Needed?}
\subsection*{Traditional Traffic Signs}
Traffic signs can be seen at pedestrian crosswalks, railroad crossings, speed
warnings, school zone warnings, etc. Standard traffic signs in urban areas have
illumination from surrounding light sources such traffic lights, security lights
on buildings, and vehicle headlights. Compared to urban areas, rural area
traffic signs often only are illuminated by driver headlights which is not
sufficient. Unfortunately these traffic signs are currently the most common
style of traffic signs still seen today. They are dependent on surrounding area
light sources for illumination, outdated, and often ignored which ultimately
increases the dangers of the road.
\vspace{-\baselineskip}% move the box a bit up
\InsertBoxL{0}
{%
\parbox[t]{.5\textwidth}
{%
\vspace{2\baselineskip}% move the image a bit down inside the box
\centering
\includegraphics[width=\linewidth]{example-image-duck}
\captionof{figure}{Fatal Crashes by Traffic Control Devices [1]}
}%
}[13]% change this number if the number of short lines is wrong
% group the \subsection so that it doesn't interfere with \InsertBoxL. If you're
% not using `indentfirst` you'll have to suppress the indent in the first
% paragraph manually
\begingroup
\subsection*{Solar Powered Traffic Signs}
\endgroup
Solar powered traffic signs are the most up to date solution to increase traffic
safety. These redesigned traffic signs prove to allow more visibility no matter
of location or area. The number of fatal crashes just involving a STOP sign are
the second leading result in fatal crashes in both 1999 and 2000 as seen in
Figue 1. The inability to see a STOP sign due to lack of illumination are one of
the leading reasons why these fatal crashes occur. Solar powered traffic signs
would help eliminate a great percentage of fatalities by providing drivers with
a bright, continuous flashing signal on the sign resulting in the sign becoming
appearance becoming more visible to all drivers on the road. Inventor, David
Hubbell states, "There is, therefore, a need to have an illuminated traffic sign
that is visible to a driver before the vehicle's headlights hit it without
depending on ambient lighting sources for illumination." \cite{bierman2006self}
\section*{How Do Solar Powered Traffic Signs Work?}
I NEED THIS SECTION HEADING AND TEXT TO ALIGN LEFT
\bibliographystyle{plain}
\bibliography{biblist}
\end{document}