@@ -34,7 +34,7 @@ def __init__(self, font="Lat15-TerminusBold24x12"):
3434
3535 Parameter:
3636
37- - `font` (string): Font name, as found in `/usr/share/consolefonts/`
37+ - `` font`` (string): Font name, as found in `` /usr/share/consolefonts/` `
3838
3939 """
4040 self._font = None
@@ -94,38 +94,38 @@ def cursor(self, value):
9494
9595 def text_at(self, text, column=1, row=1, reset_console=False, inverse=False, alignment="L"):
9696 """
97- Display `text` (string) at grid position (`column`, `row`).
97+ Display `` text`` (string) at grid position (`` column`` , `` row` `).
9898 Note that the grid locations are 1-based (not 0-based).
9999
100100 Depending on the font, the number of columns and rows supported by the EV3 LCD console
101101 can vary. Large fonts support as few as 11 columns and 4 rows, while small fonts support
102102 44 columns and 21 rows. The default font for the Console() class results in a grid that
103103 is 14 columns and 5 rows.
104104
105- Using the `inverse=True` parameter will display the `text` with more emphasis and contrast,
105+ Using the `` inverse=True`` parameter will display the `` text` ` with more emphasis and contrast,
106106 as the background of the text will be black, and the foreground is white. Using inverse
107107 can help in certain situations, such as to indicate when a color sensor senses
108108 black, or the gyro sensor is pointing to zero.
109109
110- Use the `alignment` parameter to enable the function to align the `text` differently to the
111- column/row values passed-in. Use `L ` for left-alignment (default), where the first character
112- in the `text` will show at the column/row position. Use `R ` for right-alignment, where the
113- last character will show at the column/row position. Use `C ` for center-alignment, where the
110+ Use the `` alignment`` parameter to enable the function to align the `` text` ` differently to the
111+ column/row values passed-in. Use ``L` ` for left-alignment (default), where the first character
112+ in the `` text`` will show at the column/row position. Use ``R` ` for right-alignment, where the
113+ last character will show at the column/row position. Use ``C` ` for center-alignment, where the
114114 text string will centered at the column/row position (as close as possible using integer
115115 division--odd-length text string will center better than even-length).
116116
117117 Parameters:
118118
119- - `text` (string): Text to display
120- - `column` (int): LCD column position to start the text (1 = left column);
119+ - `` text` ` (string): Text to display
120+ - `` column` ` (int): LCD column position to start the text (1 = left column);
121121 text will wrap when it reaches the right edge
122- - `row` (int): LCD row position to start the text (1 = top row)
123- - `reset_console` (bool): ``True`` to reset the EV3 LCD console before showing
122+ - `` row` ` (int): LCD row position to start the text (1 = top row)
123+ - `` reset_console` ` (bool): ``True`` to reset the EV3 LCD console before showing
124124 the text; default is ``False``
125- - `inverse` (bool): ``True`` for white on black, otherwise black on white;
125+ - `` inverse` ` (bool): ``True`` for white on black, otherwise black on white;
126126 default is ``False``
127- - `alignment` (string): Align the `text` horizontally. Use `L ` for left-alignment (default),
128- `R` for right-alignment, or `C ` for center-alignment
127+ - `` alignment`` (string): Align the `` text`` horizontally. Use ``L` ` for left-alignment (default),
128+ ``R`` for right-alignment, or ``C` ` for center-alignment
129129
130130 """
131131
@@ -149,8 +149,8 @@ def set_font(self, font="Lat15-TerminusBold24x12", reset_console=True):
149149
150150 Parameters:
151151
152- - `font` (string): Font name, as found in `/usr/share/consolefonts/`
153- - `reset_console` (bool): ``True`` to reset the EV3 LCD console
152+ - `` font`` (string): Font name, as found in `` /usr/share/consolefonts/` `
153+ - `` reset_console` ` (bool): ``True`` to reset the EV3 LCD console
154154 after the font change; default is ``True``
155155
156156 """
@@ -166,13 +166,13 @@ def set_font(self, font="Lat15-TerminusBold24x12", reset_console=True):
166166
167167 def clear_to_eol(self, column=None, row=None):
168168 """
169- Clear to the end of line from the `column` and `row` position
169+ Clear to the end of line from the `` column`` and `` row` ` position
170170 on the EV3 LCD console. Default to current cursor position.
171171
172172 Parameters:
173173
174- - `column` (int): LCD column position to move to before clearing
175- - `row` (int): LCD row position to move to before clearing
174+ - `` column` ` (int): LCD column position to move to before clearing
175+ - `` row` ` (int): LCD row position to move to before clearing
176176
177177 """
178178 if column is not None and row is not None:
0 commit comments