WO2023047846A1 - 数式編集方法、数式編集装置及び数式編集プログラム - Google Patents

数式編集方法、数式編集装置及び数式編集プログラム Download PDF

Info

Publication number
WO2023047846A1
WO2023047846A1 PCT/JP2022/031089 JP2022031089W WO2023047846A1 WO 2023047846 A1 WO2023047846 A1 WO 2023047846A1 JP 2022031089 W JP2022031089 W JP 2022031089W WO 2023047846 A1 WO2023047846 A1 WO 2023047846A1
Authority
WO
WIPO (PCT)
Prior art keywords
operator
formula
range
special
input
Prior art date
Application number
PCT/JP2022/031089
Other languages
English (en)
French (fr)
Inventor
直哉 前田
Original Assignee
カシオ計算機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by カシオ計算機株式会社 filed Critical カシオ計算機株式会社
Publication of WO2023047846A1 publication Critical patent/WO2023047846A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Definitions

  • the present invention relates to a formula editing method, a formula editing device, and a formula editing program.
  • copy-paste In software executed by a personal computer, etc., there is a function called copy-paste that selects and copies characters or character strings and pastes them to desired locations. After pasting, the input cursor usually moves after the pasted character string.
  • the present invention has been made in consideration of the above-described problems, and provides a mathematical formula editing method that can facilitate subsequent editing operations when an operator included in a mathematical formula is copied.
  • An object of the present invention is to provide an apparatus and a formula editing program.
  • a formula editing method specifies a range to be copied from a predetermined formula based on a selection operation by an operator, and an operator is specified from the range to be copied.
  • the input position of the new character to be input into the formula including the copy target range is determined based on the specified operator, and the determined input position is set as the display position of the cursor.
  • FIG. 1 is a diagram showing an example of the configuration of a system including an information processing device 3 according to this embodiment.
  • FIG. 2 is a diagram showing information processing blocks of a control unit in this embodiment.
  • FIG. 3 is a diagram showing an example of an input screen for inputting mathematical expressions in this embodiment.
  • FIG. 4 is a flow chart showing copy processing of a selected range in the formula editing method according to the present embodiment.
  • FIG. 5 is a flow chart showing a selection range copy process in the formula editing method according to the present embodiment.
  • FIG. 6 is a flowchart showing deselection determination processing in copy processing in this embodiment.
  • FIG. 7 is a flowchart showing copy determination processing in copy processing in this embodiment.
  • FIG. 8 is a flowchart showing selection range paste processing in copy determination processing in this embodiment.
  • FIG. 9A and 9B are diagrams for explaining selection ranges for mathematical expressions in the present embodiment.
  • FIG. 9A shows a state in which the operator “+” is tapped
  • FIG. 9B shows a state in which the operator “+” is tapped.
  • " indicates the state in which the operand of " is specified.
  • 10A and 10B are diagrams for explaining a selection range for a mathematical expression in this embodiment, in which (A) shows a state in which the operand "3" is tapped, and (B) shows the tapped operand , indicates the state in which the associated character of is specified.
  • 11A and 11B are diagrams for explaining a selection range for a formula in the present embodiment, in which (A) shows a state in which a selected portion is long-pressed, and (B) shows a state in which a long-press operation is performed.
  • the selection range is expanded.
  • 12A and 12B are diagrams for explaining selection ranges for mathematical expressions in this embodiment.
  • FIG. By being tapped, the special operators " ⁇ " and "dx" and the operands are shown in the specified range.
  • FIG. 13 is a diagram for explaining the selection range for the formula in this embodiment.
  • FIGS. 14A and 14B are diagrams for explaining selection ranges for mathematical formulas in this embodiment.
  • 15A and 15B are diagrams for explaining the range of selection for a mathematical expression in this embodiment.
  • FIG. 15A shows a state in which a range of operands is specified, and FIG.
  • the special operators “ ⁇ ” and “dx” indicate the state in which the range is specified.
  • 16A and 16B are diagrams for explaining the selection range paste processing in this embodiment.
  • FIG. 16A shows a state in which the operator "+” is selected, and This indicates the position of the cursor when pasting.
  • 17A and 17B are diagrams for explaining the selection range paste process in this embodiment.
  • (A) shows a state in which a character string including an operator and an operand is selected, and It indicates the position of the cursor when this character string is pasted.
  • 18A and 18B are diagrams for explaining the selection range paste processing in this embodiment.
  • FIG. 18A shows a state in which the selection range includes only special operators, and FIG.
  • FIG. 19A and 19B are diagrams for explaining the selection range paste processing in this embodiment.
  • FIG. 19A shows a state in which the selection range includes only special operators
  • FIG. It shows the position of the cursor in the closed state.
  • FIG. 20 is a diagram for explaining the selection range paste processing in this embodiment, (A) shows a state where the selection range is a special operator and a parameter, and (B) shows the selection range pasted. (C) shows the position of the cursor in the state where the selection range is pasted when the parameter position is prioritized.
  • 21A and 21B are diagrams for explaining the selection range paste processing in this embodiment.
  • (A) shows a state in which the selection range is a special operator, a parameter, and an operand
  • FIG. 1 is a diagram showing an example of the configuration of a system 100 including an information processing device 3.
  • the system 100 includes a server 1 and an information processing device 3 communicably connected to the server 1 via a network 2 .
  • the server 1 or the information processing device 3 operates as a formula editing device.
  • the server 1 receives data, formulas, and calculation instructions for calculation from the information processing device 3 , calculates data based on the received formulas and calculation instructions, and transmits the calculation results to the information processing device 3 .
  • the network 2 is a communication network that communicably connects the server 1 and the information processing device 3 .
  • Network 2 is, for example, the Internet.
  • the information processing device 3 is a terminal device such as a smartphone, tablet PC (personal computer), or the like.
  • the information processing device 3 includes a processor 31 , a memory 32 , a storage device 33 , an input device 34 , a display device 36 and a communication device 37 as an example of its configuration.
  • Processor 31 , memory 32 , storage device 33 , input device 34 , display device 36 and communication device 37 are each interconnected via bus 38 .
  • the processor 31 reads various programs stored in the storage device 33, develops them in the memory 32, and executes them.
  • the processor 31 can be configured using a processing device such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit).
  • the memory 32 can be configured using a storage element and a storage medium such as RAM (Random Access Memory), volatile or non-volatile semiconductor memory such as flash memory.
  • the storage device 33 is a device that stores various programs executed by the processor 31 and various data to be used by the various programs.
  • the storage device 33 can be configured using, for example, a storage device such as an HDD (Hard disk drive) or an SSD (Solid State Drive).
  • the input device 34 is a device that receives input from the operator.
  • the input device 34 can be configured using, for example, a device capable of touch input such as a tablet and a digitizer.
  • the display device 36 displays various information such as data, mathematical formulas, and calculation instructions.
  • the display device 36 can be configured using a display device such as an LCD (Liquid Crystal Display) or an organic EL (Electroluminescence) monitor. In this embodiment, by placing the input device 34 on the display device 36, it functions as a touch panel that serves as both an input section and a display section.
  • the communication device 37 communicates with the server 1 via the network 2 to transmit and receive various data.
  • the communication device 37 can be composed of various devices having a communication method that can be connected to the network 2, such as wireless LAN and Wi-fi (registered trademark).
  • the control unit 310 By executing the program stored in the storage device 33 by the processor 31 described above, the control unit 310 having the information processing blocks shown in FIG. 2 is realized. As a result, the information processing device 3 operates as a formula editing device, and determines a range of selection according to the character tapped by the operator and the type of tap for the formula displayed on the display screen. , various operations can be performed on the selected range.
  • the control unit 310 includes a determining unit 311, a specifying unit 312, a selection range setting unit 313, a processing unit 314, a display processing unit 315, and a priority setting unit 316 as information processing blocks.
  • the determination unit 311 determines the type of character selected by the operator via the input device 34 or the type of selection operation from among the characters displayed on the screen of the display device 36 .
  • the specifying unit 312 specifies related characters related to the character selected by the operator, among the characters included in the mathematical expression, based on the character type determined by the determining unit 311 . Further, the specifying unit 312 specifies a character to be selected among the characters included in the mathematical expression according to the type of selection operation determined by the determining unit 311 .
  • the selection range setting unit 313 sets the characters selected by the operator and the related characters specified by the specifying unit 312, or the characters specified by the specifying unit 312, as a selection range.
  • the processing unit 314 executes various processes on the selection range set by the selection range setting unit 313 according to instructions input from the input device 34 by the operator.
  • the processing by the processing unit 314 includes a process of copying (selecting a character string) the selection range set by the selection range setting unit 313 and pasting (copying the character string) to an indicated position input from the input device 34. .
  • the display processing unit 315 changes the display contents to be displayed on the display device 36 according to the instruction input from the input device 34, the selection range set in the selection range setting unit 313, and various processes executed by the processing unit 314.
  • the display processing unit 315 displays the cursor position (character input position instruction) at a position suitable for subsequent editing of the mathematical formula.
  • a priority setting section 316 designates a priority position when setting a cursor position (character input position instruction) after pasting the selected range.
  • a priority position may be set in advance in the priority setting unit 316 by initial setting, or the priority position may be changed by an operator's operation on the input device 34, for example.
  • the information processing device 3 displays an input screen for inputting mathematical formulas on the screen of the display device 36 according to instructions from the operator via the input device 34 .
  • An input screen for inputting mathematical expressions can be displayed by, for example, a web browser operating on the screen of the display device 36 .
  • FIG. 3 shows an example of an input screen for inputting formulas.
  • the input screen for entering a formula includes a data display section 361, a data input section 362, and a formula input section 363.
  • the data display section 361 is a display section for displaying various data.
  • the data display section 361 displays, for example, the result of computation performed by the server 1 based on the computation instruction received from the information processing device 3 .
  • the data input unit 362 is an input unit that can input various mathematical formulas such as numbers, operators, arrow keys, and operation instructions.
  • the formula input unit 363 is an input unit that can input formulas. Not only one, but also a plurality of formula input sections 363 can be displayed at the same time.
  • the operator can set, change, add, etc. the values of the parameters included in the formula input to the formula input unit 363. Also, the operator can arbitrarily select part or all of the mathematical formula input to the mathematical formula input section 363 and copy it to another mathematical formula input section 363 . In this case, when the operator selects on the screen of the display device 36 by tapping a character included in the mathematical expression input to the mathematical expression input unit 363, the tapped character is detected by the determination unit 311 shown in FIG. type is determined. Subsequently, the identifying unit 312 illustrated in FIG. 2 identifies related characters related to the tapped character based on the determined character type.
  • the selection range setting unit 313 shown in FIG. 2 selects an appropriate range in the mathematical expression based on the tapped character and related characters.
  • the display processing unit 315 shown in FIG. 2 displays the selected range (hereinafter referred to as the selected range) on the screen of the display device 36 .
  • a tap is a single tap unless specified as a double tap.
  • FIG. 4 and 5 are flowcharts showing the copy processing of the selected range in the formula editing method of this embodiment.
  • FIG. 6 is a flowchart showing deselection determination processing in copy processing in this embodiment.
  • FIG. 7 is a flowchart showing copy determination processing in copy processing in this embodiment.
  • FIG. 8 is a flowchart showing selection range paste processing in copy determination processing in this embodiment.
  • the operator selects a range from the formula input to the formula input section 363 shown in FIG. The processing to be performed will be described.
  • the selection range copy processing is stored in the storage device 33 of the information processing device 3 shown in FIG. 1 as a selection range copy processing program.
  • the information processing apparatus 3 displays the formula input section 363 on the input screen for inputting the formula shown in FIG. 3, it executes the copy processing program for the selection range.
  • the processor 31 of the information processing apparatus 3 shown in FIG. 1 reads the copy processing program of the selected range from the storage device 33, develops it in the memory 32, and executes it.
  • step S101 when the operator taps the formula input to the formula input unit 363 shown in FIG. It is determined whether or not a child has been tapped (step S101).
  • step S101 When the operator has tapped the operator (step S101; YES), the determination unit 311 of the control unit 310 subsequently determines whether or not a draw operation has been performed (step S102).
  • the identifying unit 312 identifies the tapped operator.
  • the selection range setting unit 313 selects the tapped operator as a selection range.
  • the display processing unit 315 reverse-displays the selected range on the screen of the display device 36 (step S104).
  • the selection range setting unit 313 when the operator taps on the screen of the display device 36 with the input device 34 the operator included in the formula shown in FIG. An operator is selected by the selection range setting unit 313 .
  • tap positions are indicated by arrows.
  • the area enclosed by the dotted line is the area tapped by the operator.
  • the color of the selected character and the color of the background of the selected character are displayed in reverse to each other. do.
  • the specified Part 312 identifies the operands of the previously selected operator "+", "6" and "3", as related characters.
  • Selection range setting unit 313 selects the smallest mathematical expression including the selected operator and related characters, ie, "6+3", as the selection range.
  • the selected selection range is highlighted on the screen of the display device 36 by the display processing unit 315 as shown in FIG. 9B (step S106).
  • the operator is tapped the first time to specify the range of only the operator, and then the formula is tapped the second time to tap the first tap.
  • a range can be specified that includes the operands of the operator.
  • the determination unit 311 of the control unit 310 determines that the operand included in the formula input to the formula input unit 363 shown in FIG. 3 has been tapped (step S114; YES).
  • the identifying unit 312 identifies the operator that targets the tapped operand as the related character.
  • the selection range setting unit 313 selects the smallest mathematical expression including the tapped operand and the related character specified by the specifying unit 312 as a selection range.
  • the display processing unit 315 reverse-displays the selected range on the screen of the display device 36 (step S115).
  • the operator uses the input device 34 to tap on the screen of the display device 36 the operand "3" included in the formula shown in FIG. , the tapped operand “3” and the operator “+” targeting this operand “3” are identified as related characters, and the smallest mathematical expression “6+3” including the related character “+” is selected. It is selected by the range setting unit 313 . In this case, as shown in FIG. 10B, the formula "6+3" is determined and displayed.
  • the determination unit 311 determines whether or not the operator has long pressed the operand included in the selection range on the screen of the display device 36 (step S116). If the operand has been pressed for a long time (step S116; YES), the selection range setting unit 313 gradually expands the selection range. The display processing unit 315 reverse-displays the gradually enlarged selection range on the screen of the display device 36 (step S117). If the operand is not long-pressed (step S116; NO), the selection range is not expanded. Next, the determination unit 311 executes the process shown in step S121 of FIG.
  • the determination unit 311 determines whether or not the operator has further pressed the operand included in the selection range on the screen of the display device 36 (step S118). If the operand is held down further (step S118; YES), the selection range is gradually expanded in the same way.
  • the display processing unit 315 reverse-displays the gradually enlarged selection range on the screen of the display device 36 (step S117). If the operand has not been pressed longer (step S118; NO), the selection range is not expanded.
  • the determination unit 311 executes the process shown in step S121 of FIG.
  • step S114 if the operand is not tapped (step S114; NO), the determination unit 311 causes the operator to display the operator and/or the operand in parentheses included in the formula. It is determined whether or not the screen of the device 36 has been double-tapped (step S119). If the operator, the operand, or both in the parentheses included in the formula are double-tapped (step S119; YES), the identifying unit 312 double-tap the operator, the operand, or the operator and the Identify the smallest expression in parentheses that contains both the operator and
  • the selection range setting unit 313 selects the minimum mathematical expression identified by the identification unit 312 as the selection range.
  • the display processing unit 315 reverse-displays the selected range on the screen of the display device 36 (step S120).
  • the determination unit 311 executes the process shown in step S121 of FIG. Also, if the operator, the operand, or both in parentheses included in the formula are not double-tapped (step S119; NO), the processing unit 314 of the control unit 310 returns to step S101 shown in FIG. .
  • step S101; YES After the operator is tapped (step S101; YES), if a draw operation is performed (step S102; YES), the specifying unit 312 of the control unit 310 detects the operator and operand in the draw operation direction. The smallest mathematical expression that contains or is contained within parentheses in the direction in which the draw operation was performed is identified. The selection range setting unit 313 of the control unit 310 selects the minimum mathematical expression identified by the identification unit 312 as the selection range.
  • a range that includes the tapped operator and the operands of the operator is selected.
  • a draw operation is performed after the operand is tapped, the tapped operand, the operator included in the range of the draw operation, and the operand of that operator are included.
  • a range is selected.
  • the determination unit 311 of the control unit 310 determines that the special operator included in the formula input to the formula input unit 363 shown in FIG. 3 has been tapped (step S107; YES).
  • the identifying unit 312 identifies the tapped special operator.
  • the selection range setting unit 313 selects the tapped special operator as a selection range.
  • the display processing unit 315 reverse-displays the selected range on the screen of the display device 36 (step S108).
  • the determination unit 311 determines whether or not the selection range selected in step S108 has been further tapped by the operator on the screen of the display device 36 before the set time has elapsed (step S109). .
  • the specifying unit 312 determines whether the parameter is associated with the special operator selected as the selection range. Specify (step S110; YES).
  • the selection range setting unit 313 selects the tapped special operator and parameter as a selection range.
  • the display processing unit 315 reverse-displays the selected range on the screen of the display device 36 (step S111).
  • the selection range setting unit 313 selects the tapped special operator and the formula including the operand of the special operator as the selection range.
  • the display processing unit 315 reverse-displays the selected range (special operator, operand) on the screen of the display device 36 (step S113).
  • the determination unit 311 determines that the selection range is further displayed on the screen of the display device 36 by the operator before the set time elapses. is tapped (step S112).
  • the identifying unit 312 identifies the range of the formula including the special operator and parameter selected as the selection range, and the operand of the special operator (step S110; YES).
  • the selection range setting unit 313 selects the tapped special operator, parameter, and operand as a selection range.
  • the display processing unit 315 reverse-displays the selected selection range (special operator, parameter, operand) on the screen of the display device 36 (step S113).
  • the operator inputs the special operator “ ⁇ ” (or “dx”) included in the formula shown in FIG.
  • the selection range setting unit 313 selects the tapped special operator “ ⁇ ” and “dx” attached to the special operator.
  • the operator inputs the special operator “ ⁇ ” (or “dx”) accompanied by the parameters contained in the formula shown in FIG. , the selection range setting unit 313 selects the tapped special operator “ ⁇ ” and “dx” associated with the special operator.
  • the selected special operator " ” and “dx”, and the range of parameters associated with the special operator “ ⁇ ” are specified as related characters, and as shown in FIG. A range including is highlighted on the screen of the display device 36 .
  • FIG. 14 shows an example in which a formula including a special operator " ⁇ " accompanied by a parameter different from the special operator " ⁇ " is input to the formula input unit 363.
  • any character of "2x+1” is tapped with respect to a formula including the special operator " ⁇ ", continuous taps (steps S105, S106), draw operation ( Steps S102, S103) or a long press operation (steps S116 to S118) first expands the specified range to "2x+1", and further, as shown in FIG. 15(B), A range is delimited that includes the special operators " ⁇ " and "dx".
  • the determination unit 311 determines whether or not one end of the selected range has been double-tapped.
  • the specifying unit 312 determines the operand at the end opposite to the double-tapped end, the operand Identify the smallest mathematical expression that contains both and operator, the operands that are immediately outside the parentheses on the opposite end, or the smallest mathematical expression that is enclosed in parentheses.
  • the selection range setting unit 313 selects the operand, the smallest mathematical expression, etc. specified by the specifying unit 312 as a selection range.
  • the display processing unit 315 changes the original selection range to the selection range selected by the selection range setting unit 313, and reverse-displays it on the screen of the display device 36 (step S122). If one end of the selected selection range is not double-tapped (step S121; NO), the selection range is not changed.
  • the processing unit 314 of the control unit 310 executes selection state cancellation determination processing (step S123).
  • the selection state cancellation determination process will be described below with reference to the flowchart shown in FIG.
  • the processing unit 314 determines whether or not the operator has performed an operation to cancel the selected state (step S201).
  • This selection state cancellation operation is an operation for canceling the selection state indicated by the selection range. For example, the operator taps a portion other than the selection range selected by the selection range setting unit 313 on the screen of the display device 36, or presses the Delete key included in the data input unit 362 shown in FIG. operation, etc. If an operation to cancel the selection state has been performed (step S201; YES), the processing unit 314 cancels the selection state indicated by the selection range (step S202).
  • step S201 when the selection state cancellation operation is not performed (step S201; NO), the processing unit 314 determines whether or not a preset time has elapsed since the selection state cancellation determination process started (step S203). When the preset time has passed (step S203; YES), the processing unit 314 ends the selection state cancellation determination processing, and returns to the flowchart of the selection range copy processing shown in FIG. If the preset time has not elapsed (step S203; NO), the processing unit 314 returns to step S201 and repeats steps S201 to S203.
  • the processing unit 314 of the control unit 310 determines whether or not the selection state is canceled in the selection state cancellation determination process of step S123 (step S124). If the selected state is canceled (step S124; YES), the processing unit 314 returns to step S101 and repeats the processing from step S101 to step S125.
  • step S125 the processing unit 314 of the control unit 310 executes copy determination processing (step S125).
  • the copy determination process will be described below with reference to the flowchart shown in FIG.
  • the processing unit 314 determines whether or not the selection range selected by the selection range setting unit 313 has been dragged and dropped by the operator to another formula input unit 363 on the screen of the display device 36 (step S301). ).
  • step S301 When the selection range is dragged and dropped to another formula input section 363 (step S301; YES), the processing section 314 performs selection range paste processing (to be described later) for pasting the selection range to another formula input section 363. (step S302). Subsequently, the processing unit 314 cancels the selection range (step S303).
  • the processing unit 314 ends the copy determination process, and returns to the flowchart of the selection range copy process shown in FIGS. 4 and 5 .
  • the processing unit 314 returns to step S101 and repeats the processing from step S101 to step S125.
  • step S301 the processing unit 314 determines whether a preset time has elapsed since the start of the copy determination process. Determine (step S304). When the preset time has passed (step S304; YES), the processing unit 314 cancels the selection range (step S303). Subsequently, the processing unit 314 ends the copy determination process, and returns to the flowchart of the selection range copy process shown in FIGS. 4 and 5 . The processing unit 314 returns to step S101 and repeats the processing from step S101 to step S125. If the preset time has not elapsed (step S304; NO), the processing unit 314 returns to step S301 and repeats the processing from step S301 to step S305.
  • the character tapped on the screen by the operator is The type is discriminated, based on the discriminated character type, a related character related to the tapped character is specified among the plurality of characters, and the selected character and the related character are identified among the plurality of characters. , can be a selection range of selected characters. This allows the operator to easily select an appropriate range of characters in the formula.
  • the processing unit 314 determines the characters in the selection range set to be copied (step S401), and based on the characters in the selection range, determines the cursor position indicating the input position of the characters after pasting the characters in the selection range. (steps S402 to S413). If the formula in the selected range includes an operator or special operator, the processing unit 314 identifies the operator or special operator and determines the cursor position based on the operator or special operator.
  • the processing unit 314 determines the cursor position at the input position of the operand corresponding to the operator.
  • the display processing unit 315 sets the cursor position to the input position of the operand and pastes the characters (operator) in the selection range (step S403).
  • the cursor C is displayed in advance at the input position of the operand of the pasted operator "+". You can enter the characters of the operand immediately.
  • step S404 determines the cursor position immediately after the operator and the operand in the selection range.
  • the display processing unit 315 sets the cursor position to the input position immediately after the operator and operand, and pastes the selected range of characters (operator and operand) (step S405).
  • the cursor C is displayed in advance at the input position immediately after the pasted character string "6+3". , the operand character can be input immediately without changing the position of the cursor C.
  • step S406 determines the cursor position at the input position of the operand corresponding to the special operator.
  • the display processing unit 315 sets the cursor position to the input position of the operand and pastes the characters (special operator) in the selection range (step S407).
  • the cursor position is set between “ ⁇ ” and “dx” because of the special operators " ⁇ " and "dx". Since the input positions of the children are different, set the cursor position to the input position of the operand corresponding to each special operator.
  • step S412 determines the cursor position immediately after the mathematical expression.
  • the display processing unit 315 sets the cursor position to the input position immediately after the mathematical expression, and pastes the characters in the selected range (the mathematical expression including the special operator and the operand) (step S413).
  • the formula Set the cursor position to the position immediately after the and paste the formula in the selection.
  • the cursor C is displayed in advance at the input position immediately after the pasted formula. It is possible to immediately input the operand character without performing an operation to change the position of the cursor C.
  • the range is specified including not only the special operators " ⁇ " and “dx” but also the operand "2x+1", it is often used as it is after pasting the operand "2x+1". Therefore, when a range of formulas is specified, editing operations can be simplified by setting the cursor C at the input position immediately after the pasted formula. and operand (step S412; NO), the processing unit 314 determines the cursor position immediately after the mathematical expression in the same manner as when the range of the mathematical expression including the special operator is specified.
  • the display processing unit 315 sets the cursor position to the input position immediately after the mathematical expression, and pastes the characters in the selected range (the mathematical expression including the operator and the operand) (step S414).
  • step S408 if the characters in the selection range include a special operator and a parameter (step S408; YES), the processing unit 314 changes the cursor position according to the special operator according to the priority position setting in the priority setting unit 316. decide.
  • the cursor position after pasting can be set to either the operand position of the special operator or the parameter position. It is assumed that the priority setting unit 316 has priority set to the position of the operand as a default (step S409; YES).
  • the processing unit 314 determines the cursor position at the operand of the special operator.
  • the display processing unit 315 sets the cursor position to the input position of the operand and pastes the characters (special operator) in the selection range (step S410).
  • step S409 determines the cursor position at the parameter position of the special operator.
  • the display processing unit 315 sets the cursor position to the input position of the parameter of the special operator, and pastes the characters (special operator) in the selection range (step S411).
  • the cursor position is set to the position of the parameter of the special operator " ⁇ ", that is, the position of "1" (or "2") in the selected range, and the Paste the special operators " ⁇ " and "dx".
  • the position of the cursor C after pasting the special operator and the parameters associated with the special operator can be determined according to the priority setting. Therefore, by setting priority in the priority setting section 316 in advance, the operator can set the position of the cursor C after pasting so that the operator can easily edit.
  • step S412 If the characters in the selected range are a mathematical formula including a special operator, a parameter, and an operand (step S412; YES), the processing unit 314 performs the same processing as when the range of the mathematical formula including the special operator is specified. position the cursor immediately after the formula.
  • the display processing unit 315 sets the cursor position to the input position immediately after the mathematical expression, and pastes the characters in the selected range (the mathematical expression including the operator and the operand) (step S413).
  • the characters in the selection range are the special operators " ⁇ ” and “dx", the parameters "1" and “2” associated with the special operator “ ⁇ ”, and the operands "2x+1".
  • the cursor position immediately after the formula, select the special operator " ⁇ ” "dx”, and the parameter "1" associated with the special operator " ⁇ ” Paste “2” and operand "2x+1".
  • a character string to be pasted (calculation The cursor position (character input position indication) can be displayed at a position suitable for subsequent editing of the mathematical expression, depending on the child, special operator, parameter associated with the special operator, etc.).
  • the processes shown in the flowcharts described above are supposed to be executed by the information processing device 3 (the control unit 310), they may be executed by the server 1 as well.
  • the information processing device 3 accepts input from the operator, executes screen display on the display device 36, and performs the above-described processing (selection range copy processing, selection range paste processing, etc.) performed by the server 1. is displayed by the web browser operating on the screen of the display device 36.
  • the input device 34 may be a mouse so that the operator can perform the selection operation performed in the above embodiment.
  • a tap on the touch panel corresponds to a click on the mouse.
  • a double-tap on the touch panel corresponds to a double-click on the mouse.
  • each of the operator's selection operations of tapping, double-tapping, long-pressing, and drawing has been described as individual processing.
  • the processes of tap, double tap, long press, and draw may be exchanged with each other.
  • the processes of tapping and double-tapping may be exchanged with each other
  • the processes of double-tapping and long-pressing may be exchanged with each other, and the like.
  • the server 1 calculates data based on the data for calculation, the formula, and the calculation instruction received from the information processing device 3, and causes the information processing device 3 to display the calculation result.
  • the information processing device 3 alone may be capable of calculating data based on data for calculation, formulas, and calculation instructions, and displaying the calculation result.
  • the color of the selected character and the color of the background of the selected character are displayed in reverse to each other (here, for the sake of convenience, the selection range of the selected character is enclosed by a chain double-dashed line). ) and displayed on the screen of the display device 36 .
  • the selected characters may be displayed in a different color, font, or character form such as italic or bold from those of the non-selected characters.
  • the selection range of the selected characters may not be displayed in reverse on the screen of the display device 36 .
  • each method such as the processing shown in the flow charts
  • a memory card ROM card, RAM card, etc.
  • magnetic disk flexible disk, hard disk, etc.
  • an optical disk CD-ROM, DVD, etc.
  • semiconductor memory or other storage medium for distribution.
  • the computer reads the program stored in the external storage medium, and the operation is controlled by this program, thereby realizing processing similar to the functions described in the embodiments.
  • program data for realizing each method can be transmitted over a network (Internet) in the form of program code, and the program data can be captured from a computer connected to this network and processed in the same manner as in the above-described embodiment. function can also be realized.
  • the present invention is not limited to the embodiments, and can be variously modified in the implementation stage without departing from the gist of the invention.
  • the embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some components are deleted from all the components shown in the embodiments, or some components are combined, the problems described in the column of problems to be solved by the invention can be solved, and the invention If the effect described in the effect column of 1 above can be obtained, a configuration in which this constituent element is deleted or combined can be extracted as an invention.
  • the present invention relates to a formula editing method, and has industrial applicability.

