Dell Released

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Sunday, August 25, 2013

Left-justified equations with left tags (so it looks like an enumeration)

Posted on 10:46 AM by Unknown
Left-justified equations with left tags (so it looks like an enumeration)



I want to make a math enivornment (preferably a customized align/flalign

environment) with left-justified/left-aligned equations (as it is possible

with the flalign environment) and left-aligned tags (instead of the

default right alignment) but with the same indent handling flalign offers

when using right-aligned equations with default right-aligned tags.

I've added a screenshot and a MWE for clarification.

I'd appreciate any help :-)



\documentclass[twoside]{scrbook}

\parindent0pt

\parskip6pt

\usepackage[ngerman]{babel}

\usepackage[utf8]{inputenc}

\usepackage[T1]{fontenc}

\usepackage{amsmath, amssymb, enumitem, color}

\newcommand{\red}{\color{red}}

\newcommand{\set}[1]{\left\lbrace #1 \right\rbrace}

\newcommand{\script}[1]{\mathcal{#1}}

\renewcommand{\complement}{\mathcal{C}}

\makeatletter

\newenvironment{lalign}{\tagsleft@true\flalign}{\endflalign}

\makeatother

\begin{document}

\textbf{Definition} \quad ($\sigma$-field)

\begin{align}

& \Omega \in \script{A} \tag{SF1}\label{SF1} \\

& A \in \script{A} \Rightarrow \complement A \in \script{A}

\tag{SF2}\label{SF2} \\

& A_1, A_2, \ldots \in \script{A} \Rightarrow \bigcup_{i=1}^\infty A_i \in

\script{A} \tag{SF3}\label{SF3}

\end{align}

\textbf{Exercise} \quad Is $\script{A}$ a $\sigma$-field?

\begin{enumerate}[label=(\roman*)]

\item $\Omega$ arbitrary, $\script{A} = \set{\emptyset, \Omega}$.

\item $\ldots$

\end{enumerate}

\textbf{Solution} \quad

\begin{enumerate}[label=(\roman*)]

\item Let $\Omega$ be arbitrary and $\script{A} = \set{\emptyset, \Omega}$.

{\red It should be like this, but just the other way round:}

\begin{flalign}

&& \Omega \in \script{A} & \tag{\ref{SF1}} \\

&& \emptyset \in \script{A} \Rightarrow \complement \emptyset = \Omega \in

\script{A} \tag{\ref{SF2}} \\

&& \Omega \in \script{A} \Rightarrow \complement \Omega = \emptyset \in

\script{A} \notag \\

&& \emptyset, \Omega \in \script{A} \Rightarrow \emptyset \cup \Omega =

\Omega \in \script{A} \tag{\ref{SF3}}

\end{flalign}

{\red This happens when I set \texttt{tagsleft@true} and use

\texttt{flalign} for left-aligned equations:}

\begin{lalign}

& \Omega \in \script{A} & \tag{\ref{SF1}} \\

& \emptyset \in \script{A} \Rightarrow \complement \emptyset = \Omega \in

\script{A} \tag{\ref{SF2}} \\

& \Omega \in \script{A} \Rightarrow \complement \Omega = \emptyset \in

\script{A} \notag \\

& \emptyset, \Omega \in \script{A} \Rightarrow \emptyset \cup \Omega =

\Omega \in \script{A} \tag{\ref{SF3}}

\end{lalign}

{\red I don't want centered equations because it should look like an

enumeration:}

\begin{lalign}

& \Omega \in \script{A} \tag{\ref{SF1}} \\

& \emptyset \in \script{A} \Rightarrow \complement \emptyset = \Omega \in

\script{A} \tag{\ref{SF2}} \\

& \Omega \in \script{A} \Rightarrow \complement \Omega = \emptyset \in

\script{A} \notag \\

& \emptyset, \Omega \in \script{A} \Rightarrow \emptyset \cup \Omega =

\Omega \in \script{A} \tag{\ref{SF3}}

\end{lalign}

{\red As it should look like (dirty coded, I want the code to be

universally usable):}

\begin{lalign}

& \hspace*{1.2cm} \Omega \in \script{A} & \tag{\ref{SF1}} \\

& \hspace*{1.2cm} \emptyset \in \script{A} \Rightarrow \complement

\emptyset = \Omega \in \script{A} \tag{\ref{SF2}} \\

& \hspace*{1.2cm} \Omega \in \script{A} \Rightarrow \complement \Omega =

\emptyset \in \script{A} \notag \\

& \hspace*{1.2cm} \emptyset, \Omega \in \script{A} \Rightarrow \emptyset

\cup \Omega = \Omega \in \script{A} \tag{\ref{SF3}}

\end{lalign}

\item $\ldots$

\end{enumerate}

\end{document}
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • The Google Visualization API Query Language: Query parse error: Encountered " "," ", "" at line 1, column 24. Was expecting one of:
    The Google Visualization API Query Language: Query parse error: Encountered " "," ", "" at line 1, column 24. ...
  • fanotify unable monitor entire system for FAN_OPEN_PERM event by multi-threaded program, and to ignore directories
    fanotify unable monitor entire system for FAN_OPEN_PERM event by multi-threaded program, and to ignore directories I want to monitor whole s...
  • URL constantly results in a badbox
    URL constantly results in a badbox I am trying to insert a long url into a latex document. I'm using hyperref package to make them click...
  • How to properly provide data for ?
    How to properly provide data for ? I am serving binary data for HTML5 audio thorough .aspx page. The file can be played but there is a probl...
  • filtration on the cohomology of a complex
    filtration on the cohomology of a complex Let $K^\bullet$ be a complex and let $F_I$ and $F_{II}$ be two filtrations on it. suppose $F_I^i K...
  • Should I make multiple SQLite databases for better concurrency?
    Should I make multiple SQLite databases for better concurrency? I'm very new to SQL and relational databases (just started learning last...
  • How do I position a div on top of another div
    How do I position a div on top of another div The post on my website are set to show information regarding the post when the mouse hovers ov...
  • Udated Streak 7 Manual & Quick Start Guide With Honeycomb
    For those of you who bought the Streak 7 before the Honeycomb 3.2 update, you have in your possession an out of date Manual & Quick Star...
  • Remove/avoid adding target link to URL
    Remove/avoid adding target link to URL This one may be simple for the jQuery/JavaScript gurus here, but I just can't find a solution for...
  • Cannot connect to SQL Server 2012
    Cannot connect to SQL Server 2012 I'm trying to connect to a SQL Server 2012 database using C#, both the server and program are on the s...

Categories

  • Games
  • News
  • Streak 5
  • Streak 7
  • Tips

Blog Archive

  • ▼  2013 (124)
    • ▼  August (124)
      • Should I make multiple SQLite databases for better...
      • Difference between Nil and nil and Null in Objecti...
      • Cannot connect to SQL Server 2012
      • Android - error opening file just created
      • PHP SimpleXML doesn't output anything
      • Memory leak (igraph, watts.strogatz.game, get.all....
      • How do I position a div on top of another div
      • Updating foreign key references on the DbContext C...
      • Convert string to DateTime and format
      • call function on click outside of a particular div
      • OperationalError when inserting into sqlite 3 in P...
      • Trying to print a string character by character wi...
      • I need to make my JPanel resize dynamically as new...
      • How to retrieve images from cache memory?
      • how to add jscrollpane to jframe?
      • Query on how to Select Date before the latest Date...
      • Does archive size of tar, zip and rar effect the t...
      • How do I make a DOM object follow a circular path ...
      • how to use for loop for my issue
      • AngularJS - Pass variable from a controller & upda...
      • Windows 2012: how to make power button work in eve...
      • IN OBOUT grid, how to move from first grid to anot...
      • Am I using the form action correctly?
      • Increasing the font size of a webview conflict wit...
      • quicktags "link" button doesn't work, but all othe...
      • Cannot access local variables using systemtap
      • Remove/avoid adding target link to URL
      • Left-justified equations with left tags (so it loo...
      • [ Marriage & Divorce ] Open Question : My boyfrien...
      • livetv2pc)))WaTch (Rugby) Australia vs New Zealand...
      • The Google Visualization API Query Language: Query...
      • iOS 7 phone-number link doesn't work when webpage ...
      • Cross-browser textarea maxlength
      • candied mints storage and transporting long distance
      • how to convert objectHTML into html
      • Mellin transform definition
      • Multiple Google Calendars with one Google Cal ID
      • Dell PowerEdge 2950 PCIe Training Error -- No PCIe...
      • Reset Disk - Windows Storage Server 2012
      • Windows Phone 8 - Keeping background location trac...
      • Django forms design suggestiom
      • Magento Upgrade, getting error with tier prices fr...
      • Bouncing between "Adapter is detached" and "No wra...
      • How to create overlapping - not stacking - shapes ...
      • Enclosing capsules around list based arrays [on hold]
      • Identifying Switch case argument (Perl)
      • asp.net ModalPopupExtender not behaving properly
      • fanotify unable monitor entire system for FAN_OPEN...
      • Jquery UI datepicker inline "onclick" handler caus...
      • URL constantly results in a badbox
      • Split values over multiple rows with different del...
      • How to aggregate data without group by
      • Angular $scope.$watch on (for in... ) don't work
      • Using Modernizr to test browser support for css ca...
      • Content overlapping in navigation menu?
      • cls file - multiple files
      • Differences between "fortification nouns"
      • filtration on the cohomology of a complex
      • Problems with every aspect of facebook that involv...
      • Extract data from last line in a text file using PHP
      • How to properly provide data for ?
      • ConditionalPanel doesn't support variables with do...
      • Frequent out of memory issues
      • Undefine reference for libraries, so How could I f...
      • radio buttons checked with jquery not holding prop...
      • How to modify bash command to change permissions
      • header(Content-type: image/jpeg) not working
      • Removing smart quotes from an SQL server text column
      • Getting out of sync server response
      • thesis work" vs "thesis
      • php radio post wrong same value after submit
      • Several questions about trigonometry and functions
      • A div that adapts to its background
      • Why are there two different versions of the mean a...
      • Restore only some volumes from a multiOS system image
      • system of pde (solid mechanics)
      • Application or Object defined error - VBA Excel 2013
      • Deleting the last few revisions: SVN best practice
      • Choose blackberry 10 platform to use call logs, me...
      • Procedure or function usp_logout has too many argu...
      • how can i use combination of unix signals (like SI...
      • Basic Javascript Countdown Timer Taking Longer Tha...
      • WordPress Guest Author - How can I use custom fiel...
      • button to generate html delete method?
      • socket.io redis ECONNREFUSED
      • Can one http request call multiple css files?
      • .htaccess related codeigniter. why error 404 page ...
      • Undefined symbols error from static framework
      • XML Sitemap Generator for URL with 1.5 million pages?
      • How do I prevent Microsoft DNS from reporting vers...
      • Solve the equation for x, y and z: $\sqrt{x-y+z}=\...
      • A basic doubt on linear dependence of vectors
      • mysql charsets, can I perform the conversion in py...
      • Mirrors Edge video settings are locked
      • Receiving null messages on android, how to fix it?
      • changing an onEdit function to run onOpen
      • Handle Multiple Form tag in asp.net page?
      • Getting click event on parent page of button in frame
      • Fix column width with tabularx
      • best software to use to make a website
  • ►  2012 (6)
    • ►  February (2)
    • ►  January (4)
  • ►  2011 (10)
    • ►  December (1)
    • ►  November (2)
    • ►  October (7)
Powered by Blogger.

About Me

Unknown
View my complete profile