Skip to content
Code Utility
  • Home
  • Donate
  • About
  • Codes
    • Ada
    • Agency Insight
    • AMPL
    • Android
    • Apple
    • Arduino
    • ASP
    • AWK
    • Bash
    • C
    • C#
    • C++
    • Clojure
    • Codes
    • ColdFusion
    • D
    • Dart
    • Erlang
    • F#
    • Falcon
    • Forth
    • Groovy
    • Haskell
    • INTERCAL
    • iOS
    • JavaScript
    • Kotlin
    • Linux
    • Lua
    • MATLAB
    • Modula-3
    • MySQL
    • Objective-C
    • Perl
    • Python
    • Scala
    • Sh
    • Smalltalk-80
    • Tcl
    • Windows
    • YACC
  • Linux
  • Python
  • Windows
  • Support
  • Web Stories

Codes

Alignment of equations that contain Feynman diagrams

Use gathered: documentclass{article} usepackage{amsmath} usepackage{feynmp-auto} % or feynmf begin{document} begin{fmffile}{test} begin{equation} begin{gathered} begin{fmfgraph*}(65,50) fmfleft{i1,i2} fmfright{o1,o2} fmf{plain}{i1,v,o1} fmf{plain}{i2,v,o2} end{fmfgraph*} end{gathered}=-ilambda end{equation} …

Read more

Categories Codes Tags Equations, Feynmf, vertical-alignment

Alignment of custom item symbol in beamer

Dirty hack: documentclass{beamer} begin{document} begin{frame} begin{itemize} item a item a item[$Rightarrow$hskip-0.15cm] a end{itemize} end{frame} end{document} Not so hacky: documentclass{beamer} usepackage{calc} …

Read more

Categories Codes Tags Beamer, Itemize, vertical-alignment

Alignment of chemical equations

Wouldn’t it be easier to use a chemistry package like mhchem (together with the already proposed amsmath) instead of tensor? …

Read more

Categories Codes Tags Chemistry, Equations, Horizontal Alignment

Alignment (left, center, right) in a complex table

Most of your problems came from shortstack, which was placing the baseline at the bottom. I replaced it with parbox, …

Read more

Categories Codes Tags alignment, Multicolumn, Multirow, Tables, vertical-alignment

Alignment in multicolum

If a multicolumn is wider than the columns it spans, all the extra width goes in the last column, so …

Read more

Categories Codes Tags Horizontal Alignment, Multicolumn, Tables

Alignment in cases

Referencing my chat message from 2013-04-05, here is the definition of the cases environment that accepts one optional argument, the …

Read more

Categories Codes Tags Cases, Horizontal Alignment

Alignment: “Breaking out” of environment (enumerate / minipage)

You can put the text in box of fixed size hidden in a box of zero width. Here I have …

Read more

Categories Codes Tags enumerate, environments, Horizontal Alignment

Alignment between material inside and outside a cases environment

Werner beat me by 56 seconds but an alternative scheme is documentclass{article} usepackage{mathtools} begin{document} begin{align*} d_i(g_n,ldots,g_0) &= begin{cases} (d_0g_ng_{n-1},g_{n-2},ldots,g_0),& text{if …

Read more

Categories Codes Tags Align, Cases, Horizontal Alignment

alignment and groups in LaTeX: how to explain the behavior?

the initial markup is incorrect (but not flagged as an error by latex) raggedright and raggedleft should be used before …

Read more

Categories Codes Tags grouping, Horizontal Alignment, paragraphs

Alignment across nested aligned environments

The solution to the question pointed out by Barbara Beeton is close to the right idea. In fact, you could …

Read more

Categories Codes Tags Align, amsmath, Math Mode, Nesting
Post navigation
Older posts
Newer posts
← Previous Page1 … Page29,297 Page29,298 Page29,299 … Page30,940 Next →

More Answers

  • ruby – Rails db:setup aborted because wrong number of argument – Code Utility
  • javascript – WebStorm Run JS File with Stdin argument – Code Utility
  • Page not found – Code Utility
  • sql – Postgres trigger refreshing a materialized view not working after some time – Code Utility
  • ssl – Where does the dtls domain args in webrtc come from? – Code Utility
  • Azure Storage Account cannot create new or delete directory – Code Utility
  • java – new data source and connection pool are not displayed in the JDBC resources and Connection pool – Code Utility
  • python – How to create a for loop for OneHotEncoder – Code Utility
  • asp.net core – Ocelot – Add Token to Downstream Url – Code Utility
  • Page not found – Code Utility

.net amazon-web-services android android-studio angular arrays azure c# css dart dataframe django docker excel firebase flutter git html ios java javascript jquery json kotlin laravel linux mysql node.js pandas php postgresql python python-3.x r react-native reactjs spring spring-boot sql sql-server string swift typescript vue.js windows

  • About
  • Privacy Policy
  • Terms and Conditions
  • Use of Cookies
  • Contact
  • Web Stories
© 2020 - 2021 Code Utility