Abstract

本発明の実施形態に係る数式編集方法は、操作者の選択操作に基づき、所定の数式から複写対象範囲を特定し、前記複写対象範囲から演算子が特定された場合には、前記複写対象範囲を含む数式に入力される新たな文字の入力位置を、前記特定された演算子に基づき決定し、決定された入力位置をカーソルの表示位置に設定する。

Description

数式編集方法、数式編集装置及び数式編集プログラム
 本発明は、数式編集方法、数式編集装置及び数式編集プログラムに関する。
 パーソナルコンピュータ等により実行されるソフトウエアにおいて、文字や文字列を選択してコピーし、これを所望の位置にペーストするコピーペーストと呼ばれる機能がある。ペーストした後の入力カーソルは、ペーストした文字列の後ろに移動することが通常である。
 近年、タッチパネルを備えたタブレット、スマートフォン等の電子機器の利用が拡大する中で、タッチパネルで使用することができる数式入力ソフトウエアが提案されている。例えば、特開2011-175400号公報にて開示される関数電卓は、数式をペーストした後の入力カーソルは、ペーストした数式の後ろに位置する。
 しかし、数式の場合は、ペーストした後の数式を編集したい場合が多い。例えば、積分式をペーストした場合は、被積分式を編集する場合が多いと考えられる。このような場合に、入力カーソルが数式の後ろにあると、被積分式を編集するために入力カーソルを被積分式の位置まで戻さなければならない。すなわち、ペーストを利用した数式の編集に入力カーソルの位置を移動させる操作が必要なことが多く、操作が煩雑となり負担が大きかった。
 本発明は、前記のような課題に考慮してなされたもので、数式に含まれる演算子を複写した場合に、その後の編集のための操作を簡便にすることができる数式編集方法、数式編集装置及び数式編集プログラムを提供することを目的とする。
 上記の課題を解決するために、本発明の実施形態に係る数式編集方法は、操作者の選択操作に基づき、所定の数式から複写対象範囲を特定し、前記複写対象範囲から演算子が特定された場合には、前記複写対象範囲を含む数式に入力される新たな文字の入力位置を、前記特定された演算子に基づき決定し、決定された入力位置をカーソルの表示位置に設定する。
 本発明によれば、数式の一部を複写した場合に、その後の編集のための操作を簡便にすることができる。
