Difference between revisions of "Graphics"

From Wiki
Jump to navigation Jump to search
m (minor adjustments, nothing new)
m
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
= Basics =
 +
;[[Using Graphics|Using graphics]]: insert image, apply transformations, and advanced stuff.
 +
;[[Floating_Objects|Floating objects]]: to place and number floating objects like figures, tables, paragraphs, etc.
 +
;[[Combinations]]: adjusted images placement in rows and columns
  
; Basics
+
= Build your graphics =
:* [[Using Graphics|Using graphics]], insert image, apply transformations, and advanced stuff.
+
; [[MetaPost]]: the graphical programming language
:* [[Floating_Objects|Floating objects]]: to place and number floating objects like figures, tables, paragraphs, etc.
+
; [[MetaFun - MetaPost in ConTeXt]]: ConTeXt graphical programming language, extension of MetaPost.
:* [[Combinations]] (regular adjusted image placement)
+
; [[Sharing graphics]]: Export MetaPost drawings as PDF, import MetaPost drawings into MS Office, LibreOffice, etc.
 +
; [https://akela.mendelu.cz/~thala/statcharts/ The New (2020) graph module]: with its dedicated [https://akela.mendelu.cz/~thala/statcharts/statistical-charts.pdf manual "Drawing Statistical Charts"] and a [https://meeting.contextgarden.net/2020/talks/2020-09-11-tamara-and-adriana-statistical-charts/AK-TK_charts.pdf short presentation].
 +
; [[MPgraph|The basic graph module]]: Data plotting module, and some alternatives: [[TikZ]] (2016), [[Gnuplot]] (2012), [[Pgfplot]] (2009).
 +
; [[Flow Charts]]
 +
; [[Scaling Rotating Mirroring Clipping]]: Old Content (2010)
 +
; [[Gantt charts]]
  
; Build your graphics
+
= Layers and stacks =
:* [[MetaPost]] & [[MetaFun]]
+
; [[Layers]]: ConTeXt's mechanism for absolute positioning and advanced techniques like background / foreground, switch on / off.
:* Data plotting with [[MPgraph[the graph module]] (2016), or some alternatives: [[TikZ]] (2016), , [[Gnuplot]] (2012), [[Pgfplot]] (2009)
+
; [[Overlays]]: ConTeXt's mechanism to stack  local snippets.
:* [[Flow Charts|FlowCharts]]
 
:* [[Gantt charts]]
 
:* [[Infinite Paper]]
 
:* [[Graphical text manipulation|scale, mirror, rotate, clip]] (Old Content 2010)
 
  
=== ConTeXt tools ===
+
; [[Infinite Paper]]
  
* [[Overlays]]: ConTeXt's mechanism to stack  local snippets
+
= Specific topics and examples =
* [[Layers]]:  ConTeXt's mechanism for absolute positioning of elements and other advanced techniques like switching elements on and off.
+
 
* [[Logos]]: ConTeXt 's mechanism to mage appear logos (picture or text elements) on every page
+
* [[Including pages from PDF documents]]
 
* [[Image Database|Image database]] with XML
 
* [[Image Database|Image database]] with XML
* [[Collectors]], alternative to overlays
+
* [[Image Placement|Image size for their placement]]: if you’re using ConTeXt for complex layout tasks, you may need to calculate with image sizes.  Often it makes sense to use Lua functions.
* [[Sharing graphics]]
+
* [[Drop_shadows|Code to play with for Drop shadows]]
* [[Including pages from PDF documents]]
 
 
 
=== Tricks ===
 
 
 
* [[Image Placement]]: if you’re using ConTeXt for complex layout tasks, you may need to calculate with image sizes.  Often it makes sense to use Lua functions.
 
* [[Drop_shadows|can play with Drop shadows]]
 
 
* [[Example photo page layout]] (Old Content)
 
* [[Example photo page layout]] (Old Content)
 +
* [[Animation]], page mainly dealing with JavaScript animations.
 +
* [[Speech bubble]]
 +
* [[Even-odd rule in Metafun]]
 +
* [[variable color]], example of Metapost / Metafun syntax with  arrays of colors, strings, paths, pens and other variables.
 +
* [[Pascal's Triangle]]
 +
* [[textext positioning]]
  
 
[[Category:Graphics]]
 
[[Category:Graphics]]

Revision as of 09:26, 20 December 2020

Basics

Using graphics
insert image, apply transformations, and advanced stuff.
Floating objects
to place and number floating objects like figures, tables, paragraphs, etc.
Combinations
adjusted images placement in rows and columns

Build your graphics

MetaPost
the graphical programming language
MetaFun - MetaPost in ConTeXt
ConTeXt graphical programming language, extension of MetaPost.
Sharing graphics
Export MetaPost drawings as PDF, import MetaPost drawings into MS Office, LibreOffice, etc.
The New (2020) graph module
with its dedicated manual "Drawing Statistical Charts" and a short presentation.
The basic graph module
Data plotting module, and some alternatives: TikZ (2016), Gnuplot (2012), Pgfplot (2009).
Flow Charts
Scaling Rotating Mirroring Clipping
Old Content (2010)
Gantt charts

Layers and stacks

Layers
ConTeXt's mechanism for absolute positioning and advanced techniques like background / foreground, switch on / off.
Overlays
ConTeXt's mechanism to stack local snippets.
Infinite Paper

Specific topics and examples