LaTeX users online
In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm
Users browsing this forum: No registered users and 5 guests
LaTeX blog world
Index II: Stildatei und Layout (Tobi)Index I: Anlegen und Verarbeiten (Tobi)
How to Ask for LaTeX-related Help Effectively (Lian Tze)
Speaker Meeting 2016 (Joseph)
LaTeX and music (Clemens)
Adding references from an external file (Tom)
Exporting from LyX to MS Word and LibreOffice (Stefan)
Booklets erzeugen (Tobi)
AltaCV, yet another LaTeX CV/Résumé class (Lian Tze)
TeXdoc.net updated (Stefan)
TUG 2016 reports (Norbert)
TUG 2016 in Toronto - Arriving and first excursion (Stefan)
Define new macros for logical markup (Tobi)
Finding typefaces (fonts) (Tobi)
Order of float placement parameters (Tobi)
Changes and News (Clemens)
What's new in chemmacros v5.6? (Clemens)
Writing Pseudo-code in LatexLaTeX Forum: Math & ScienceAdd tags
5 posts
• Page 1 of 1
Hi there!
I am just a beginner on writing pseudo-code in latex. I need to write a pseudo-code (probably using algorithm and/or algorithmic packages) in latex, but could not get what I want. I hereby attached the pseudo-code that I want to write. Would you help me do that please? Thank you and best regards!
Hi,
what's the problem? What did you get? Stefan LaTeX Community Administrator
Hi Stefan_K and thanks for your message.
The problem is I want to write the pseudo-code (developed by C++ language) mentioned above.But I don't known how to type "{" or "}" on the lines 2, 8 and 10 of the algorithm. Using algorithm and algorithmic packages, on the line 4 of the algorithm "for" is coming with "do". So, is there a specific package to solve this problem ? P.S: This Algorithm is developed bu C++ language /. nenu
It would be easier if you would show sample code besides the description. Btw. { and } need often t be written \{ and \} because { and } are special characters in LaTeX.
Stefan LaTeX Community Administrator
Hey Stephan,
I tried to manage to make the above algorithm by using both algorithm and algorithmic packages, but i got a problem with " line numbers " (See the code tex).
On the line 12, I don't want the number "12" appears. What should I do ? is there some technique to solve this ? regards, P.S: I just want to make this algorithm as shown the above attached pdf file nenu
5 posts
• Page 1 of 1
LaTeX users onlineUsers browsing this forum: No registered users and 5 guests |