図1は、本実施形態における情報処理装置3を含むシステムの構成の一例を示す図である。 図2は、本実施形態における制御部の情報処理ブロックを示す図である。 図3は、本実施形態における数式を入力するための入力画面の一例を示す図である。 図4は、本実施形態における本実施形態の数式編集方法における選択範囲のコピー処理を示すフローチャートである。 図5は、本実施形態における本実施形態の数式編集方法における選択範囲のコピー処理を示すフローチャートである。 図6は、本実施形態におけるコピー処理内の選択解除判定処理を示すフローチャートである。 図7は、本実施形態におけるコピー処理内のコピー判定処理を示すフローチャートである。 図8は、本実施形態におけるコピー判定処理内の選択範囲ペースト処理を示すフローチャートである。 図9は、本実施形態における数式に対する選択範囲を説明するための図であって、(A)は演算子「+」がタップされた状態を示し、(B)はタップされた演算子「+」の被演算子が特定された状態を示すものである。 図10は、本実施形態における数式に対する選択範囲を説明するための図であって、(A)は被演算子「3」がタップされた状態を示し、(B)はタップされた被演算子の関連文字が特定された状態を示すものである。 図11は、本実施形態における数式に対する選択範囲を説明するための図であって、(A)は選択されている箇所が長押し操作された状態を示し、(B)は、長押し操作された結果、選択範囲が拡大した状態を示すものである。 図12は、本実施形態における数式に対する選択範囲を説明するための図であり、(A)は特殊演算子「∫」と「dx」とがタップされた状態を示し、(B)は、さらにタップされることにより、特殊演算子「∫」と「dx」と被演算子が範囲指定された状態を示すものである。 図13は、本実施形態における数式に対する選択範囲を説明するための図であり、タップされたことにより(A)は特殊演算子「∫」と「dx」とが指定された状態を示し、(B)は、さらにタップされることにより、特殊演算子「∫」と「dx」とパラメータが範囲指定された状態を示し、(C)は、さらにタップされることにより、特殊演算子「∫」と「dx」とパラメータと被演算子とが範囲指定された状態を示すものである。 図14は、本実施形態における数式に対する選択範囲を説明するための図であり、(A)タップされたことにより特殊演算子「Σ」が範囲指定された状態を示し、(B)は、さらにタップされることにより、特殊演算子「Σ」とパラメータとが範囲指定された状態を示し、(C)は、さらにタップされることにより、特殊演算子「Σ」とパラメータと被演算子とが範囲指定された状態を示すものである。 図15は、本実施形態における数式に対する選択範囲を説明するための図であり、(A)は被演算子の範囲が指定された状態を示し、(B)は、さらに被演算子の前後の特殊演算子「∫」と「dx」が範囲指定された状態を示すものである。 図16は、本実施形態における選択範囲ペースト処理を説明するための図であり、(A)は演算子「+」を選択範囲とした状態を示し、(B)は、演算子「+」をペースト処理した時のカーソルの位置を示すものである。 図17は、本実施形態における選択範囲ペースト処理を説明するための図であり、(A)は、演算子と被演算子を含む文字列を選択範囲とした状態を示し、(B)は、この文字列をペースト処理した時のカーソルの位置を示すものである。 図18は、本実施形態における選択範囲ペースト処理を説明するための図であり、(A)は選択範囲が特殊演算子のみの状態を示し、(B)は、選択範囲の特殊演算子がペーストされた状態におけるカーソルの位置を示すものである。 図19は、本実施形態における選択範囲ペースト処理を説明するための図であり、(A)は選択範囲が特殊演算子のみの状態を示し、(B)は、選択範囲の特殊演算子がペーストされた状態におけるカーソルの位置を示すものである。 図20は、本実施形態における選択範囲ペースト処理を説明するための図であり、(A)は選択範囲が特殊演算子とパラメータである状態を示し、(B)は、選択範囲がペーストされた状態におけるカーソルの位置を示すものであり、(C)は、パラメータの位置が優先設定されている場合の選択範囲がペーストされた状態におけるカーソルの位置を示すものである。 図21は、本実施形態における選択範囲ペースト処理を説明するための図であり、(A)は選択範囲が特殊演算子とパラメータと被演算子である状態を示し、(B)選択範囲がペーストされた状態におけるカーソルの位置を示すものである。
 以下、図面により本発明の実施の形態について説明する。
 本発明の実施の形態に係る情報処理装置3では、表示画面上に表示させた数式に対して、操作者のタップした文字と、タップの種類とに応じて選択の範囲が決定される。図1は、情報処理装置3を含むシステム100の構成の一例を示す図である。システム100は、サーバ1と、サーバ1とネットワーク2を介して通信可能に接続される情報処理装置3とを含む。サーバ1あるいは情報処理装置3は、数式編集装置として動作する。
 サーバ1は、情報処理装置3から演算のためのデータ、数式、及び演算指示を受信し、受信した数式及び演算指示に基づいてデータを演算し、演算結果を情報処理装置3に送信する。ネットワーク2は、サーバ1と情報処理装置3とを通信可能に接続する通信網である。ネットワーク2は、例えば、インターネットである。
 情報処理装置3は、端末装置であって、例えばスマートフォン、タブレットPC(パーソナルコンピュータ)等である。情報処理装置3は、その構成の一例として、プロセッサ31と、メモリ32と、記憶装置33と、入力装置34と、表示装置36と、通信装置37とを含む。プロセッサ31と、メモリ32と、記憶装置33と、入力装置34と、表示装置36と、通信装置37とはそれぞれ、バス38を介して相互に接続されている。
 プロセッサ31は、記憶装置33に記憶された各種プログラムを読み出してメモリ32に展開し、実行する。プロセッサ31は、例えば、CPU(Central Processing Unit)、MPU(Micro Processing Unit)等の処理装置を用いて構成することができる。また、メモリ32は、RAM(Random Access Memory)、フラッシュメモリ等の揮発性または不揮発性の半導体メモリといった記憶素子及び記憶媒体を用いて構成することができる。
 記憶装置33は、プロセッサ31で実行する各種プログラム、各種プログラムで使用するための各種データを記憶する装置である。記憶装置33は、例えば、HDD(Hard disk drive)、SSD(Solid State Drive)等の記憶装置を用いて構成することができる。
 入力装置34は、操作者からの入力を受け付ける装置である。入力装置34は、例えば、タブレット、デジタイザ等のタッチ入力ができる機器を用いて構成することができる。表示装置36は、データ、数式、及び演算指示等の各種情報を表示する。表示装置36は、LCD(Liquid Crystal Display)、有機EL(Electroluminescence)モニタ等の表示装置を用いて構成することができる。本実施の形態においては、入力装置34を表示装置36に載置することにより、入力部と表示部とを兼ねるタッチパネルとして機能するものとする。
 通信装置37は、ネットワーク2を介してサーバ1と通信し、各種データの送受信をする。通信装置37は、例えば、無線LAN、Wi-fi(登録商標)等、ネットワーク2に接続可能な通信方式を備えた各種機器により構成することができる。
 上述のプロセッサ31により、記憶装置33に記憶されたプログラムを実行することにより、図2に示す情報処理ブロックを備える制御部310が実現される。これにより、情報処理装置3は、数式編集装置として動作し、表示画面上に表示させた数式に対して、操作者によりタップされた文字と、タップの種類とに応じて選択の範囲を決定し、選択された範囲に対して各種処理を実行することができる。
 制御部310は、情報処理ブロックとして、判別部311と、特定部312と、選択範囲設定部313と、処理部314と、表示処理部315、優先設定部316とを含む。判別部311は、表示装置36の画面上に表示された文字のうち、入力装置34を介して操作者により選択された文字の種類、または選択操作の種類を判別する。特定部312は、判別部311により判別された文字の種類に基づいて、数式に含まれる文字のうち、操作者により選択された文字と関連する関連文字を特定する。また、特定部312は、判別部311により判別された選択操作の種類に応じて、数式に含まれる文字のうち選択の対象となる文字を特定する。
 選択範囲設定部313は、操作者により選択された文字及び特定部312で特定された関連文字、または、特定部312で特定された文字を、選択範囲として設定する。処理部314は、選択範囲設定部313で設定された選択範囲に対して、操作者により入力装置34から入力された指示に応じて、各種処理を実行する。処理部314による処理には、選択範囲設定部313で設定された選択範囲をコピー(文字列選択)し、入力装置34から入力された指示された位置にペースト(文字列複写)する処理を含む。表示処理部315は、入力装置34から入力された指示、選択範囲設定部313に設定された選択範囲、及び処理部314により実行される各種処理に応じて、表示装置36に表示させる表示内容を切り替える処理を実行する。表示処理部315は、処理部314により数式がペーストされた場合に、その後の数式の編集に好適な位置にカーソル位置(文字入力位置指示)を表示させる。優先設定部316は、選択範囲をペーストした後のカーソル位置(文字入力位置指示)を設定する際の優先位置を指定する。優先設定部316には、初期設定により予め優先位置が設定されていても良いし、例えば操作者により入力装置34に対する操作によって優先位置が変更されても良い。
 情報処理装置3は、入力装置34を介して操作者からの指示に応じて、表示装置36の画面上に数式を入力するための入力画面を表示する。数式を入力するための入力画面は、例えば、表示装置36の画面上で動作するウェブブラウザにより表示することができる。数式を入力するための入力画面の一例を、図3に示す。
 数式を入力するための入力画面は、データ表示部361と、データ入力部362と、数式入力部363とを含む。データ表示部361は、各種データを表示するための表示部である。データ表示部361は、例えば、情報処理装置3から受信した演算指示に基づいてサーバ1が演算した演算結果が表示される。
 データ入力部362は、数字、演算子、矢印キー等の各種数式及び演算指示を入力することのできる入力部である。数式入力部363は、数式を入力することのできる入力部である。数式入力部363は、1つだけではなく、同時に複数表示させることができる。
 操作者は、数式入力部363に入力された数式に含まれるパラメータの値を設定、変更、追加等することができる。また、操作者は、数式入力部363に入力された数式の一部または全部を任意に選択し、他の数式入力部363にコピーすることができる。この場合、操作者が、数式入力部363に入力された数式に含まれる文字をタップすることにより表示装置36の画面上で選択操作すると、図2に示した判別部311により、タップされた文字の種類が判別される。続いて、図2に示した特定部312は、判別された文字の種類に基づいて、タップされた文字に関連する関連文字を特定する。
 図2に示した選択範囲設定部313は、タップされた文字と関連文字とに基づいて、数式における適当な範囲を選択する。図2に示した表示処理部315は、選択された範囲(以下、選択範囲と称する)を、表示装置36の画面上に表示させる。以下の説明では、タップは、ダブルタップと明記していない場合、シングルタップのこととする。
 次に、本実施形態の情報処理装置3における数式編集装置としての動作について説明する。
 図4及び図5は、本実施形態の数式編集方法における選択範囲のコピー処理を示すフローチャートである。図6は、本実施形態におけるコピー処理内の選択解除判定処理を示すフローチャートである。図7は、本実施形態におけるコピー処理内のコピー判定処理を示すフローチャートである。図8は、本実施形態におけるコピー判定処理内の選択範囲ペースト処理を示すフローチャートである。
 選択範囲のコピー処理では、操作者が図3に示した数式入力部363に入力された数式に対して、所定の選択方法によって範囲を選択することでコピーし、他の数式入力部363にペーストする処理について説明する。
 選択範囲のコピー処理は、選択範囲のコピー処理プログラムとして、図1に示した情報処理装置3の記憶装置33に記憶されている。情報処理装置3は、図3に示した数式を入力するための入力画面において、数式入力部363を表示させると、選択範囲のコピー処理プログラムを実行する。具体的には、図1に示した情報処理装置3のプロセッサ31が、記憶装置33から選択範囲のコピー処理プログラムを読み出してメモリ32に展開し、実行する。
 まず、図3に示した数式入力部363に入力された数式が、操作者により表示装置36の画面上でタップされると、制御部310の判別部311は、操作者により数式に含まれる演算子がタップされたか否かを判定する(ステップS101)。演算子が、操作者によりタップされた場合(ステップS101;YES)、制御部310の判別部311は、続いてドロー操作が行われたか否かを判定する(ステップS102)。
 ドロー操作が行われていない場合(ステップS102;NO)、特定部312はタップされた演算子を特定する。選択範囲設定部313は、タップされた演算子を選択範囲として選択する。表示処理部315は、選択された選択範囲を表示装置36の画面上に反転表示させる(ステップS104)。
 例えば、操作者が、数式入力部363に入力された図9(A)に示す数式に含まれる演算子を、入力装置34により表示装置36の画面上でタップすると、それに応じて、タップされた演算子が、選択範囲設定部313により選択される。ここで、以下では、タップ位置は矢印で表示する。また、点線で囲われた範囲を操作者によりタップされた範囲とする。選択範囲設定部313により選択された選択範囲は、選択された文字の色と選択された文字の背景の色とが互いに反転表示となるが、ここでは、便宜上、二点鎖線で囲われるものとする。
 この場合、図9(A)に示すように、判別部311により演算子「+」がタップされたものと判別されると、演算子「+」が反転表示される。ここで、設定された時間が経過した場合、演算子「+」が選択範囲となる。
 設定された時間が経過する前に、さらに操作者が、図9(A)に示す数式を、入力装置34により表示装置36の画面上でタップすると(ステップS105;YES)、それに応じて、特定部312は先に選択済みの演算子「+」の被演算子である「6」及び「3」を関連文字として特定する。選択範囲設定部313は、選択された演算子と関連文字とを含む最小の数式、すなわち「6+3」を選択範囲として選択する。選択された選択範囲は、表示処理部315により、図9(B)に示すように、表示装置36の画面上に反転表示される(ステップS106)。
 すなわち、演算子を含む数式に対して、1回目に演算子に対してタップすることで演算子のみを範囲指定し、続けて2回目に数式に対してタップすることにより、1回目にタップした演算子の被演算子までを含む範囲を範囲指定することができる。次いで、判別部311は、ステップS121に示す処理を実行する。
 次に、数式入力部363に入力された数式の被演算子がタップされた場合について説明する。
 この場合、制御部310の判別部311は、図3に示した数式入力部363に入力された数式に含まれる被演算子がタップされたと判定する(ステップS114;YES)。
 この場合、特定部312は、タップされた被演算子を対象とする演算子を関連文字として特定する。選択範囲設定部313は、タップされた被演算子と特定部312に特定された関連文字とを含む最小の数式を、選択範囲として選択する。表示処理部315は、選択された選択範囲を表示装置36の画面上に反転表示させる(ステップS115)。
 例えば、操作者が、数式入力部363に入力された図10(A)に示す数式に含まれる被演算子「3」を、入力装置34により表示装置36の画面上でタップすると、それに応じて、タップされた被演算子「3」と、この被演算子「3」を対象とする演算子「+」を関連文字として特定し、関連文字「+」を含む最小の数式「6+3」が選択範囲設定部313により選択される。この場合、図10(B)に示すように、数式「6+3」が判定表示される。
 続いて、判別部311は、操作者により表示装置36の画面上で、選択範囲に含まれる被演算子が長押しされているか否かを判定する(ステップS116)。被演算子が長押しされている場合(ステップS116;YES)、選択範囲設定部313は、選択範囲を徐々に拡大する。表示処理部315は、徐々に拡大される選択範囲を、表示装置36の画面上に反転表示させる(ステップS117)。被演算子が長押しされていない場合(ステップS116;NO)、選択範囲は拡大されない。次いで、判別部311は、図4のステップS121に示す処理を実行する。
 例えば、図11(A)に示すように、選択されている「6+3」を長押しすると、選択範囲が、「6+3」を対象とする演算子「+」と、この演算子が対象とする「6+3」以外の被演算子である「5」と含む数式、すなわち「(6+3)+5」に、拡大される。これにより、図11(B)に示すように、選択されている「(6+3)+5」が反転表示される。
 続いて、判別部311は、操作者により表示装置36の画面上で、選択範囲に含まれる被演算子がさらに長押しされているか否かを判定する(ステップS118)。被演算子がさらに長押しされている場合(ステップS118;YES)、同様にして選択範囲を徐々に拡大する。表示処理部315は、徐々に拡大された選択範囲を、表示装置36の画面上に反転表示させる(ステップS117)。被演算子がさらに長押しされていない場合(ステップS118;NO)、選択範囲は拡大されない。次いで、判別部311は、図4のステップS121に示す処理を実行する。
 また、ステップS114において、被演算子がタップされていない場合(ステップS114;NO)、判別部311は、数式に含まれるカッコ内の演算子、被演算子、またはその両方を、操作者により表示装置36の画面上でダブルタップされたか否かを判定する(ステップS119)。数式に含まれるカッコ内の演算子、被演算子、または両方をダブルタップされた場合(ステップS119;YES)、特定部312は、ダブルタップされた演算子、被演算子、または演算子と被演算子との両方を含むカッコ内の最小の数式を特定する。
 選択範囲設定部313は、特定部312が特定した最小の数式を、選択範囲として選択する。表示処理部315は、選択された選択範囲を表示装置36の画面上に反転表示させる(ステップS120)。次いで、判別部311は、図4のステップS121に示す処理を実行する。また、数式に含まれるカッコ内の演算子、被演算子、または両方をダブルタップされていない場合(ステップS119;NO)、制御部310の処理部314は、図4に示したステップS101に戻る。
 演算子がタップされた後(ステップS101;YES)、ドロー操作が行われた場合(ステップS102;YES)、制御部310の特定部312により、ドロー操作された方向にある演算子及び被演算子を含む最小の数式、または、ドロー操作が行われた方向にあるカッコ内に含まれる最小の数式が特定される。制御部310の選択範囲設定部313は、特定部312により特定された最小の数式を、選択範囲として選択する。
 例えば、演算子がタップされ、その後、数式に対してドロー操作が行なわれた場合、タップされた演算子と、演算子の被演算子を含む範囲が選択される。なお、被演算子がタップされた後、ドロー操作が行われた場合には、タップされた被演算子と、ドロー操作された範囲に含まれる演算子と、その演算子の被演算子を含む範囲が選択される。
 次に、数式入力部363に入力された数式の特殊演算子がタップされた場合について説明する。
 この場合、制御部310の判別部311は、図3に示した数式入力部363に入力された数式に含まれる特殊演算子がタップされたと判定する(ステップS107;YES)。
 特殊演算子が操作者に入力装置34の画面上でタップされた場合(ステップS107;YES)、特定部312は、タップされた特殊演算子を特定する。続いて、選択範囲設定部313は、タップされた特殊演算子を選択範囲として選択する。表示処理部315は、選択された選択範囲を表示装置36の画面上に反転表示させる(ステップS108)。
 続いて、判別部311は、ステップS108で選択された選択範囲が、設定された時間が経過する前に、さらに操作者により表示装置36の画面上でタップされたか否か判定する(ステップS109)。
 選択範囲がタップされた場合(ステップS109;YES)、特定部312は、選択範囲として選択した特殊演算子にパラメータに付随するか判定し、パラメータが付随する場合に特殊演算子とパラメータの範囲を特定する(ステップS110;YES)。選択範囲設定部313は、タップされた特殊演算子とパラメータを選択範囲として選択する。表示処理部315は、選択された選択範囲を表示装置36の画面上に反転表示させる(ステップS111)。
 なお、特殊演算子にパラメータが付随しない場合(ステップS110;NO)、選択範囲設定部313は、タップされた特殊演算子と、特殊演算子の被演算子を含む数式を選択範囲として選択する。表示処理部315は、選択された選択範囲(特殊演算子、被演算子)を表示装置36の画面上に反転表示させる(ステップS113)。
 選択範囲として選択した特殊演算子とパラメータを選択範囲として選択した場合、続いて、判別部311は、選択範囲が、設定された時間が経過する前に、さらに操作者により表示装置36の画面上でタップされたか否か判定する(ステップS112)。
 選択範囲がタップされた場合(ステップS112;YES)、特定部312は、選択範囲として選択した特殊演算子とパラメータ、さらに特殊演算子の被演算子を含む数式の範囲を特定する(ステップS110;YES)。選択範囲設定部313は、タップされた特殊演算子、パラメータ及び被演算子を選択範囲として選択する。表示処理部315は、選択された選択範囲(特殊演算子、パラメータ、被演算子)を表示装置36の画面上に反転表示させる(ステップS113)。
 例えば、操作者が、数式入力部363に入力された図12(A)に示す数式に含まれる特殊演算子「∫」(あるいは「dx」)を、入力装置34により表示装置36の画面上でタップすると、それに応じて、タップされた特殊演算子「∫」と特殊演算子に付随する「dx」が、選択範囲設定部313により選択される。
 設定された時間が経過する前に、さらに操作者が、図12(A)に示す数式を、入力装置34により表示装置36の画面上でタップすると、特殊演算子「∫」に付随するパラメータがないため、それに応じて、選択済みの特殊演算子「∫」と「dx」の被演算子である「2x+1」が関連文字として特定され、図12(B)に示すように、特殊演算子「∫」と「dx」、被演算子「2x+1」を含む範囲が表示装置36の画面上に反転表示される。
 すなわち、パラメータが付随しない特殊演算子を含む数式に対して、1回目に特殊演算子に対してタップすることで特殊演算子のみを範囲指定し、続けて2回目に数式に対してタップすることにより、1回目にタップした特殊演算子の被演算子までを含む範囲を範囲指定することができる。
 次に、特殊演算子にパラメータが付随する場合について説明する。
 例えば、操作者が、数式入力部363に入力された図13(A)に示す数式に含まれるパラメータが付随する特殊演算子「∫」(あるいは「dx」)を、入力装置34により表示装置36の画面上でタップすると、それに応じて、タップされた特殊演算子「∫」と特殊演算子に付随する「dx」が、選択範囲設定部313により選択される。
 設定された時間が経過する前に、さらに操作者が、図13(A)に示す数式を、入力装置34により表示装置36の画面上でタップすると、それに応じて、選択済みの特殊演算子「∫」と「dx」に、さらに特殊演算子「∫」に付随するパラメータの範囲が関連文字として特定され、図13(B)に示すように、特殊演算子「∫」と「dx」、パラメータを含む範囲が表示装置36の画面上に反転表示される。
 設定された時間が経過する前に、さらに操作者が、図13(B)に示す数式を、入力装置34により表示装置36の画面上でタップすると、それに応じて、選択済みの特殊演算子「∫」と「dx」、特殊演算子「∫」に付随するパラメータに、さらに特殊演算子「∫」と「dx」の被演算子である「2x+1」が関連文字として特定され、図13(C)に示すように、特殊演算子「∫」と「dx」、パラメータ、被演算子「2x+1」を含む範囲が表示装置36の画面上に反転表示される。
 すなわち、パラメータが付随する特殊演算子を含む数式に対して、1回目に特殊演算子に対してタップすることで特殊演算子のみを範囲指定し、続けて2回目に数式に対してタップすることにより、特殊演算子とパラメータを含む範囲を範囲指定し、続けて3回目に数式に対してタップすることにより、特殊演算子の被演算子までを含む範囲を範囲指定することができる。
 図14には、特殊演算子「∫」とは異なる別のパラメータが付随する特殊演算子「Σ」を含む数式が数式入力部363に入力された例を示す。
 この場合、特殊演算子「Σ」をタップすると、特殊演算子「Σ」が範囲指定され、図14(A)に示すように、特殊演算子「Σ」が反転表示される。さらに、数式をタップすると、特殊演算子「Σ」のパラメータを含む範囲が範囲指定され、図14(B)に示すように、特殊演算子「Σ」とパラメータを含む範囲が反転表示される。さらに、数式をタップすると、特殊演算子「Σ」の被演算子「2x」を含む範囲が範囲指定され、図14(C)に示すように、特殊演算子「Σ」、パラメータ、被演算子「2x」を含む範囲が反転表示される。
 なお、前述した説明では、特殊演算子を含む数式に対して、1回目に特殊演算子に対してタップした場合について説明しているが、特殊演算子を含む数式の演算子または被演算子に対して1回目にタップした場合には(ステップS101,S114;YES)、演算子または被演算子を含む範囲が先に範囲指定される。
 例えば、図15(A)に示すように、特殊演算子「∫」を含む数式に対して、「2x+1」の何れかの文字をタップし、連続したタップ(ステップS105,S106)、ドロー操作(ステップS102,S103)、あるいは長押し操作(ステップS116~S118)がされた場合には、先に「2x+1」に対して範囲指定の範囲が拡張され、さらに図15(B)に示すように、特殊演算子「∫」と「dx」を含む範囲が範囲指定される。
 なお、前述した説明では、特殊演算子として「∫」、「Σ」を例にしているが、これに限らず、特殊演算子として「log」、「lim」、「sin」、「ln」等の他の既存の特殊演算子について、前述と同様にして選択範囲を設定することができる。
 こうして、選択範囲が反転表示された状態において、図4のステップS121では、判別部311は、選択された状態にある選択範囲の一端がダブルタップされたか否かを判定する。選択された状態にある選択範囲の一端がダブルタップされた場合(ステップS121;YES)、特定部312は、ダブルタップされた端部とは反対側の端部にある被演算子、被演算子と演算子との両方を含む最小の数式、反対側の端部にあるカッコの直ぐ外にある被演算子、または、カッコに囲まれた最小の数式を特定する。選択範囲設定部313は、特定部312が特定した被演算子、最小の数式等を選択範囲として選択する。
 表示処理部315は、元の選択範囲から選択範囲設定部313により選択された選択範囲に変更し、表示装置36の画面上に反転表示させる(ステップS122)。また、選択された選択範囲の一端がダブルタップされていない場合(ステップS121;NO)、選択範囲を変更しない。
 続いて制御部310の処理部314は、選択状態解除判定処理を実行する(ステップS123)。選択状態解除判定処理については、図6に示すフローチャートを参照しつつ、以下に説明する。処理部314は、操作者による選択状態の解除操作が行われたか否かを判定する(ステップS201)。この選択状態の解除操作は、選択範囲で示される選択状態を解除するための操作である。例えば、操作者により表示装置36の画面上で選択範囲設定部313により選択された選択範囲ではない部分がタップされるタップ操作、図3に示したデータ入力部362に含まれるDeleteキーが押下される操作等である。選択状態の解除操作が行われた場合(ステップS201;YES)、処理部314は選択範囲で示される選択状態を解除する(ステップS202)。
 また、選択状態の解除操作が行われていない場合(ステップS201;NO)、処理部314は、選択状態解除判定処理を開始してから予め設定された時間が経過したか否かを判定する(ステップS203)。予め設定された時間が経過した場合(ステップS203;YES)、処理部314は選択状態解除判定処理を終了し、図4に示した選択範囲のコピー処理のフローチャートに戻る。また、予め設定された時間が経過していない場合(ステップS203;NO)、処理部314はステップS201に戻り、ステップS201からステップS203を繰り返す。
 制御部310の処理部314は、ステップS123の選択状態解除判定処理で、選択状態が解除されたか否かを判定する(ステップS124)。選択状態が解除された場合(ステップS124;YES)、処理部314はステップS101に戻り、ステップS101からステップS125の処理をくり返す。
 また、選択状態が解除されていない場合(ステップS124;NO)、制御部310の処理部314は、コピー判定処理を実行する(ステップS125)。コピー判定処理については、図7に示すフローチャートを参照しつつ、以下に説明する。処理部314は、選択範囲設定部313により選択された選択範囲が、操作者により表示装置36の画面上で他の数式入力部363にドラッグ・アンド・ドロップされたか否かを判定する(ステップS301)。
 選択範囲が他の数式入力部363にドラッグ・アンド・ドロップされた場合(ステップS301;YES)、処理部314は、選択範囲を他の数式入力部363にペーストする選択範囲ペースト処理(後述する)を実行する(ステップS302)。続いて、処理部314は、選択範囲を解除する(ステップS303)。処理部314は、コピー判定処理を終了し、図4、図5に示した選択範囲のコピー処理のフローチャートに戻る。処理部314は、ステップS101に戻り、ステップS101からステップS125の処理をくり返す。
 選択範囲が他の数式入力部363にドラッグ・アンド・ドロップされていない場合(ステップS301;NO)、処理部314は、コピー判定処理を開始してから予め設定された時間が経過したか否か判定する(ステップS304)。予め設定された時間が経過した場合(ステップS304;YES)、処理部314は、選択範囲を解除する(ステップS303)。続いて、処理部314は、コピー判定処理を終了し、図4、図5に示した選択範囲のコピー処理のフローチャートに戻る。処理部314は、ステップS101に戻り、ステップS101からステップS125の処理をくり返す。また、予め設定された時間が経過していない場合(ステップS304;NO)、処理部314は、ステップS301に戻り、ステップS301からステップS305の処理をくり返す。
 以上のように、本実施の形態に係る情報処理装置3によれば、表示装置36の画面上に表示させた数式に含まれる複数の文字のうち、操作者により画面上でタップされた文字の種類を判別し、判別された文字の種類に基づいて、複数の文字のうちタップされた文字と関連のある関連文字を特定し、複数の文字のうち、選択操作された文字と関連文字とを、選択された文字の選択範囲とすることができる。これにより、数式における文字の適当な範囲の選択を、操作者に簡便に行わせることができる。
 次に、選択範囲ペースト処理について、図8に示すフローチャートを参照しつつ説明する。
 処理部314は、コピー対象として設定された選択範囲の文字を判別し(ステップS401)、選択範囲の文字に基づき、選択範囲の文字をペーストした後の文字の入力位置を指示するカーソル位置を決定する(ステップS402~S413)。処理部314は、選択範囲の数式に演算子あるいは特殊演算子を含む場合、演算子あるいは特殊演算子を特定して、演算子あるいは特殊演算子に基づいてカーソル位置を決定する。
 まず、選択範囲の文字が演算子のみの場合(ステップS402;YES)、処理部314は、演算子に応じた被演算子の入力位置にカーソル位置を決定する。表示処理部315は、被演算子の入力位置にカーソル位置を設定して、選択範囲の文字(演算子)をペーストする(ステップS403)。
 例えば、図16(A)に示すように、選択範囲の文字が演算子「+」のみの場合、図16(B)に示すように、演算子「+」の直前位置にカーソル位置を設定して、選択範囲の演算子「+」をペーストする。
 従って、演算子「+」をペーストした後、ペーストした演算子「+」の被演算子の入力位置に予めカーソルCが表示されているので、カーソルCの位置を変更する操作をすることなく、直ちに被演算子の文字を入力することができる。
 次に、選択範囲の文字が演算子と被演算子の場合(ステップS404;YES)、処理部314は、選択範囲の演算子と被演算子の直後にカーソル位置を決定する。表示処理部315は、演算子と被演算子の直後の入力位置にカーソル位置を設定して、選択範囲の文字(演算子と被演算子)をペーストする(ステップS405)。
 例えば、図17(A)に示すように、選択範囲の文字が演算子と被演算子を含む文字列「6+3」の場合、図17(B)に示すように、文字列「6+3」の直後位置にカーソル位置を設定して、選択範囲の文字列「6+3」をペーストする。
 従って、文字列「6+3」をペーストした後、ペーストした文字列「6+3」の直後の入力位置に予めカーソルCが表示されているので、文字列「6+3」に続いて文字列を入力するために、カーソルCの位置を変更する操作をすることなく、直ちに被演算子の文字を入力することができる。
 次に、選択範囲の文字が特殊演算子のみの場合(ステップS406;YES)、処理部314は、特殊演算子に応じた被演算子の入力位置にカーソル位置を決定する。表示処理部315は、被演算子の入力位置にカーソル位置を設定して、選択範囲の文字(特殊演算子)をペーストする(ステップS407)。
 例えば、図18(A)に示すように、選択範囲の文字が特殊演算子「∫」「dx」のみの場合、図18(B)に示すように、特殊演算子「∫」の被演算子の入力位置、すなわち「∫」と「dx」の間にカーソル位置を設定して、選択範囲の特殊演算子「∫」「dx」をペーストする。
 従って、特殊演算子「∫」「dx」をペーストした後、ペーストした特殊演算子「∫」「dx」の被演算子の入力位置に予めカーソルCが表示されているので、カーソルCの位置を変更する操作をすることなく、直ちに被演算子の文字を入力することができる。
 なお、図18に示す例では、特殊演算子「∫」「dx」の例のため「∫」と「dx」の間にカーソル位置を設定しているが、その他の特殊演算子によって、被演算子の入力位置が異なるため、それぞれの特殊演算子に対応する被演算子の入力位置にカーソル位置を設定する。
 次に、選択範囲の文字が特殊演算子と被演算子を含む数式の場合(ステップS412;YES)、処理部314は、数式の直後にカーソル位置を決定する。表示処理部315は、数式の直後の入力位置にカーソル位置を設定して、選択範囲の文字(特殊演算子と被演算子を含む数式)をペーストする(ステップS413)。
 例えば、図19(A)に示すように、選択範囲の文字が特殊演算子「∫」「dx」と被演算子「2x+1」を含む数式の場合、図19(B)に示すように、数式の直後位置にカーソル位置を設定して、選択範囲の数式をペーストする。
 従って、特殊演算子と被演算子を含む数式をペーストした後、ペーストした数式の直後の入力位置に予めカーソルCが表示されているので、ペーストされた数式に続いて数式を入力するために、カーソルCの位置を変更する操作をすることなく、直ちに被演算子の文字を入力することができる。特殊演算子「∫」「dx」だけでなく被演算子「2x+1」を含めて範囲指定されている場合には、被演算子「2x+1」をペーストした後に、そのまま使用される場合が多い。従って、数式が範囲指定された場合には、ペーストした数式の直後の入力位置にカーソルCを設定することで、編集のための操作を簡便にすることができる
 なお、選択範囲の文字が演算子と被演算子を含む数式の場合(ステップS412;NO)、処理部314は、前述した特殊演算子を含む数式が範囲指定された場合と同様にして数式の直後にカーソル位置を決定する。表示処理部315は、数式の直後の入力位置にカーソル位置を設定して、選択範囲の文字(演算子と被演算子を含む数式)をペーストする(ステップS414)。
 次に、選択範囲の文字が特殊演算子とパラメータを含む場合(ステップS408;YES)、処理部314は、優先設定部316における優先位置の設定に応じて、特殊演算子に応じたカーソル位置を決定する。
 例えば、選択範囲が特殊演算子とパラメータを含む場合、ペースト後のカーソル位置として、特殊演算子の被演算子の位置とパラメータの位置の何れかに設定可能とする。優先設定部316にはデフォルトとして被演算子の位置が優先設定されているものとする(ステップS409;YES)。
 この場合、処理部314は、特殊演算子の被演算子の位置にカーソル位置を決定する。表示処理部315は、被演算子の入力位置にカーソル位置を設定して、選択範囲の文字(特殊演算子)をペーストする(ステップS410)。
 例えば、図20(A)に示すように、選択範囲が特殊演算子「∫」「dx」と特殊演算子「∫」に付随するパラメータ「1」「2」の場合、図20(B)に示すように、特殊演算子「∫」の被演算子の入力位置、すなわち「∫」と「dx」の間にカーソル位置を設定して、選択範囲の特殊演算子「∫」「dx」、特殊演算子「∫」に付随するパラメータ「1」「2」をペーストする。
 一方、優先設定部316にパラメータの位置が優先設定されている場合(ステップS409;NO)、処理部314は、特殊演算子のパラメータの位置にカーソル位置を決定する。表示処理部315は、特殊演算子のパラメータの入力位置にカーソル位置を設定して、選択範囲の文字(特殊演算子)をペーストする(ステップS411)。
 この場合、図20(C)に示すように、特殊演算子「∫」のパラメータの位置、すなわち選択範囲の「1」(あるいは「2」)の位置にカーソル位置を設定して、選択範囲の特殊演算子「∫」「dx」をペーストする。
 なお、図20(C)では、特殊演算子「∫」に付随するパラメータ「1」「2」を表示していないが、パラメータ「1」「2」を含めてペースト(表示)し、「1」の位置にカーソルCを設定しても良い。
 こうして、特殊演算子と、特殊演算子に付随するパラメータをペーストした後のカーソルCの位置を、優先設定に応じて決定することができる。従って、操作者が予め優先設定部316に対して優先設定をすることで、操作者にとって編集が簡便となるように、ペーストした後のカーソルCの位置を設定することができる。
 なお、選択範囲の文字が特殊演算子とパラメータと被演算子を含む数式の場合(ステップS412;YES)、処理部314は、前述した特殊演算子を含む数式が範囲指定された場合と同様にして数式の直後にカーソル位置を決定する。表示処理部315は、数式の直後の入力位置にカーソル位置を設定して、選択範囲の文字(演算子と被演算子を含む数式)をペーストする(ステップS413)。
 例えば、図21(A)に示すように、選択範囲の文字が特殊演算子「∫」「dx」と特殊演算子「∫」に付随するパラメータ「1」「2」及び被演算子「2x+1」の場合、図21(B)に示すように、数式の直後にカーソル位置を設定して、選択範囲の特殊演算子「∫」「dx」、特殊演算子「∫」に付随するパラメータ「1」「2」及び被演算子「2x+1」をペーストする。
 以上のように、本実施の形態に係る情報処理装置3によれば、表示装置36の画面上に表示させた数式に選択範囲を設定し、これをペーストする際に、ペーストする文字列(演算子、特殊演算子、特殊演算子に付随するパラメータ等)に応じて、その後の数式の編集に好適な位置にカーソル位置(文字入力位置指示)を表示させることができる。これにより、ペースト後の編集のための操作を簡便にすることができる。
 なお、前述した各フローチャートに示す処理は、情報処理装置3(制御部310)において実行されるとしているが、サーバ1において実行されても良い。この場合、情報処理装置3は、操作者からの入力の受け付けと、表示装置36における画面表示を実行し、サーバ1において実行される前述した処理(選択範囲のコピー処理、選択範囲ペースト処理等)に応じた処理結果を、表示装置36の画面上で動作するウェブブラウザにより表示する。
 上記実施の形態では、選択された文字列を複写した後に、元の文字列を残すいわゆるコピー動作により説明をしたが、選択した文字列を複写後に残さないいわゆるカット動作であっても構わないことはもちろんである。
 また、上記実施の形態では、図1に示した情報処理装置3の入力装置34を表示装置36に載置することにより、入力部と表示部とを兼ねるタッチパネルとして機能するものとした。これに限らず、入力装置34をマウスとして、上記実施の形態で行われた操作者による選択操作を行えるようにしてもよい。この場合、タッチパネルにおけるタップは、マウスにおけるクリックに相当する。また、タッチパネルにおけるダブルタップは、マウスにおけるダブルクリックに相当する。
 また、上記実施の形態では、操作者による選択操作であるタップ、ダブルタップ、長押し、ドローそれぞれについて、個別の処理として説明した。これに限らず、タップ、ダブルタップ、長押し、ドローそれぞれの処理を、互いに入れ換えてもよい。例えば、タップとダブルタップの処理を互いに入れ換える、ダブルタップと長押しの処理を互いに入れ換える等してもよい。
 また、上記実施の形態では、サーバ1が、情報処理装置3から受信した演算のためのデータ、数式、及び演算指示に基づいてデータを演算し、演算結果を情報処理装置3に表示させるものとした。これに限らず、情報処理装置3単体で、演算のためのデータ、数式、及び演算指示に基づいてデータを演算し、演算結果を表示できるものとしてもよい。
 また、上記実施の形態では、選択された文字の色と選択された文字の背景の色とが互いに反転表示し(ここでは、便宜上、選択された文字の選択範囲を二点鎖線で囲うものとした)、表示装置36の画面上に表示させるものとした。これに限らず、選択された文字を、選択されていない文字と異なる色、フォント、斜体及び太字等の文字形態等で表示するようにしてもよい。また、選択された文字の選択範囲を、表示装置36の画面上で反転表示等させなくても良い。
 また、実施形態において記載した手法、すなわちフローチャートに示す処理等の各手法は、コンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フレキシブルディスク、ハードディスク等)、光ディスク(CD-ROM、DVD等)、半導体メモリ等の記憶媒体に格納して配布することができる。そして、コンピュータは、外部記憶媒体に記憶されたプログラムを読み込み、このプログラムによって動作が制御されることにより、実施形態において説明した機能と同様の処理を実現することができる。
 また、各手法を実現するためのプログラムのデータは、プログラムコードの形態としてネットワーク(インターネット)上を伝送させることができ、このネットワークに接続されたコンピュータからプログラムデータを取り込み、前述した実施形態と同様の機能を実現することもできる。
 なお、本願発明は、実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件から幾つかの構成要件が削除されたり、幾つかの構成要件が組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。
 本発明は、数式編集方法に関するものであり、産業上の利用可能性を有する。
 1…サーバ
 2…ネットワーク
 3…情報処理装置
 31…プロセッサ
 32…メモリ
 33…記憶装置
 34…入力装置
 36…表示装置
 37…通信装置
 38…バス
 10…システム
 310…制御部
 311…判別部
 312…特定部
 313…選択範囲設定部
 314…処理部
 315…表示処理部
 316…優先設定部
 361…データ表示部
 362…データ入力部
 363…数式入力部。

 

