Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A special character for horizontal and vertical centering text on a slide #3

Closed
visit1985 opened this issue Sep 16, 2014 · 3 comments
Closed

Comments

@visit1985
Copy link
Owner

This may be a good idea to avoid endless formating sessions.

@SikhNerd
Copy link

Several formatters use -> Text to be centered <- which I am fairly partial to. I think this would be a necessary feature.

@orclev
Copy link

orclev commented Oct 3, 2014

That provides horizontal centering but it would be nice to support vertical centering as well, unless you dictate that horizontally centered content must also be vertically centered. Admittedly trying to mix vertically centered content with non-vertically centered content could cause layout problems, so it might be best to just abandon the concept of vertically centering anything, or else put a limitation that when using centering no other non-centered content can appear on that slide.

@visit1985
Copy link
Owner Author

@orclev I think I'll not implement vertical centering, as it conflicts with automatic line wrapping (#15). Content is printed line by line, and we don't know the actual line count until all lines are printed. So we can not easily calculate how many lines should be skipped at the top.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants