How can I keep left- and right-aligned paragraphs together on the same line?

I am currently trying to typeset a menu. Basically, I want the Dish Title to be left-aligned and the Price right-aligned — but on the same line. I can achieve the effect by typing in a shift+tab after the Dish Title text and then inserting the price, but I would rather have two distinct paragraphs styles, so that I can adjust them globally to see what looks good. I can achieve the effect by adjusting the Price character baseline of the price and moving it up, but then if I need to make any price changes, I find it a pain trying to get the cursor in the right place in situations where a baseline is substantially altered.
Back in the old days (in Ventura!!), I could just remove the line break after the "Dish Title" style and the "Price" would move up to the same line, but I can't seem to be able to do this in CS6.
Any ideas?

Please show some examples. It's easier to help you.
If I understand right, use a paragraph style with a right aligned tab and nested styles and grep styles. That's extremly flexible.
Have fun

Similar Messages

  • How can I write left and right in the same line of a richtextbox?

    I want to write, in the same line, text with a right aligment and other with left aligment. How can I do it?
    thanks

    I want to write, in the same line, text with a right aligment and other with left aligment. How can I do it?
    thanks
    As
    Viorel_ says "Perhaps there are other much easier solutions. For example, create two
    RichTextBoxes with no borders (if you only need two columns of text)" but the real issue would be saving the info in the RichTextBox's (RTB's) RTF or Text to two different RTF or TextFiles. Although I suppose if it was just going to
    a TextFile then you could somehow use a delimited text file so each same line number of each RTB is appended to the same line and delimited. That way you could probably load a split array with each line from the text file splitting on the delimeter per line
    and providing RTB1 with index 0 of the split array and RTB2 with index 1 of the split array. I'm not going to try that.
    This is some leftover code from a long time ago. It has three RTB's. RTB1 is there I suppose because the thread asking for this code wanted it. RTB2 is borderless as well as RTB3. The Aqua control in the top image below is the Panel used to cover RTB2's
    scrollbar. So RTB3's scrollbar is used to scroll both controls.
    I forgot to test if I typed past the scroll position in RTB2 if both would scroll as maybe RTB3 would not since it would not have anything to scroll to I suppose.
    Maybe this code can help or maybe not. The bottom two images are the app running and displaying nothing scrolled in RTB2 and RTB3 then the scroll used in the bottom image.
    Disregard the commented out code in the code below. It was there so I left it there. I suppose you should delete it. Also I didn't set the RTB's so one was left aligned and the other right aligned. I believe the Panel becomes a control in RTB2's controls
    when it is moved to cover RTB2's vertical scrollbar but don't remember although that seems the case since both RTB2 and RTB3 are brought to front so if the Panel was not one of RTB2's controls I would think it would be behind RTB2 and RTB2's vertical scrollbar
    would display but don't remember now. In fact I don't really remember how that part works. :)
    Option Strict On
    Public Class Form1
    Declare Function SendMessage Lib "user32.dll" Alias "SendMessageW" (ByVal hWnd As IntPtr, ByVal msg As Integer, ByVal wParam As Integer, ByRef lParam As Point) As Integer
    Const WM_USER As Integer = &H400
    Const EM_GETSCROLLPOS As Integer = WM_USER + 221
    Const EM_SETSCROLLPOS As Integer = WM_USER + 222
    Dim FixTheProblem As New List(Of String)
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Me.CenterToScreen()
    Panel1.BackColor = Color.White
    Panel1.BorderStyle = BorderStyle.Fixed3D
    RichTextBox2.BorderStyle = BorderStyle.None
    RichTextBox2.ScrollBars = RichTextBoxScrollBars.Vertical
    RichTextBox3.BorderStyle = BorderStyle.None
    RichTextBox3.ScrollBars = RichTextBoxScrollBars.Vertical
    RichTextBox3.Size = RichTextBox2.Size
    RichTextBox3.Top = RichTextBox2.Top
    RichTextBox3.Left = RichTextBox2.Right - 20
    Panel1.Size = New Size(RichTextBox2.Width * 2 - 16, RichTextBox2.Height + 4)
    Panel1.Left = RichTextBox2.Left - 2
    Panel1.Top = RichTextBox2.Top - 2
    RichTextBox2.BringToFront()
    RichTextBox3.BringToFront()
    FixTheProblem.Add("Curry: £6.50")
    FixTheProblem.Add("Mineral Water: £4.50")
    FixTheProblem.Add("Crisp Packet: £3.60")
    FixTheProblem.Add("Sweat Tea: £2.23")
    FixTheProblem.Add("Motor Oil: £12.50")
    FixTheProblem.Add("Coca Cola: £.75")
    FixTheProblem.Add("Petrol Liter: £3.75")
    FixTheProblem.Add("Shaved Ice: £.50")
    FixTheProblem.Add("Marlboro: £2.20")
    FixTheProblem.Add("Newspaper: £.25")
    FixTheProblem.Add("Spice Pack: £.75")
    FixTheProblem.Add("Salt: £.50")
    FixTheProblem.Add("Pepper: £.30")
    For Each Item In FixTheProblem
    RichTextBox1.AppendText(Item & vbCrLf)
    Next
    RichTextBox1.SelectionStart = 0
    RichTextBox1.ScrollToCaret()
    Dim Fix As String = ""
    For Each Item In FixTheProblem
    Fix += Item.Replace(":", "^:") & vbCrLf
    Next
    Fix = Fix.Replace(vbCrLf, "^>")
    Dim FixSplit() As String = Fix.Split("^"c)
    For i = 0 To FixSplit.Count - 1
    If CBool(i Mod 2 = 0) = True Then
    RichTextBox2.AppendText(FixSplit(i).Replace(">"c, "") & vbCrLf)
    ElseIf CBool(i Mod 2 = 0) = False Then
    RichTextBox3.AppendText(FixSplit(i) & vbCrLf)
    End If
    Next
    End Sub
    Dim RTB2ScrollPoint As Point
    Private Sub RichTextBox2_Vscroll(sender As Object, e As EventArgs) Handles RichTextBox2.VScroll
    Dim RTB2ScrollPoint As Point
    SendMessage(RichTextBox2.Handle, EM_GETSCROLLPOS, 0, RTB2ScrollPoint)
    SendMessage(RichTextBox3.Handle, EM_SETSCROLLPOS, 0, New Point(RTB2ScrollPoint.X, RTB2ScrollPoint.Y))
    'Me.Text = RTB2ScrollPoint.X.ToString & " .. " & RTB2ScrollPoint.Y.ToString
    End Sub
    Private Sub RichTextBox3_Vscroll(sender As Object, e As EventArgs) Handles RichTextBox3.VScroll
    Dim RTB3ScrollPoint As Point
    SendMessage(RichTextBox3.Handle, EM_GETSCROLLPOS, 0, RTB3ScrollPoint)
    SendMessage(RichTextBox2.Handle, EM_SETSCROLLPOS, 0, New Point(RTB3ScrollPoint.X, RTB3ScrollPoint.Y))
    'SendMessage(RichTextBox2.Handle, EM_SETSCROLLPOS, 0, New Point(0, 10))
    End Sub
    End Class
    La vida loca

  • How can I separate Left and right audio channels in labview 8.5 tia sal22

    How can I separate Left and right audio channels in labview
    8.5 tia sal22
    Greetings All
    I have a working Labview vi that converts a math formula to an
    audio signal.  I would like to have the
    right and left audio channels playing different math audio signals is this
    possible?
    Example
    Right channel -> plays the audio signal created by a math
    formula
    Left channel -> plays the audio signal created by another
    math formula with adjustable phase control
    I’ve included a VI with a working audio and math formula but
    I’m not sure how to separate the left and right channels.
    I’m using labview 8.5
    I looked up a similar question on the
    support board and it said” use an instance of the the Sound Output Write that
    has a 1D waveform data type input (i.e.  Sound Output Write (DBL)). Each
    element in the array would correspond to a channel.”
    But I’m not exactly sure what he meant.  I’m using a formula to generate the wave file
    Tia sal22
    Attachments:
    fixed mathscript formula to sound test.vi ‏680 KB

    Sorry it took so long to get back.  Here's the new VI with it splitting out the left and right channels. 
    I'm using a Gigaport HD 8 output usb audio device but I'm experience clicks and pops.  I increase the buffers
    but I still get the clicks and pops.  I know gigaport HD can use ASIO drivers which most likely would solve the problem but one needs to code in C for this which I'm not proficient in.  Can someone recommend a work around to prevent this clicks and pops, can I somehow change my VI to fix this? Does anyone have a VI that will allow access to the ASIO latency properties?
    I'm using labview 8.5
    And a gigaport HD which is a USB audio device which outputs 8 analog signals (it is ASIO compatible)
    tia sal22
    Attachments:
    lvt_audio_realtime-out left right device ID test.vi ‏68 KB

  • How can I share applications and softwares with different users of the same computer?

    First question: How can I share applications and softwares with different users of the same computer?
    Second : Can I use 2 different I cloud accounts to synt 2 iphones with one computer?

    Applications installed on the admin account are available to all user accounts unless Parental Controls are enabled.
    Yes.   Separate user accounts, help here >   How to use multiple iPods, iPads, or iPhones with one computer

  • How can I combine Left and Right audio?

    Hi,
    When I record video, one lapel mic records to the left channel and the other records to the right channel in one audio track. I can't seem to figure out how to combine them within Premiere Pro (I've already attempted searching the forums for more info). I know in Sony Vegas you can right click the single audio track and select "Combine" and it will combine the 2 channels so that when people watch the end product you have both voices coming out of both speakers.
    Any help would be appreciated.
    Thanks
    Kelly G.

    Hello,
    Yes i have the same issue.
    I use the duplicate Audio track and fill left and right all the time.
    when i am doing Interview videos i usually have one person on channel 1 and the other on channel 2 and it comes out as L and R in Premiere.
    Today i was shooting with myself on Channel 2 and a shotgun for some ambient sound on channel 1.
    In Vegas or FCP 7 there is a simple effect to drag and drop called " Combine" that nicely combines the L and R channels each into stereo.
    I used to use it quite a bit and think it would be a great addition to Premiere Pro.
    So i am wondering several years since this was first post if Premiere does in fact now have this option...and where it might be that i over looked it?
    If not.....is there an easier way to do this than the fill left and right method?
    Thanks so Much!
    Mark

  • How can I keep contact list separate on 2 phones on the same iTunes account

    I have 2 iPhones and 2 iPads on the same ITunes account. How can I keep my contact list separate on each device?

    You need to go to
    Setting
    Mail,contacts,calendars
    Go to each email and unselect contacts.
    Once this is complete all the contacts you add on the devices will stay local. Downfall of this is when you get a new phone you will not be able to transfer data to new phone unless you use computer to back it up

  • How can I connect left and right RCA audio jacks to my iMac to record?

    I would like to connect my Tascam 8-track digital recorder to the iMac. The Tascam stereo output is L/R RCA jacks. Is there a chord that is Stereo L/R RCA male jacks on one end and a USB or Thunderbolt jack on the other side?
    Thanks much,
    John

    NYCteacherR wrote:
    I'm new to this this forum and new to Apple Computers. I hope you don't work for Apple as a moderator, because your attitude is sarcastic and unhelpful.
    So, I'll tell you what, don't bother responding to any of my posts in the future.
    None of us are moderators -- they seldom post anything but when they do you will know it because they have special avatars nobody else can use. As for the "unhelpful" remark, please read the "How to write a good question" info that appears on the page where you type the summary of your question. That explains the importance of including details in your summary -- without them we have no way of knowing what might be helpful & what would just waste our time & yours, or even cause you needless expense or problems with your Mac.
    Also, please be aware that even though you asked the question, in the future other users looking for similar answers may read this discussion, so by providing enough info for anyone to tell if what is discussed here is relevant to them, you can help other users too.

  • How can I keep music and audio books organized on external drive

    how can I keep music and audio books organized on external drive

    Hi RUEDIFISH,
    Thanks for visiting Apple Support Communities.
    You may find these articles helpful with moving your iTunes library to an external drive:
    iTunes for Mac: Moving your iTunes Media folder
    http://support.apple.com/kb/ht1449
    iTunes: Back up your iTunes library by copying to an external hard drive
    http://support.apple.com/kb/HT1751
    Best,
    Jeremy

  • How can i keep mine and my husbands contacts from combining when syncing phone

    How can i keep mine and my husbands contacts from combining when syncing our phones

    Don't sync each iPhone with the same supported address book app on the shared computer.
    There are a number of free email accounts that support syncing contacts over the air such as with a free iCloud account, with a Yahoo account, Gmail account, and Hotmail account.
    Do that instead with different accounts for each of you and no longer sync contacts direct with a supported address book app on your computer.

  • Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Thank you Joe - I tried this but it's only showing a teensy amount of music - the stuff on the second users account as opposed to the giagntic library on the 'main' account. I actually went to a Genius Bar and they said that apple doesn't really want you to share music between accounts - parents don't want to hear their kids music etc. Which seemed strange, but it might be the case sadly   Thanks anyway!

  • How can I change fullscreen background color, so that it is the same when viewing on mac and iPad? I want this to be able to use MathType in widget text.

    How can I change fullscreen background color, so that it is the same when viewing on mac and iPad? I want this to be able to use MathType in widget text.
    As an example, html widget has white background on iPad, and black on mac. The same goes for interactive widget.
    The MathType text inserted is inserted as a image, and will have the same color when in fullscreen as when not. So I need the textcolor to be the same in both views. Anyone know how to fix this?

    We're still not communicating. This is why I wanted an example .iba.
    Here's a re-creation of my own, going off what you described. You said "all html widgets and all gallery widgets" have this problem. So I inserted a blank HTML widget and a blank Gallery widget, and typed into both. Inserted a MathType equation into both. I don't see any difference when I preview it on my Mac compared to the preview on the iPad. I want to help, but I can't help if I can't duplicate the issue.
    I've attached the screen shots and the .iba file [link to .iba file].
    Feel free to email me directly at bobm at dessci dot com. If you're uncomfortable giving some information here, tell me anything you want in email. I work for the "MathType company", Design Science.

  • Question when I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, Peter

    Question
    when I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, Peter

    See this. <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • When I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, Peter

    Question
    When I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, Peter

    See this. <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • Someone hacked my computer and set up a new administrative account by re-registering my computer. I can not access this account nor delete it. How can I fix this and get my computer back to the way it was?

    Someone hacked my computer and set up a new administrative account by re-registering my computer. I can not access this account nor delete it. How can I fix this and get my computer back to the way it was? And also prevent this from being able to happen again. I have the link the kid used (http://www.ihackintosh.com/2009/05/how-to-hack-the-user-password-in-mac-os-x-wit hout-an-os-x-cd/) Apparently he used hack 2. HELP PLEASE!

    Not sure why you can't delete that account. If you have admin privileges, you should be able to. Sounds like you only removed the Home Folder for that account.
    You should highlight/select the account you want to remove and then click the minus button. Might need to unlock the padlock with your admin password.
    Have a look at these articles from Apple, if necessary.
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8235.html
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8162.html
    http://support.apple.com/kb/DL1399

  • I have two accounts to my computer as administrator. How can I make it so both accounts have access to the same folders and programs? grateful for answers. Martin

    I have two accounts to my computer as administrator. How can I make it so both accounts have access to the same folders and programs? grateful for answers. Martin

    Obvious question: If you want to have access to the same folders andapplications, why have two accounts? The point of different accounts is that you don't have access to the other person's data.
    Any application in the HD/Applications folder is available in all accounts.
    Sharing data between accounts depends on the material being shared. So, if you can provide more details we maybe able to help you better.
    Regards
    TD

Maybe you are looking for

  • Netflix just 'hangs' and won't even open the home page, although if i log in as a guest then I can access it.

    Netflix won't even open the home page to let me register and just hangs for ages. I have the same trouble on both safari and firefox but have updated both anyway. I'm guessing this is an 'identity' issue because if I log in as a guest on my own lapto

  • How to download the xml file with netweaver 2004s

    I am trying to find the xml file in order to link R/3 to my portal I installed Netweaver 2004s but I am not able to link to R/3 I heard that I can use another xml file from another server and download it and change the config to match the new server

  • RESTORE .. VALIDATE on LINUX

    Does anybody know if this command is meant to produce a dump file ? I have just run a command like this RESTORE ARCHIVELOG SEQUENCE 778788 THREAD 1 VALIDATE ; and it produced no log or dump file, at least in any of the usual dump directories - i was

  • Error XK02  (Country PK is not an EC member) Message no. F2141

    Dear Expert, When i chage vendor VAT Reg. No. through T code XK-02 there will be show error (Country PK is not an EC member) Message no. F2141kindly guide me. Regards Priya Sharma

  • Dynamic web content base on 9i/10g database

    dear all, i need to find sample of build dynamic web content base on 9i/10g database. i remember otn have a sample for dynamic web content. but not found in sample code at otn now. who can tell me where can find it ? best regards boris