Claims (8)

  1.  数式編集装置が実行する数式編集方法であって、
     操作者の選択操作に基づき、所定の数式から複写対象範囲を特定し、
     前記複写対象範囲から演算子が特定された場合には、前記複写対象範囲を含む数式に入力される新たな文字の入力位置を、前記特定された演算子に基づき決定し、
     決定された入力位置をカーソルの表示位置に設定する
    ことを特徴とする数式編集方法。
  2.  前記特定された演算子が特殊演算子の場合、前記新たな文字の入力位置として前記特殊演算子の被演算子の位置を決定する
    ことを特徴とする請求項1記載の数式編集方法。
  3.  前記特定された演算子が特殊演算子であり、更に、前記特殊演算子の後に数式を抽出した場合、前記新たな文字の入力位置として前記特殊演算子と数式の後の位置を決定する
    ことを特徴とする請求項1記載の数式編集方法。
  4.  前記特定された演算子が特殊演算子であり、更に、前記特殊演算子に用いるパラメータを抽出した場合、前記新たな文字の入力位置として前記パラメータの位置を決定する
    ことを特徴とする請求項1記載の数式編集方法。
  5.  前記特定された演算子が特殊演算子であり、更に、前記特殊演算子の後に数式を、且つ、前記特殊演算子に用いるパラメータを夫々抽出した場合、予め設定された優先度に基づいて、前記新たな文字の入力位置として、前記特殊演算子と数式の後の位置、または、前記パラメータの位置を決定する
    ことを特徴とする請求項1記載の数式編集方法。
  6.  前記特定された演算子が特殊演算子とは異なる所定の演算子である場合、前記新たな文字の入力位置として前記演算子の直前の位置を決定する
    ことを特徴とする請求項1記載の数式編集方法。
  7.  少なくとも一つの制御部を備える数式編集装置であって、
     前記制御部は、
     操作者の選択操作に基づき、所定の数式から複写対象範囲を特定し、
     前記複写対象範囲から演算子が特定された場合には、前記複写対象範囲を含む数式に入力される新たな文字の入力位置を、前記特定された演算子に基づき決定し、
     決定された入力位置をカーソルの表示位置に設定する
    ことを特徴とする数式編集装置。
  8.  数式編集装置のコンピュータを、
     数式編集装置が実行する数式編集方法であって、
     操作者の選択操作に基づき、所定の数式から複写対象範囲を特定する特定手段、
     前記複写対象範囲から演算子が特定された場合には、前記複写対象範囲を含む数式に入力される新たな文字の入力位置を、前記特定手段によって特定された演算子に基づき決定する決定手段、
     前記決定手段によって決定された入力位置をカーソルの表示位置に設定する設定手段、
    として機能させるためのプログラム。

     
PCT/JP2022/031089 2021-09-22 2022-08-17 数式編集方法、数式編集装置及び数式編集プログラム WO2023047846A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021-154461 2021-09-22
JP2021154461A JP2023045857A (ja) 2021-09-22 2021-09-22 数式編集方法、数式編集装置及び数式編集プログラム

Publications (1)

Publication Number Publication Date
WO2023047846A1 true WO2023047846A1 (ja) 2023-03-30

Family

ID=85719428

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/031089 WO2023047846A1 (ja) 2021-09-22 2022-08-17 数式編集方法、数式編集装置及び数式編集プログラム

Country Status (2)

Country Link
JP (1) JP2023045857A (ja)
WO (1) WO2023047846A1 (ja)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06274333A (ja) * 1993-03-22 1994-09-30 Hitachi Ltd プログラムの入力支援方法および編集支援方法
JP2011175400A (ja) 2010-02-24 2011-09-08 Casio Computer Co Ltd 数式入力装置及びプログラム
US20140282158A1 (en) * 2013-03-15 2014-09-18 Wolfram Research, Inc. Positioning Pads for Moving a Position of Interest on a Display
JP2015060459A (ja) * 2013-09-19 2015-03-30 カシオ計算機株式会社 数式表示制御装置およびプログラム
JP2015184694A (ja) * 2014-03-20 2015-10-22 カシオ計算機株式会社 数式表示制御装置、数式表示制御方法、数式表示制御プログラム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06274333A (ja) * 1993-03-22 1994-09-30 Hitachi Ltd プログラムの入力支援方法および編集支援方法
JP2011175400A (ja) 2010-02-24 2011-09-08 Casio Computer Co Ltd 数式入力装置及びプログラム
US20140282158A1 (en) * 2013-03-15 2014-09-18 Wolfram Research, Inc. Positioning Pads for Moving a Position of Interest on a Display
JP2015060459A (ja) * 2013-09-19 2015-03-30 カシオ計算機株式会社 数式表示制御装置およびプログラム
JP2015184694A (ja) * 2014-03-20 2015-10-22 カシオ計算機株式会社 数式表示制御装置、数式表示制御方法、数式表示制御プログラム

