• About
    • Cookie Policy
  • Code Snippets
    • Beamer (presentation)
    • Figures
    • Lists
    • Standard classes
    • Tables
  • Consulting
  • LaTeX Installation
  • Posting Questions
  • TeX/LaTeX Resources

texblog

because LaTeX matters

Tips & tricks

Structuring a report/book with \input{filename}

16. July 2007 by tom 5 Comments

When I started using LaTex, I never bothered about dividing my report into several files. I ended up scrolling down hundreds of lines every time I wanted to make a little change somewhere in the document. It was only later that I learnt how to structure the whole story into different files and therefore omit … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Introduction, LaTeX, Tips & tricks Tagged: book, input, LaTeX, report

Formatting code in LaTex (tabbing, verbatim)

11. July 2007 by tom 9 Comments

Formatting code in LaTex is as astonishingly easy, once one knows how to do it. There is a command “tabbing”, which is used in the same way as for example “centering”, except that one has to tell the computer where to set a tab. \begin{tabbing} if \= (condition) \{ \\ % inserts a tab just … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Introduction, LaTeX, Tips & tricks Tagged: code, LaTeX, tabbing, verbatim

Placing a reference on top of an arrow, equality or equivalence symbol

26. June 2007 by tom 1 Comment

The following works for any math symbol which you want to put on top of one another. The command \displaystyle_{command1}^{command2} does the job (where “command1” is what you want to place below and “command2” above). The disadvantage is it moves one symbol slightly downwards in such a way that the space between the two symbols … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: LaTeX, math, Tips & tricks Tagged: displaystyle, LaTeX, math, stackrel

Mulitple reference citation

28. May 2007 by tom 62 Comments

Recently, I was wondering how to cite multiple references at once, e.g. [1, 5, 9] or even [1-3, 6, 8]. It took me quite some time to find a solution on the web, which is one of the reasons I am posting this article here. The solution is astonishingly easy. If you want to cite … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Bibtex & biblatex, LaTeX, Tips & tricks Tagged: Bibtex & biblatex, cite, LaTeX, multiple citation
« Previous 1 … 30 31




Consulting

Need help with your thesis or book project? Let’s discuss.

Join 6,570 other subscribers
doi2bib




Top Posts & Pages

  • Control the width of table columns (tabular) in LaTeX
  • Multi-column and multi-row cells in LaTeX tables
  • Changing the font size in LaTeX
  • LaTeX documentclass options illustrated
  • Big O and related notations in LaTeX

Tags

addcontentsline array article bibliography Bibtex & biblatex book caption chapter citation cite code color definecolor description documentclass draft enumerate equation fancyhdr figure graphicx hyperref includegraphics item itemize label landscape LaTeX letter listoffigures listoftables math minipage reference renewcommand report section subfigure table tableofcontent tabular text TikZ usepackage xcolor

Copyright © 2025 texblog.

Omega Child WordPress Theme by ThemeHall