📄 studio.tex
字号:
\documentstyle[a4,makeidx,verbatim,texhelp,fancyhea,mysober,mytitle]{report}%\twocolwidtha{4cm}%\input{psbox.tex}\newcommand{\commandref}[2]{\helpref{{\tt $\backslash$#1}}{#2}}%\newcommand{\commandrefn}[2]{\helprefn{{\tt $\backslash$#1}}{#2}\index{#1}}%\newcommand{\commandpageref}[2]{\latexignore{\helprefn{{\tt $\backslash$#1}}{#2}}\latexonly{{\tt $\backslash$#1} {\it page \pageref{#2}}}\index{#1}}%\newcommand{\indexit}[1]{#1\index{#1}}%\newcommand{\inioption}[1]{{\tt #1}\index{#1}}%\parskip=10pt%\parindent=0pt%\title{Manual for OGL Studio}%\author{by Julian Smart}%\makeindex%\begin{document}%\maketitle%\pagestyle{fancyplain}%\bibliographystyle{plain}%\pagenumbering{arabic}%\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}%\setfooter{\thepage}{}{}{}{}{\thepage}%\tableofcontents%\chapter{Welcome to OGL Studio}%\setheader{{\it Welcome}}{}{}{}{}{{\it Welcome}}%\setfooter{\thepage}{}{}{}{}{\thepage}%Welcome to OGL Studio, an extended sample for the Object Graphics Library.For release information, please see the \helpref{Read Me}{readme} section.\chapter{Read Me}\label{readme}%\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%\setfooter{\thepage}{}{}{}{}{\thepage}%\section{Change log}Version 1, February 7th, 1999\begin{itemize}\itemsep=0pt\item First release.\end{itemize}\section{Bugs}There are no known bugs.\begin{comment}\chapter{Getting Started}\label{gettingstarted}%\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%\setfooter{\thepage}{}{}{}{}{\thepage}%\end{comment}\chapter{Working with the diagram window}\label{schedule}%\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%\setfooter{\thepage}{}{}{}{}{\thepage}%This section describes how you work in the diagram window.In addition, you may wish to refer to the following sections:\begin{itemize}\itemsep=0pt\item \helpref{How To}{howto}%\item \helpref{Getting started}{gettingstarted}\item \helpref{Using Menu Commands}{menucommands}\item \helpref{Using Toolbar Commands}{toolbarcommands}\end{itemize}When you first run OGL Studio, there is a menubar, a singletoolbar with commonly-used functionality such as loading andsaving, a project window to the left, and an MDI (Multiple DocumentInterface) area to the right, which will contain documents.\section{Creating a diagram}To create a new diagram, click on "File|New" or the New tool.A blank document and two new toolbars will appear. The firstnew toolbar is the \helpref{diagramming formatting toolbar}{diagramformattingtoolbar}, and containsicons and controls for:\begin{itemize}\itemsep=0pt\item alignment and size cloning;\item arrow toggling;\item point size;\item zoom level.\end{itemize}The second new toolbar is called the \helpref{diagram palette}{diagrampalette} and contains:\begin{itemize}\itemsep=0pt\item a pointer tool used for selecting, moving and sizing objects;\item a text tool used for editing text or creating new text boxes;\item a tool for each of the symbols.\end{itemize}\section{Basic editing}To add a symbol, left-click on the symbol in the diagram palette,and then left-click on the document. The currently selectedtool will revert to the pointer tool, so to add another object,click on the symbol again, then on the document.To draw a line between two objects, right-drag between the twoobjects, starting at the attachment point area you wish to start theline with, and ending at another appropriate attachment pointarea. The initial ordering of the lines may not be correct (linesmay overlap, for example) so to reorder lines on a particularside of a object, select a line, then left-drag the desired end to a newposition (tip: keep within the object perimeter). Left-dragging theline end can also be used to change the attachment point of thatend of the line, to a new side or vertex (depending on the object).To select or deselect a object, left click the object. To selectseveral objects at once, keep the shift key pressed down whenleft-clicking, or left-drag a 'lassoo' around several objects.To delete a object or line, select it and press the Delete key, or use"Edit|Clear", or right-click on the object to show a menu and choosethe "Cut" item.If you are deleting a object which has one ore more linesattached, the lines are deleted prior to the object deletion.Shapes can be rotated by right-clicking and selecting "Rotateclockwise" or "Rotate anticlockwise".Line arrows can be added (pointing in the direction in whichyou created the line) by selecting the line and pressing the"Toggle arrow" tool on the formatting toolbar.\section{Adding text}Select the text tool (on the symbol palette) and left-click ona object. If you click outside a object on the document, you areprompted to add a new free-floating text box.Alternatively, you can select a object and press Return (orselect the "Edit|Edit label" menu item); or right-click andselect "Edit label" from the object menu.Change the point size using the combobox on the formattingtoolbar.\section{Aligning objects}Select several objects and click on an alignment tool onthe formatting toolbar. The alignment will be done withrespect to the first object you select. You can also copythe size of a object to other objects with the "Copy size" tool.\section{Adding segments to lines and straightening them}To make a line have more than one segment, select the line,then press the "New line point" tool. Create as many new control points(and therefore segments) as you like. Then arrange the pointsinto a rough approximation of how they should be laid outhorizontally and vertically. Click on "Straighten lines" totidy up the layout.To delete a line control point, select the line and click on"Cut line point" tool. An arbitrary point will be deleted.\section{Undo/Redo}Every operation can be undone, and then redone, back untilthe time at which you last saved your document. Use"Edit|Undo" and "Edit|Redo"; or the shortcuts Ctrl-Z and Ctrl-Y.\section{Loading and saving files}Load and save files using the main toolbar, or "File|Open...","File|Save", "File|Save As..." menu items.\section{Copy and paste}OGL Studio has a diagram clipboard, into which you can copy selections. You can thenpaste the contents of clipboard into the same or another diagram window.Use "Edit|Copy" (or the toolbar copy button) to copy the selection. Use "Edit|Cut" (or the toolbar cut button) tocopy and then delete the selection. Use "Edit|Paste" (or the toolbar paste button) to copy the selection tothe current diagram window.Under Windows, copy and cutting also copies the selection to the Windows clipboard into metafile (vector)format, and Windows bitmap format. Note that not all Windows applications can accept the vector format.If the application seems to be pasting the wrong format into the document, try using that application's"Edit|Paste Special..." menu item, if one exists.\section{Keyboard shortcuts}The following keyboard shortcuts are available. {\bf Note:} The OGL Studio menus indicate which shortcuts areavailable.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -