Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L Laweb
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar

To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

  • laweb
  • Laweb
  • Wiki
  • Images

Images · Changes

Page history
Create Images authored Oct 28, 2021 by Bengt Giger's avatar Bengt Giger
Hide whitespace changes
Inline Side-by-side
Images.md 0 → 100644
View page @ f27dff43
By default, images have a width of 80% of the page column width. The aspect ratio is calculated from the size of the original image. Large images will be reduced in size, because of size limitations of images embedded directly in HTML.
The `includegraphics` macro has a standard argument `scale`. If it is set **and is not equal to 1**, *laweb* writes size information to the HTML. A `scale` factor of 1.001 is a convenient value.
This will cause the following conversion to XML to use the size information to format the image to the width given.
If you want to use the fixed size feature, it is your responsibility to scale the original image to reasonable sizes! Oversized images will probably not displayed correctly by all browsers. The standard display width in Pressbooks is about 720px, keep your size below this value.
**Note**: the size written to HTML is off by a factor of 6.89. This will be fixed during XML conversion, so don't edit the sizes manually.
\ No newline at end of file
Clone repository
  • Development
  • Images
  • LaTeX Macros Added
  • Pressbooks Template Configuration
  • Home
  • walkthrough
    • 1 Example Start
    • 2 HTML Conversion
    • 3 XML Conversion
    • 4 Import in Pressbooks