Also Published As

Publication number Publication date
JP2023045857A (ja) 2023-04-03

Similar Documents

Publication Publication Date Title
JP4303311B2 (ja) 操作支援コンピュータプログラム、操作支援コンピュータシステム
JP4888502B2 (ja) グラフ表示制御装置およびプログラム
TWI534694B (zh) 用於管理沉浸式環境的電腦實施方法及運算裝置
JP6171635B2 (ja) 編集処理装置及び編集処理プログラム
JP2005092888A (ja) ユーザインターフェースのために受動的ルックアヘッドを供給するための方法と装置
CN109558188B (zh) 显示控制方法、控制方法和存储介质
US10908764B2 (en) Inter-context coordination to facilitate synchronized presentation of image content
EP3121691B1 (en) Method and terminal for inputting text
JP6330348B2 (ja) 情報処理装置
WO2023047846A1 (ja) 数式編集方法、数式編集装置及び数式編集プログラム
JP7287417B2 (ja) 情報処理方法、システム、情報処理装置及びプログラム
JP5882973B2 (ja) 情報処理装置、方法及びプログラム
JP5747688B2 (ja) 計算装置およびプログラム
US20220197501A1 (en) Information processing apparatus and non-transitory computer readable medium storing information processing program
JP2007188289A (ja) マルチタスク処理端末装置
JP2017211903A (ja) 表示装置及び表示方法
WO2022059349A1 (ja) 情報処理方法、システム、情報処理装置及びプログラム
JP6188405B2 (ja) 表示制御装置、表示制御方法、及びプログラム
JP2015176270A (ja) コンピュータの操作方法およびコンピュータ
JP4325591B2 (ja) グラフ表示装置およびグラフ表示処理プログラム
US11216162B2 (en) Information processing device, information processing method, and recording medium storing program
JP2007114935A (ja) Gui/cui協動システム及びその方法並びにそのプログラム
JP2018200385A (ja) コンテンツ表示装置及びその制御方法、並びにプログラム
JP6419270B2 (ja) 表示制御装置、表示制御方法、及びプログラム
JP2007328569A (ja) 入力支援プログラム及び該プログラムを搭載した制御・データ処理装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22872602

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022872602

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022872602

Country of ref document: EP

Effective date: 20240422